Created
August 3, 2020 01:50
-
-
Save theonetheycallneo/7575e07a306801d4890ce7c106789493 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | |
| // - XState (all XState exports) | |
| const fetchMachine = Machine({ | |
| "id": "DeviceService", | |
| "context": { | |
| "subscriptions": {} | |
| }, | |
| "initial": "active", | |
| "states": { | |
| "active": { | |
| "on": { | |
| "subscribe": { | |
| "actions": [ | |
| "createSubscription", | |
| "subscribeDevice" | |
| ] | |
| }, | |
| "unsubscribe": { | |
| "actions": [ | |
| "deleteSubscription" | |
| ] | |
| } | |
| } | |
| }, | |
| "devices": { | |
| "type": "parallel", | |
| "states": { | |
| "LT1001": { | |
| "id": "LT1001", | |
| "initial": "connected", | |
| "context": { | |
| "document": { | |
| "propertyNames": [ | |
| "LT1001.deviceType", | |
| "LT1001.deviceName", | |
| "LT1001.deviceStartRegister", | |
| "LT1001.plcName", | |
| "LT1001.plcModule", | |
| "LT1001.precisionSP", | |
| "LT1001.scaleMaxSP", | |
| "LT1001.scaleMinSP", | |
| "LT1001.hhighSP", | |
| "LT1001.highSP", | |
| "LT1001.lowSP", | |
| "LT1001.llowSP", | |
| "LT1001.lllowSP", | |
| "LT1001.hhighDelayTimerSP", | |
| "LT1001.highDelayTimerSP", | |
| "LT1001.lowDelayTimerSP", | |
| "LT1001.llowDelayTimerSP", | |
| "LT1001.lllowDelayTimerSP" | |
| ], | |
| "registerNames": [ | |
| "LT1001.deviceTypeStatus", | |
| "LT1001.deviceVersionStatus", | |
| "LT1001.scaledValueStatus", | |
| "LT1001.alarmStatus", | |
| "LT1001.hhighAlarmStatus", | |
| "LT1001.highAlarmStatus", | |
| "LT1001.lowAlarmStatus", | |
| "LT1001.llowAlarmStatus", | |
| "LT1001.lllowAlarmStatus", | |
| "LT1001.channelFaultStatus", | |
| "LT1001.precisionSP", | |
| "LT1001.scaleMinSP", | |
| "LT1001.scaleMaxSP", | |
| "LT1001.hhighSP", | |
| "LT1001.highSP", | |
| "LT1001.lowSP", | |
| "LT1001.llowSP", | |
| "LT1001.lllowSP", | |
| "LT1001.hhighDelayTimerSP", | |
| "LT1001.highDelayTimerSP", | |
| "LT1001.lowDelayTimerSP", | |
| "LT1001.llowDelayTimerSP", | |
| "LT1001.lllowDelayTimerSP" | |
| ], | |
| "_id": "5f26e70761352eb17b636082", | |
| "deviceName": "LT1001", | |
| "deviceStartRegister": "%MW9200", | |
| "deviceType": "LT", | |
| "hhighDelayTimerSP": 30, | |
| "hhighSP": 85.6, | |
| "highDelayTimerSP": 30, | |
| "highSP": 60, | |
| "lllowDelayTimerSP": null, | |
| "lllowSP": null, | |
| "llowDelayTimerSP": 30, | |
| "llowSP": 15, | |
| "lowDelayTimerSP": 30, | |
| "lowSP": 20, | |
| "plcModule": "IN", | |
| "plcName": "PLC1", | |
| "precisionSP": 10, | |
| "registerNameNeededByPropertyName": { | |
| "deviceTypeStatus": "LT1001.deviceTypeStatus", | |
| "deviceVersionStatus": "LT1001.deviceVersionStatus", | |
| "scaledValueStatus": "LT1001.scaledValueStatus", | |
| "alarmStatus": "LT1001.alarmStatus", | |
| "hhighAlarmStatus": "LT1001.hhighAlarmStatus", | |
| "highAlarmStatus": "LT1001.highAlarmStatus", | |
| "lowAlarmStatus": "LT1001.lowAlarmStatus", | |
| "llowAlarmStatus": "LT1001.llowAlarmStatus", | |
| "lllowAlarmStatus": "LT1001.lllowAlarmStatus", | |
| "channelFaultStatus": "LT1001.channelFaultStatus", | |
| "precisionSP": "LT1001.precisionSP", | |
| "scaleMinSP": "LT1001.scaleMinSP", | |
| "scaleMaxSP": "LT1001.scaleMaxSP", | |
| "hhighSP": "LT1001.hhighSP", | |
| "highSP": "LT1001.highSP", | |
| "lowSP": "LT1001.lowSP", | |
| "llowSP": "LT1001.llowSP", | |
| "lllowSP": "LT1001.lllowSP", | |
| "hhighDelayTimerSP": "LT1001.hhighDelayTimerSP", | |
| "highDelayTimerSP": "LT1001.highDelayTimerSP", | |
| "lowDelayTimerSP": "LT1001.lowDelayTimerSP", | |
| "llowDelayTimerSP": "LT1001.llowDelayTimerSP", | |
| "lllowDelayTimerSP": "LT1001.lllowDelayTimerSP" | |
| }, | |
| "scaleMaxSP": 100, | |
| "scaleMinSP": 0, | |
| "status": { | |
| "deviceTypeStatus": 0, | |
| "deviceVersionStatus": 0, | |
| "scaledValueStatus": 0, | |
| "alarmStatus": 0, | |
| "hhighAlarmStatus": 0, | |
| "highAlarmStatus": 0, | |
| "lowAlarmStatus": 0, | |
| "llowAlarmStatus": 0, | |
| "lllowAlarmStatus": 0, | |
| "channelFaultStatus": 0, | |
| "updatedAt": "2020-08-03T01:45:08.951Z", | |
| "createdAt": "2020-08-03T01:45:08.951Z", | |
| "id": null | |
| } | |
| } | |
| }, | |
| "states": { | |
| "connected": { | |
| "on": { | |
| "subscribe": { | |
| "actions": [ | |
| "subscribe" | |
| ] | |
| }, | |
| "unsubscribe": { | |
| "actions": [ | |
| "unsubscribe" | |
| ] | |
| } | |
| } | |
| }, | |
| "properties": { | |
| "type": "parallel", | |
| "states": { | |
| "LT1001.deviceType": { | |
| "id": "LT1001.deviceType", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.deviceName": { | |
| "id": "LT1001.deviceName", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.deviceStartRegister": { | |
| "id": "LT1001.deviceStartRegister", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.plcName": { | |
| "id": "LT1001.plcName", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.plcModule": { | |
| "id": "LT1001.plcModule", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.precisionSP": { | |
| "id": "LT1001.precisionSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.scaleMaxSP": { | |
| "id": "LT1001.scaleMaxSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.scaleMinSP": { | |
| "id": "LT1001.scaleMinSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.hhighSP": { | |
| "id": "LT1001.hhighSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.highSP": { | |
| "id": "LT1001.highSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lowSP": { | |
| "id": "LT1001.lowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.llowSP": { | |
| "id": "LT1001.llowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lllowSP": { | |
| "id": "LT1001.lllowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.hhighDelayTimerSP": { | |
| "id": "LT1001.hhighDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.highDelayTimerSP": { | |
| "id": "LT1001.highDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lowDelayTimerSP": { | |
| "id": "LT1001.lowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.llowDelayTimerSP": { | |
| "id": "LT1001.llowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lllowDelayTimerSP": { | |
| "id": "LT1001.lllowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "registers": { | |
| "type": "parallel", | |
| "states": { | |
| "LT1001.deviceTypeStatus": { | |
| "id": "LT1001.deviceTypeStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.deviceVersionStatus": { | |
| "id": "LT1001.deviceVersionStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.scaledValueStatus": { | |
| "id": "LT1001.scaledValueStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.alarmStatus": { | |
| "id": "LT1001.alarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.hhighAlarmStatus": { | |
| "id": "LT1001.hhighAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.highAlarmStatus": { | |
| "id": "LT1001.highAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lowAlarmStatus": { | |
| "id": "LT1001.lowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.llowAlarmStatus": { | |
| "id": "LT1001.llowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lllowAlarmStatus": { | |
| "id": "LT1001.lllowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.channelFaultStatus": { | |
| "id": "LT1001.channelFaultStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.precisionSP": { | |
| "id": "LT1001.precisionSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.scaleMinSP": { | |
| "id": "LT1001.scaleMinSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.scaleMaxSP": { | |
| "id": "LT1001.scaleMaxSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.hhighSP": { | |
| "id": "LT1001.hhighSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.highSP": { | |
| "id": "LT1001.highSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lowSP": { | |
| "id": "LT1001.lowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.llowSP": { | |
| "id": "LT1001.llowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lllowSP": { | |
| "id": "LT1001.lllowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.hhighDelayTimerSP": { | |
| "id": "LT1001.hhighDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.highDelayTimerSP": { | |
| "id": "LT1001.highDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lowDelayTimerSP": { | |
| "id": "LT1001.lowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.llowDelayTimerSP": { | |
| "id": "LT1001.llowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1001.lllowDelayTimerSP": { | |
| "id": "LT1001.lllowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002": { | |
| "id": "LT1002", | |
| "initial": "connected", | |
| "context": { | |
| "document": { | |
| "propertyNames": [ | |
| "LT1002.deviceType", | |
| "LT1002.deviceName", | |
| "LT1002.deviceStartRegister", | |
| "LT1002.plcName", | |
| "LT1002.plcModule", | |
| "LT1002.precisionSP", | |
| "LT1002.scaleMaxSP", | |
| "LT1002.scaleMinSP", | |
| "LT1002.hhighSP", | |
| "LT1002.highSP", | |
| "LT1002.lowSP", | |
| "LT1002.llowSP", | |
| "LT1002.lllowSP", | |
| "LT1002.hhighDelayTimerSP", | |
| "LT1002.highDelayTimerSP", | |
| "LT1002.lowDelayTimerSP", | |
| "LT1002.llowDelayTimerSP", | |
| "LT1002.lllowDelayTimerSP" | |
| ], | |
| "registerNames": [ | |
| "LT1002.deviceTypeStatus", | |
| "LT1002.deviceVersionStatus", | |
| "LT1002.scaledValueStatus", | |
| "LT1002.alarmStatus", | |
| "LT1002.hhighAlarmStatus", | |
| "LT1002.highAlarmStatus", | |
| "LT1002.lowAlarmStatus", | |
| "LT1002.llowAlarmStatus", | |
| "LT1002.lllowAlarmStatus", | |
| "LT1002.channelFaultStatus", | |
| "LT1002.precisionSP", | |
| "LT1002.scaleMinSP", | |
| "LT1002.scaleMaxSP", | |
| "LT1002.hhighSP", | |
| "LT1002.highSP", | |
| "LT1002.lowSP", | |
| "LT1002.llowSP", | |
| "LT1002.lllowSP", | |
| "LT1002.hhighDelayTimerSP", | |
| "LT1002.highDelayTimerSP", | |
| "LT1002.lowDelayTimerSP", | |
| "LT1002.llowDelayTimerSP", | |
| "LT1002.lllowDelayTimerSP" | |
| ], | |
| "_id": "5f26e73661352eb17b6360a0", | |
| "deviceName": "LT1002", | |
| "deviceStartRegister": "%MW9220", | |
| "deviceType": "LT", | |
| "hhighDelayTimerSP": null, | |
| "hhighSP": null, | |
| "highDelayTimerSP": 30, | |
| "highSP": 150, | |
| "lllowDelayTimerSP": 30, | |
| "lllowSP": 40, | |
| "llowDelayTimerSP": 30, | |
| "llowSP": 100, | |
| "lowDelayTimerSP": 30, | |
| "lowSP": 125, | |
| "plcModule": "IN", | |
| "plcName": "PLC2", | |
| "precisionSP": 10, | |
| "registerNameNeededByPropertyName": { | |
| "deviceTypeStatus": "LT1002.deviceTypeStatus", | |
| "deviceVersionStatus": "LT1002.deviceVersionStatus", | |
| "scaledValueStatus": "LT1002.scaledValueStatus", | |
| "alarmStatus": "LT1002.alarmStatus", | |
| "hhighAlarmStatus": "LT1002.hhighAlarmStatus", | |
| "highAlarmStatus": "LT1002.highAlarmStatus", | |
| "lowAlarmStatus": "LT1002.lowAlarmStatus", | |
| "llowAlarmStatus": "LT1002.llowAlarmStatus", | |
| "lllowAlarmStatus": "LT1002.lllowAlarmStatus", | |
| "channelFaultStatus": "LT1002.channelFaultStatus", | |
| "precisionSP": "LT1002.precisionSP", | |
| "scaleMinSP": "LT1002.scaleMinSP", | |
| "scaleMaxSP": "LT1002.scaleMaxSP", | |
| "hhighSP": "LT1002.hhighSP", | |
| "highSP": "LT1002.highSP", | |
| "lowSP": "LT1002.lowSP", | |
| "llowSP": "LT1002.llowSP", | |
| "lllowSP": "LT1002.lllowSP", | |
| "hhighDelayTimerSP": "LT1002.hhighDelayTimerSP", | |
| "highDelayTimerSP": "LT1002.highDelayTimerSP", | |
| "lowDelayTimerSP": "LT1002.lowDelayTimerSP", | |
| "llowDelayTimerSP": "LT1002.llowDelayTimerSP", | |
| "lllowDelayTimerSP": "LT1002.lllowDelayTimerSP" | |
| }, | |
| "scaleMaxSP": 254, | |
| "scaleMinSP": 0, | |
| "status": { | |
| "deviceTypeStatus": 0, | |
| "deviceVersionStatus": 0, | |
| "scaledValueStatus": 0, | |
| "alarmStatus": 0, | |
| "hhighAlarmStatus": 0, | |
| "highAlarmStatus": 0, | |
| "lowAlarmStatus": 0, | |
| "llowAlarmStatus": 0, | |
| "lllowAlarmStatus": 0, | |
| "channelFaultStatus": 0, | |
| "updatedAt": "2020-08-03T01:45:08.983Z", | |
| "createdAt": "2020-08-03T01:45:08.983Z", | |
| "id": null | |
| } | |
| } | |
| }, | |
| "states": { | |
| "connected": { | |
| "on": { | |
| "subscribe": { | |
| "actions": [ | |
| "subscribe" | |
| ] | |
| }, | |
| "unsubscribe": { | |
| "actions": [ | |
| "unsubscribe" | |
| ] | |
| } | |
| } | |
| }, | |
| "properties": { | |
| "type": "parallel", | |
| "states": { | |
| "LT1002.deviceType": { | |
| "id": "LT1002.deviceType", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.deviceName": { | |
| "id": "LT1002.deviceName", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.deviceStartRegister": { | |
| "id": "LT1002.deviceStartRegister", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.plcName": { | |
| "id": "LT1002.plcName", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.plcModule": { | |
| "id": "LT1002.plcModule", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.precisionSP": { | |
| "id": "LT1002.precisionSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.scaleMaxSP": { | |
| "id": "LT1002.scaleMaxSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.scaleMinSP": { | |
| "id": "LT1002.scaleMinSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.hhighSP": { | |
| "id": "LT1002.hhighSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.highSP": { | |
| "id": "LT1002.highSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lowSP": { | |
| "id": "LT1002.lowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.llowSP": { | |
| "id": "LT1002.llowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lllowSP": { | |
| "id": "LT1002.lllowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.hhighDelayTimerSP": { | |
| "id": "LT1002.hhighDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.highDelayTimerSP": { | |
| "id": "LT1002.highDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lowDelayTimerSP": { | |
| "id": "LT1002.lowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.llowDelayTimerSP": { | |
| "id": "LT1002.llowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lllowDelayTimerSP": { | |
| "id": "LT1002.lllowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "registers": { | |
| "type": "parallel", | |
| "states": { | |
| "LT1002.deviceTypeStatus": { | |
| "id": "LT1002.deviceTypeStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.deviceVersionStatus": { | |
| "id": "LT1002.deviceVersionStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.scaledValueStatus": { | |
| "id": "LT1002.scaledValueStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.alarmStatus": { | |
| "id": "LT1002.alarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.hhighAlarmStatus": { | |
| "id": "LT1002.hhighAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.highAlarmStatus": { | |
| "id": "LT1002.highAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lowAlarmStatus": { | |
| "id": "LT1002.lowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.llowAlarmStatus": { | |
| "id": "LT1002.llowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lllowAlarmStatus": { | |
| "id": "LT1002.lllowAlarmStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.channelFaultStatus": { | |
| "id": "LT1002.channelFaultStatus", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.precisionSP": { | |
| "id": "LT1002.precisionSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.scaleMinSP": { | |
| "id": "LT1002.scaleMinSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.scaleMaxSP": { | |
| "id": "LT1002.scaleMaxSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.hhighSP": { | |
| "id": "LT1002.hhighSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.highSP": { | |
| "id": "LT1002.highSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lowSP": { | |
| "id": "LT1002.lowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.llowSP": { | |
| "id": "LT1002.llowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lllowSP": { | |
| "id": "LT1002.lllowSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.hhighDelayTimerSP": { | |
| "id": "LT1002.hhighDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.highDelayTimerSP": { | |
| "id": "LT1002.highDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lowDelayTimerSP": { | |
| "id": "LT1002.lowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.llowDelayTimerSP": { | |
| "id": "LT1002.llowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| }, | |
| "LT1002.lllowDelayTimerSP": { | |
| "id": "LT1002.lllowDelayTimerSP", | |
| "states": { | |
| "subscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed", | |
| "unsubscribe": "unsubscribed" | |
| } | |
| }, | |
| "unsubscribed": { | |
| "on": { | |
| "read": "subscribed", | |
| "write": "subscribed" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment