mirror of
https://github.com/sergeyyarkov/modbus-logger.git
synced 2026-10-11 10:28:51 +03:00
progress
This commit is contained in:
parent
e2ad549ed1
commit
7779ce96e5
@ -45,7 +45,6 @@ export const appController = {
|
|||||||
`,
|
`,
|
||||||
[mb_tcp_ip, mb_tcp_port, payload.log_interval_ms],
|
[mb_tcp_ip, mb_tcp_port, payload.log_interval_ms],
|
||||||
);
|
);
|
||||||
|
|
||||||
return res.status(200).json({ message: "Config Updated." });
|
return res.status(200).json({ message: "Config Updated." });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
class="flex flex-col space-y-2"
|
class="flex flex-col space-y-2"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<label :for="$id('id')"><span class="text-red-500">*</span>Slave ID:</label>
|
<label :for="$id('id')"><span class="text-red-500">*</span>ID устройства:</label>
|
||||||
<input
|
<input
|
||||||
x-model.number="data.id"
|
x-model.number="data.id"
|
||||||
:id="$id('id')"
|
:id="$id('id')"
|
||||||
@ -305,8 +305,8 @@
|
|||||||
<!-- Remove display value -->
|
<!-- Remove display value -->
|
||||||
<button
|
<button
|
||||||
@click="$dispatch('dialog', {
|
@click="$dispatch('dialog', {
|
||||||
title: 'Remove display value',
|
title: 'Удалить отображаемое значение',
|
||||||
body: `Remove display value ${value.name}?`,
|
body: `Удалить ${value.name}?`,
|
||||||
isOpen: true,
|
isOpen: true,
|
||||||
onConfirm: async () => await removeDisplayValue(value.id)
|
onConfirm: async () => await removeDisplayValue(value.id)
|
||||||
});"
|
});"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user