JSON message about relay's linkage configuration capability when the relay is closed/open
{ "OutPutModuleCap": { "id": { /*optional, int, relay ID*/ "@min": 1, "@max": 1 }, "name": { /*optional, string, relay name*/ "@min": , "@max": }, "OutPutCloseLinkage": { /*optional, event linkage information when the relay is closed*/ "linkage": { /*optional, string, event types that can be linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manual control, "zone", "sysEvent"*/ "@opt": "alarm,arming,disarming,manualCtrl,zone,sysEvent" }, "alarmMinorType": { /*optional, array, minor event type: "zoneAlarmTamper"-zone alarm and tampered event, "exDevTamper"-peripheral device tampered, "hostTamper"-control panel tampered, "emergency"-panic alarm, "medical"-medical alarm, "fire"-fire alarm, "gas"-gas event. When linkage is "alarm", one or all minor event types can be selected. The data type of elements in the array is string*/ "@opt": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"] }, "sysEventMinorType": { /*optional, array, minor type of system event: "ACOutage"-AC power outage, "lowVoltageOfBattery"-low voltage of battery, "telephoneOffLine"-telephone offline, "networkAbnormal"-wired network disconnected, "wirelessNetworkAbnormal"-wireless network disconnected, "harddiskException"-hard disk exception, "485Exception"-system keyboard exception, "mBusException"-MBUS exception, "3G4GSignalAbnormal"-3G/4G signal exception, "moduleOffline"-module offline. This node is valid when linkage contains "sysEvent"*/ "@opt": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline","hostOffline"] }, "zoneEvent": { /*optional, array, zone event type, this node is valid when linkage contains "zone". [1,3] indicates that zone 1 and zone 3 are enabled. If this node is not configured when linkage contains "zone", it indicates enabling all zones*/ "@min": 1, "@max": 2, /*optional, int, the maximum value of zone No.*/ "@size": 2 /*optional, int, the maximum number of zones that can be linked*/ }, "subSystem": { "@min": 1, "@max": 2, /*optional, int, the maximum value of partition No.*/ "@size ": 2 /*optional, int, the maximum number of partitions that can be linked*/ } }, "OutputOpenLinkage": { /*optional, event linkage information when the relay is open*/ "linkage": { /*optional, string, event types that can be linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manual control, "zone", "sysEvent"*/ "@opt": "alarm,arming,disarming,manualCtrl,zone,sysEvent" }, "alarmMinorType": { /*optional, array, minor event type: "zoneAlarmTamper"-zone alarm and tampered event, "exDevTamper"-peripheral device tampered, "hostTamper"-control panel tampered, "emergency"-panic alarm, "medical"-medical alarm, "fire"-fire alarm, "gas"-gas event. When linkage is "alarm", one or all minor event types can be selected. The data type of elements in the array is string*/ "@opt": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"] }, "sysEventMinorType": { /*optional, array, minor type of system event: "ACOutage"-AC power outage, "lowVoltageOfBattery"-low voltage of battery, "telephoneOffLine"-telephone offline, "networkAbnormal"-wired network disconnected, "wirelessNetworkAbnormal"-wireless network disconnected, "harddiskException"-hard disk exception, "485Exception"-system keyboard exception, "mBusException"-MBUS exception, "3G4GSignalAbnormal"-3G/4G signal exception, "moduleOffline"-module offline. This node is valid when linkage contains "sysEvent"*/ "@opt": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline","hostOffline"] }, "zoneEvent": { /*optional, array, zone event type, this node is valid when linkage contains "zone". [1,3] indicates that zone 1 and zone 3 are enabled. If this node is not configured when linkage contains "zone", it indicates enabling all zones*/ "@min": 1, "@max": 2, /*optional, int, the maximum value of zone No.*/ "@size": 2 /*optional, int, the maximum number of zones that can be linked*/ }, "subSystem": { "@min": 1, "@max": 2, /*optional, int, the maximum value of partition No.*/ "@size ": 2 /*optional, int, the maximum number of partitions that can be linked*/ } }, "duration":{ /*optional, int, output duration of the relay, and the range is between 5 and 600 seconds*/ "@min": 1, "@max": }, "durationConstOutputEnable":{ /*optional, boolean, whether the duration (output duration of the relay) can be configured: true-output duration cannot be configured (continuous output), false-output duration can be configured*/ "@opt":[true,false] } } }