DeviceStatus

设备开启状态

此枚举定义了设备的开启/关闭状态。

响应场景

状态描述
OFF0关闭
ON1开启

Entries

Link copied to clipboard

关闭。

Link copied to clipboard

开启。

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.