个人项目
    个人项目
    • 用户登录
      POST
    • 设备列表
      GET
    • 变量列表
      GET
    • 历史列表
      GET

      变量列表

      开发中
      GET
      /api/DeviceVariable/DeviceVariableSelect

      请求参数

      无

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://10.23.90.101:4000/api/DeviceVariable/DeviceVariableSelect'

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      示例
      {
          "result": [
              {
                  "id": "1d117585e2b04b29b28eaba55f8cc3fe",
                  "dataType": 4,
                  "description": "",
                  "deviceAddress": "133",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "单位切换",
                  "displayName": null,
                  "protectType": 1,
                  "sort": 12,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2024-11-22 18:25:57",
                  "storageType": 0,
                  "historicalSettingsId": null,
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "28cc3f3898df4befb7010dfa1f0dbf97",
                  "dataType": 1,
                  "description": "",
                  "deviceAddress": "3",
                  "groupId": "19f384c0319e401faf5e31a155e90685",
                  "deviceId": "5e78017117004ecaa36fc46b7d7bff3f",
                  "expressions": null,
                  "method": "WriteCoil",
                  "name": "写绿灯",
                  "displayName": null,
                  "protectType": 2,
                  "sort": 0,
                  "endianType": 0,
                  "alias": null,
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-15 14:46:03",
                  "storageType": 0,
                  "historicalSettingsId": null,
                  "alarmType": 0,
                  "alarmSettingsId": null,
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "4f42cb10bd8e4f48acc50e23441630c6",
                  "dataType": 1,
                  "description": "",
                  "deviceAddress": "0",
                  "groupId": "19f384c0319e401faf5e31a155e90685",
                  "deviceId": "5e78017117004ecaa36fc46b7d7bff3f",
                  "expressions": null,
                  "method": "WriteCoil",
                  "name": "关灯",
                  "displayName": null,
                  "protectType": 2,
                  "sort": 0,
                  "endianType": 0,
                  "alias": null,
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-15 14:46:20",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": null,
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "7d2b5a92cddb45ddb14b190a503a1780",
                  "dataType": 1,
                  "description": "",
                  "deviceAddress": "1",
                  "groupId": "19f384c0319e401faf5e31a155e90685",
                  "deviceId": "5e78017117004ecaa36fc46b7d7bff3f",
                  "expressions": null,
                  "method": "WriteCoil",
                  "name": "写红灯",
                  "displayName": null,
                  "protectType": 2,
                  "sort": 0,
                  "endianType": 0,
                  "alias": null,
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-15 14:46:35",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": null,
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "a594c7e8770942f8a00babcd9bcd45aa",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "8",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "5.0um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 4,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-05-16 16:02:28",
                  "storageType": 1,
                  "historicalSettingsId": "035c3ca595414cdb85ca9d6135a219e0",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "b118458e6a684d6aa6c8944d032e2b8c",
                  "dataType": 5,
                  "description": "",
                  "deviceAddress": "50",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": null,
                  "method": "HoldingRegisters",
                  "name": "启停控制",
                  "displayName": null,
                  "protectType": 1,
                  "sort": 0,
                  "endianType": 0,
                  "alias": null,
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2024-11-22 18:25:11",
                  "storageType": 0,
                  "historicalSettingsId": null,
                  "alarmType": 0,
                  "alarmSettingsId": null,
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "b887735a870340709638929dd0de7e8d",
                  "dataType": 4,
                  "description": "",
                  "deviceAddress": "128",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "采样时间",
                  "displayName": "",
                  "protectType": 1,
                  "sort": 0,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-03-17 14:18:19",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": "",
                  "badType": 0,
                  "badSetUp": "",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": 0.00
              },
              {
                  "id": "bdd7a75bf98c4014b2adca9d3b5a7c2b",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "0",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "0.3um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 1,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-09 21:22:59",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "c6b73932ca0b49c98980a472985434c1",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "10",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "10.0um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 5,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-09 21:23:15",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "ca9ba568bb2245ac882a2489a593a62c",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "2",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "0.5um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 1,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-05-16 16:02:15",
                  "storageType": 1,
                  "historicalSettingsId": "035c3ca595414cdb85ca9d6135a219e0",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "f1d2a2c635674c8db25eb71979de7be3",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "6",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "2.5um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 3,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-09 21:23:11",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              },
              {
                  "id": "f841a200bc404cef909eb81cf060fb49",
                  "dataType": 7,
                  "description": "",
                  "deviceAddress": "4",
                  "groupId": "2791cc2071af425cb95508eb22c11f12",
                  "deviceId": "18e674b0697c4c1baccaa66bbdad4cae",
                  "expressions": "",
                  "method": "HoldingRegisters",
                  "name": "1.0um个数",
                  "displayName": null,
                  "protectType": 0,
                  "sort": 2,
                  "endianType": 0,
                  "alias": "",
                  "isUpload": true,
                  "encodingType": 0,
                  "createTime": "2025-04-09 21:23:04",
                  "storageType": 0,
                  "historicalSettingsId": "",
                  "alarmType": 0,
                  "alarmSettingsId": "",
                  "alarmMessage": null,
                  "badType": 0,
                  "badSetUp": "不处理",
                  "badProcessType": 0,
                  "badValue": "",
                  "registerType": "",
                  "state": 0,
                  "pushMin": null,
                  "pushMax": null
              }
          ],
          "code": 200,
          "message": "SUCCESS"
      }
      修改于 2025-06-17 08:49:56
      上一页
      设备列表
      下一页
      历史列表
      Built with