{"id":"demo-device","name":"演示设备","describe":"","messageProtocol":"demo-v1","metadata":"{\"properties\":[{\"id\":\"temperature\",\"name\":\"温度\",\"dataType\":\"float\",\"valueType\":{\"min\":\"0\",\"max\":\"100\",\"step\":\"0.1\",\"unit\":\"celsiusDegrees\",\"type\":\"float\"},\"expands\":{\"readOnly\":\"true\",\"report\":\"true\"},\"description\":\"\"}],\"functions\":[],\"events\":[{\"id\":\"fire_alarm\",\"name\":\"火警报警\",\"dataType\":\"object\",\"valueType\":{\"properties\":[{\"id\":\"a_name\",\"name\":\"区域名称\",\"dataType\":\"string\",\"valueType\":{\"expands\":{\"maxLength\":\"2048\"},\"type\":\"string\"},\"description\":\"\"},{\"id\":\"b_name\",\"name\":\"建筑名称\",\"dataType\":\"string\",\"valueType\":{\"expands\":{\"maxLength\":\"2048\"},\"type\":\"string\"},\"description\":\"\"},{\"id\":\"l_name\",\"name\":\"位置名称\",\"dataType\":\"string\",\"valueType\":{\"expands\":{\"maxLength\":\"2048\"},\"type\":\"string\"},\"description\":\"\"}],\"type\":\"object\"},\"expands\":{\"level\":\"urgent\",\"eventType\":\"reportEvent\"},\"description\":\"\"}]}","transportProtocol":"MQTT","deviceType":{"text":"设备","value":"device"},"configuration":{"username":"admin","password":"admin"},"state":0,"creatorId":"admin","createTime":1579265291769,"orgId":"","_id":3,"_uid":3}