Wb-mqtt-serial templates/en: различия между версиями

Новая страница: «* '''name''' — имя канала, уникальное для устройство имя канала * '''reg_type''' — тип Modbus-регистра,…»
(Новая страница: «File:Vartype_properties_mqtt_serial.png|450px|thumb|right|the format of data representation in Modbus-registers is described in wb-mqtt-serial.schema.json (made…»)
(Новая страница: «* '''name''' — имя канала, уникальное для устройство имя канала * '''reg_type''' — тип Modbus-регистра,…»)
Строка 83: Строка 83:
* '''readonly''' — "true", если значения можно только считывать.
* '''readonly''' — "true", если значения можно только считывать.
* '''format''' — тип переменной, описывающей значение, см. рис.
* '''format''' — тип переменной, описывающей значение, см. рис.
*'''name''' — the channel name that is unique to the device
*'''reg_type''' — type of Modbus register, one of "coil", "discrete", "holding", "holding_single", "holding_multi", "input", "direct" types
*'''address''' — the address of the Modbus register associated with the channel.
*'''type''' — type of control, a virtual element for data representation in the Web-interface of the controller: "switch", "pushbutton", "range", "rgb" and others; fully listed in the scheme wb-mqtt-serial.schema.json.
*'''readonly''' — "true" if the values can only be read.
*'''format''' — '''type''' of the variable describing the value, see figure.


В простейшем случае достаточно полей "name", "reg_type", "address" и "type". Описания остальных типов параметров полностью перечислены в схеме wb-mqtt-serial.schema.json.
В простейшем случае достаточно полей "name", "reg_type", "address" и "type". Описания остальных типов параметров полностью перечислены в схеме wb-mqtt-serial.schema.json.
12 063

правки