File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
src/components/devices/algodue/carlo_gavazzi Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-algodue-counter" >
3
+ <openwb-base-alert subtype =" info" >
4
+ ModbusTCP muss aktiviert sein. Ausgelesen wird ID 1 auf Port 502.
5
+ </openwb-base-alert >
6
+ </div >
7
+ </template >
8
+
9
+ <script >
10
+ import ComponentConfigMixin from " ../../ComponentConfigMixin.vue" ;
11
+
12
+ export default {
13
+ name: " DeviceAlgodueCounter" ,
14
+ mixins: [ComponentConfigMixin],
15
+ };
16
+ </script >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-carlogavazzi" >
3
+ <openwb-base-heading > Einstellungen für Algodue</openwb-base-heading >
4
+ <openwb-base-text-input
5
+ title =" IP oder Hostname"
6
+ subtype =" host"
7
+ required
8
+ :model-value =" device.configuration.ip_address"
9
+ @update:model-value =" updateConfiguration($event, 'configuration.ip_address')"
10
+ />
11
+ <openwb-base-number-input
12
+ title =" Port"
13
+ required
14
+ :min =" 1"
15
+ :max =" 65535"
16
+ :model-value =" device.configuration.port"
17
+ @update:model-value =" updateConfiguration($event, 'configuration.port')"
18
+ />
19
+ <openwb-base-number-input
20
+ title =" Modbus ID"
21
+ required
22
+ :model-value =" device.configuration.modbus_id"
23
+ min =" 1"
24
+ max =" 255"
25
+ @update:model-value =" updateConfiguration($event, 'configuration.modbus_id')"
26
+ />
27
+ </div >
28
+ </template >
29
+
30
+ <script >
31
+ import DeviceConfigMixin from " ../../DeviceConfigMixin.vue" ;
32
+
33
+ export default {
34
+ name: " DeviceAlgodue" ,
35
+ mixins: [DeviceConfigMixin],
36
+ };
37
+ </script >
You can’t perform that action at this time.
0 commit comments