SmartDeviceModel.getDpState()
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Get smart device DP status
Parameters
None
Return Value
Type: DpState
Full DP state object: keys are DP codes, values are DP values, which may be boolean, number, or string
Referenced Types
type
DpStateDatapoint status object, where the key is the datapoint code and the value is the datapoint value.type
DpValueDatapoint value type, which can be boolean, number, or string.