Last Updated on : 2023-06-21 07:13:12download
Query the working conditions of an industrial device by the device code.
GET: /v1.1/iot-03/si/devices/{device_code}/working-condition
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_code | String | uri | true | The code of a specified device. |
Parameter name | Type | Description |
---|---|---|
result | WorkConditionDTO | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
time | Long | The time when it is updated. |
conditions | List | A list of working conditions. |
Description of conditions
Parameter name | Type | Description |
---|---|---|
name | String | The attribute name of a specified working condition. |
value | String | The attribute value of a specified working condition. |
GET: /v1.1/iot-03/si/devices/cnc/working-condition
{
"result": {
"time": 1638177928572,
"conditions": [
{
"name": "Processing Quantity",
"value": "0"
},
{
"name": "Total Processing Quantity",
"value": "0"
},
{
"name": "Working Status",
"value": "run"
},
{
"name": "Power-On Time",
"value": "0"
},
{
"name": "Running Time",
"value": "0"
},
{
"name": "Cutting Time",
"value": "0"
},
{
"name": "Spindle Load",
"value": "0"
},
{
"name": "Current Rotation Speed of Spindle",
"value": "0"
},
{
"name": "Spindle Magnification",
"value": "0"
},
{
"name": "Rotation Speed of Spindle",
"value": "0"
},
{
"name": "Feed Axis Load",
"value": "0"
},
{
"name": "Current Rotation Speed of Feed Axis",
"value": "0"
},
{
"name": "Feed Axis Magnification",
"value": "0"
},
{
"name": "Feed Axis Speed",
"value": "0"
}
]
},
"t": 1638200245226,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback