getDpPeriodTime(dpCode: string)
Requires:
@ray-js/lock-sdk≥1.0.0
Description
Get the current value of a time-range DP
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dpCode | string | Yes | DP code |
Return Value
Type: GetDpPeriodTimeResult
Start/end time structure of a time-range DP (minutes)
GetDpPeriodTimeResult
| Property | Type | Description |
|---|---|---|
start | number | Start time (minutes) |
end | number | End time (minutes) |