# iot_Setting

Id: 64C845F4-C705-4FF9-BCBD-AA3241A76515
Name: ffmpeg.args
Value:
   -y -threads {0} -rtsp_transport tcp -use_wallclock_as_timestamps 1 -stimeout 3000000 -i "{1}" -fflags +genpts -c copy -f flv "{2}"


# iot_Product

Id: E04D7A86-F924-FB45-6C8B-112384A591DC
Name: FBee网关
Number: fbee:gateway
Image: /images/gateway.svg
Path: /Gateway/
CategoryId: 6DA2C6D0-4A54-B407-0E1D-2D0C478F0CCF
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Gateway/Refresh":{"get":{"tags":["Gateway"],"summary":"查询所有网关","responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Gateway/X9d":{"get":{"tags":["Gateway"],"summary":"查询网关信息","parameters":[{"name":"number","in":"query","description":"网关Id","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Gateway/X81":{"get":{"tags":["Gateway"],"summary":"查询所有设备","parameters":[{"name":"number","in":"query","description":"网关Id","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Gateway","description":"网关"}]}


Id: 5EFAB24D-BC5D-3B4A-F444-EC360BA2F371
Name: 串口控制器
Number: serialport
Image: /images/serialport.svg
Path: /SerialPort/
CategoryId: 4DCD1B42-1E8A-7BF4-95E5-8E30103CBFF6
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/SerialPort/Send":{"get":{"tags":["SerialPort"],"summary":"发送指令","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"name","in":"query","description":"命令","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/SerialPort/Buttons":{"get":{"tags":["SerialPort"],"summary":"自定义指令","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"buttons","in":"query","description":"指令","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/SerialPort/Test":{"get":{"tags":["SerialPort"],"summary":"测试","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"port","in":"query","description":"串口","schema":{"type":"string","nullable":true}},{"name":"baud","in":"query","description":"波特率","schema":{"type":"integer","format":"int32"}},{"name":"dataBits","in":"query","description":"数据位","schema":{"type":"integer","format":"int32"}},{"name":"partity","in":"query","description":"校验位","schema":{"type":"integer","format":"int32"}},{"name":"stopBits","in":"query","description":"停止位","schema":{"type":"integer","format":"int32"}},{"name":"message","in":"query","description":"消息","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"SerialPort","description":"串口控制器"}]}


Id: 5A117ABF-F29B-7872-6B0C-CA46A3670D00
Name: 摄像头
Number: onvifcamera
Image: /images/camera.svg
Path: /Onvif/
CategoryId: 72EE2FCB-9A64-A2A7-0CC4-7A2695D5C8F5
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Onvif/ScreenShot":{"get":{"tags":["Onvif"],"summary":"截屏","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Up":{"get":{"tags":["Onvif"],"summary":"上","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Down":{"get":{"tags":["Onvif"],"summary":"下","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Left":{"get":{"tags":["Onvif"],"summary":"左","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Right":{"get":{"tags":["Onvif"],"summary":"右","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Zoomin":{"get":{"tags":["Onvif"],"summary":"大","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Zoomout":{"get":{"tags":["Onvif"],"summary":"小","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Stop":{"get":{"tags":["Onvif"],"summary":"停","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StartPush":{"get":{"tags":["Onvif"],"summary":"开始推流","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StopPush":{"get":{"tags":["Onvif"],"summary":"停止推流","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StartRecord":{"get":{"tags":["Onvif"],"summary":"开始录制","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StopRecord":{"get":{"tags":["Onvif"],"summary":"停止录制","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Onvif","description":"摄像头"}]}


Id: 4DA68B72-C2BD-2D52-1E07-BAA2C63D115F
Name: 调色灯
Number: fbee:0210:00
Image: /images/lamp.svg
Path: /ColorLight/
CategoryId: 5F65CA5F-6DE1-FC73-3438-40EAE017DE56
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/ColorLight/SetBrightness":{"get":{"tags":["ColorLight"],"summary":"亮度","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"brightness","in":"query","description":"亮度","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/SetColor":{"get":{"tags":["ColorLight"],"summary":"色度","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"hue","in":"query","description":"色调","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}},{"name":"saturation","in":"query","description":"饱和度","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/Change":{"get":{"tags":["ColorLight"],"summary":"色度","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"brightness","in":"query","description":"亮度","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}},{"name":"hue","in":"query","description":"色调","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}},{"name":"saturation","in":"query","description":"饱和度","schema":{"maximum":255,"minimum":0,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/On":{"get":{"tags":["ColorLight"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/Off":{"get":{"tags":["ColorLight"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"ColorLight","description":"调色灯"}]}


Id: CD3F6B54-921D-6A91-F798-F6F95A6BB164
Name: 智能插座
Number: fbee:0051:01
Image: /images/socket.svg
Path: /Socket/
CategoryId: 4DCD1B42-1E8A-7BF4-95E5-8E30103CBFF6
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Socket/On":{"get":{"tags":["Socket"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Socket/Off":{"get":{"tags":["Socket"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Socket","description":"插座"}]}


Id: 8E299CAB-F0E7-065B-DEB4-82956C3AF984
Name: 红外转发器
Number: fbee:0163:01
Image: /images/control.svg
Path: /Ir/
CategoryId: 4DCD1B42-1E8A-7BF4-95E5-8E30103CBFF6
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Ir/Send":{"get":{"tags":["Ir"],"summary":"发送指令","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"type","in":"query","description":"按键类型","schema":{"type":"integer","format":"int32"}},{"name":"code","in":"query","description":"键值","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/Study":{"get":{"tags":["Ir"],"summary":"学习","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"type","in":"query","description":"按键类型","schema":{"type":"integer","format":"int32"}},{"name":"code","in":"query","description":"键值","required":true,"schema":{"maximum":703,"minimum":603,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/Buttons":{"get":{"tags":["Ir"],"summary":"自定义指令","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}},{"name":"buttons","in":"query","description":"指令","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/MathAir1":{"get":{"tags":["Ir"],"summary":"空调匹配","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/MathAir2":{"get":{"tags":["Ir"],"summary":"电视匹配","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/MathAir3":{"get":{"tags":["Ir"],"summary":"机顶盒匹配","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Ir","description":"红外转发器"}]}


Id: DEF4B33C-CA36-BF40-A8EF-4B8731BA5697
Name: 一路开关
Number: fbee:0002:01
Image: /images/switch1.svg
Path: /Switch/
CategoryId: 5F65CA5F-6DE1-FC73-3438-40EAE017DE56
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Switch/On":{"get":{"tags":["Switch"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch/Off":{"get":{"tags":["Switch"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Switch","description":"1路开关"}]}


Id: 2649B70C-A739-CF32-F1D9-833A1BC6F605
Name: 窗帘电机
Number: fbee:0202:01
Image: /images/curtain.svg
Path: /Curtain/
CategoryId: 4DCD1B42-1E8A-7BF4-95E5-8E30103CBFF6
ApiJson:
  {"openapi":"3.0.1","info":{"title":"web api","version":"1.0"},"paths":{"/Curtain/Stop":{"get":{"tags":["Curtain"],"summary":"停","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Curtain/On":{"get":{"tags":["Curtain"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Curtain/Off":{"get":{"tags":["Curtain"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"EditApiModel":{"required":["command","method","name","path"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"path":{"type":"string"},"command":{"type":"string"},"method":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditCategoryModel":{"required":["image","name","number"],"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"image":{"type":"string","format":"uri"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":false,"nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListGroup":{"type":"object","properties":{"disabled":{"type":"boolean"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"SelectListItem":{"type":"object","properties":{"disabled":{"type":"boolean"},"group":{"$ref":"#/components/schemas/SelectListGroup"},"selected":{"type":"boolean"},"text":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"EditApiParameterModel":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"apiId":{"type":"string","format":"uuid"},"value":{"type":"string","nullable":true},"selectList":{"type":"array","items":{"$ref":"#/components/schemas/SelectListItem"},"nullable":true}},"additionalProperties":false},"EditCommandModel":{"required":["apiId","deviceId","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"apiId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"delay":{"type":"integer","format":"int32"},"queryString":{"type":"string","nullable":true},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/EditApiParameterModel"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"DisplayDataHistoryModel":{"type":"object","properties":{"deviceNumber":{"type":"string","nullable":true},"deviceName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"date":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"DeviceDataType":{"enum":[10,20,40,50,80],"type":"integer","format":"int32"},"EditDataModel":{"required":["type"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","format":"uuid","nullable":true},"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/DeviceDataType"},"unit":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"timestamp":{"type":"integer","format":"int64"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditDeviceModel":{"required":["displayName","name","number"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"displayName":{"maxLength":24,"type":"string"},"gateway":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"number":{"type":"string"},"icon":{"type":"string","nullable":true},"isOnline":{"type":"boolean"},"connectId":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditNodeModel":{"required":["categoryNumber","name","number","organName","organNumber"],"type":"object","properties":{"organName":{"maxLength":64,"type":"string"},"organNumber":{"maxLength":64,"type":"string"},"categoryName":{"maxLength":64,"type":"string","nullable":true},"categoryNumber":{"maxLength":64,"type":"string"},"name":{"maxLength":64,"type":"string"},"number":{"maxLength":64,"type":"string"},"isOnline":{"type":"boolean"},"image":{"type":"string","format":"uri","nullable":true},"version":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"hidden":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditParameterModel":{"required":["description","name","type"],"type":"object","properties":{"productId":{"type":"string","format":"uuid","nullable":true},"apiId":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"maxinum":{"type":"string","nullable":true},"minimum":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditPermissionModel":{"required":["name","number"],"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"number":{"type":"string"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditProductModel":{"type":"object","properties":{"categoryId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"image":{"type":"string","format":"uri","nullable":true},"path":{"type":"string","nullable":true},"displayOrder":{"type":"integer","format":"int32"},"apiJson":{"type":"string","format":"multiline","nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditRoleModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneModel":{"required":["image","name","nodeId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string"},"image":{"type":"string","format":"uri"},"hidden":{"type":"boolean"},"displayOrder":{"type":"integer","format":"int32"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneCommandModel":{"required":["commandId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"commandId":{"type":"string","format":"uuid"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTiggerModel":{"required":["condition","dataId","deviceId","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","format":"uuid"},"dataId":{"type":"string","format":"uuid"},"condition":{"type":"string"},"name":{"maxLength":24,"type":"string","nullable":true},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditSceneTimerModel":{"required":["cron","nodeId","sceneId"],"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"sceneId":{"type":"string","format":"uuid"},"name":{"maxLength":24,"type":"string","nullable":true},"cron":{"type":"string"},"disabled":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"EditUserModel":{"required":["userName"],"type":"object","properties":{"userName":{"maxLength":30,"minLength":5,"pattern":"^[a-zA-Z0-9]+$","type":"string"},"roles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"id":{"type":"string","format":"uuid"}},"additionalProperties":false}}},"tags":[{"name":"Curtain","description":"窗帘电机"}]}


# iot_Data

Id: C8230079-7E12-47CA-94E2-5B3EFFEB150F
Key: Buttons
Name: 指令
DeviceId: 015C60F1-0F3B-2B7E-734F-B01F68A0199F
Value:
  [{"name":"测试","portName":"/dev/ttyS0","baudRate":9600,"parity":0,"dataBits":8,"stopBits":1,"message":"0123456789ABCDEF","order":0}]


