JSON_OutPutsModule

JSON message about linkage configuration parameters of a single relay when the relay is closed/open

{
  "OutPutModule": {
    "name": "",    
/*optional, string, relay name*/
    "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"*/
      "alarmMinorType": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"], 
/*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*/
      "sysEventMinorType": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline"],
/*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"*/
      "zoneEvent": [1, 3], 
/*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*/
      "subSystem": [1, 2, 3] 
/*optional, array, linked partitions. When linkage is "alarm", "arming", or "disarming", one or more partitions can be configured to link. For example, [1,2,3] indicates that partition 1, partition 2, and partition 3 are 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"*/
      "alarmMinorType": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"], 
/*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*/
      "sysEventMinorType": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline"],
/*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"*/
      "zoneEvent": [1, 3], 
/*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*/
      "subSystem": [1, 2, 3] 
/*optional, array, linked partitions. When linkage is "alarm", "arming", or "disarming", one or more partitions can be configured to link. For example, [1,2,3] indicates that partition 1, partition 2, and partition 3 are linked*/
    }],
    "duration":1,    
/*optional, int, output duration of the relay, and the range is between 5 and 600 seconds*/
    "durationConstOutputEnable": true 
/*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*/
  }
}