JSON_OutputModuleCap

OutputModuleCap capability message in JSON format

{
  "OutputModuleCap":{
    "id":{  
/*required, range of output module No.*/
      "@min": ,
      "@max":
    }, 
    "name":{  
/*optional, range of output module name length*/
      "@min": ,
      "@max":
    },
    "related":{  
/*required, whether the output module is linked*/
      "@opt":"true,false"
    }, 
    "seq":{  
/*required, range of output module serial No. length*/
      "@min": ,
      "@max":
    }, 
    "address":{
/*optional, read-only, module address, this node is only returned by wired modules*/
      "@opt":[1,2,3]
    }, 
    "linkageAddress":{
/*optional, read-only, linked module address, this node is only returned by wireless modules*/
      "@opt":[1,2,3]
    },
    "attrib":{
/*optional, read-only, module attribute: "wired", "wireless". If this node is not returned, the default module attribute is "wireless"*/
      "@opt":["wired","wireless"]
    },
    "checkTime":{
/*optional, offline duration, unit: hour*/
      "@min": ,
      "@max":
    },
    "method":{  
/*required, methods supported by the function: "add", "put"-edit, "getAll"-get all*/
      "@opt":"add,put,getAll"
    }
  } 
}