StripLocalTimerTransformer(uuid?: string, defaultValue?: ITimerData)
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Light strip local timer protocol converter for bidirectional conversion between timer task data and the DP hexadecimal protocol
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | No | DP identifier, defaults to 'strip_local_timer' |
| No | Default timer data returned when parsing fails |
Return Value
Type: StripLocalTimerTransformer
StripLocalTimerTransformer instance
Methods
| Method | Description |
|---|---|
| parser | Parse a DP hexadecimal string into a timer task data object |
| formatter | Format a timer task data object into a DP hexadecimal string |