南昌市物联网技防平台-学校版后台
zengh
2021-06-03 723946c6b272e5aa4c7ec110ff1395f6c2b23e89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
  "properties" : [ {
    "identifier" : "AlarmState",
    "name" : "报警状态",
    "functionType" : "st",
    "accessMode" : "r",
    "functionMode" : "property",
    "desc" : "",
    "dataType" : {
      "type" : "enum",
      "specs" : {
        "0" : "正常",
        "1" : "危险报警"
      }
    }
  }, {
    "identifier" : "BatteryLevel",
    "name" : "电池电量",
    "functionType" : "st",
    "accessMode" : "r",
    "functionMode" : "property",
    "desc" : "",
    "dataType" : {
      "type" : "int32",
      "specs" : {
        "min" : "0",
        "max" : "100",
        "unit" : "百分比 / %",
        "step" : "1"
      }
    }
  }, {
    "identifier" : "GeoLocation",
    "name" : "地理位置",
    "functionType" : "st",
    "accessMode" : "r",
    "functionMode" : "property",
    "desc" : "",
    "dataType" : {
      "type" : "struct",
      "specs" : [ {
        "identifier" : "Longitude",
        "name" : "经度",
        "dataType" : {
          "type" : "double",
          "specs" : {
            "min" : "-180",
            "max" : "180",
            "unit" : "度 / °",
            "step" : "0.01"
          }
        }
      }, {
        "identifier" : "Latitude",
        "name" : "纬度",
        "dataType" : {
          "type" : "double",
          "specs" : {
            "min" : "-90",
            "max" : "90",
            "unit" : "度 / °",
            "step" : "0.01"
          }
        }
      }, {
        "identifier" : "Altitude",
        "name" : "海拔",
        "dataType" : {
          "type" : "double",
          "specs" : {
            "min" : "0",
            "max" : "9999",
            "unit" : "米 / m",
            "step" : "0.01"
          }
        }
      }, {
        "identifier" : "CoordinateSystem",
        "name" : "坐标系统",
        "dataType" : {
          "type" : "enum",
          "specs" : {
            "1" : "WGS_84",
            "2" : "GCJ_02"
          }
        }
      } ]
    }
  }, {
    "identifier" : "name",
    "name" : "设备名称",
    "functionType" : "u",
    "accessMode" : "rw",
    "functionMode" : "property",
    "desc" : null,
    "dataType" : {
      "type" : "string",
      "specs" : {
        "length" : "255"
      }
    }
  }, {
    "identifier" : "networkWay",
    "name" : "联网方式",
    "functionType" : "u",
    "accessMode" : "rw",
    "functionMode" : "property",
    "desc" : null,
    "dataType" : {
      "type" : "string",
      "specs" : {
        "length" : "255"
      }
    }
  }, {
    "identifier" : "serialNumber",
    "name" : "设备序列号",
    "functionType" : "u",
    "accessMode" : "rw",
    "functionMode" : "property",
    "desc" : null,
    "dataType" : {
      "type" : "string",
      "specs" : {
        "length" : "255"
      }
    }
  }, {
    "identifier" : "type",
    "name" : "设备型号",
    "functionType" : "u",
    "accessMode" : "rw",
    "functionMode" : "property",
    "desc" : null,
    "dataType" : {
      "type" : "string",
      "specs" : {
        "length" : "255"
      }
    }
  } ],
  "events" : [ {
    "identifier" : "Error",
    "name" : "故障上报",
    "desc" : "",
    "functionMode" : "event",
    "outputData" : [ {
      "identifier" : "ErrorCode",
      "name" : "故障代码",
      "dataType" : {
        "type" : "enum",
        "specs" : {
          "0" : "无故障"
        }
      }
    } ],
    "functionType" : "st",
    "eventType" : "info"
  } ],
  "services" : [ ]
}