ShineInLightData 类 |
命名空间: HslCommunication.Instrument.Light
ShineInLightData 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| ShineInLightData |
实例化一个默认的对象
| |
| ShineInLightData(Byte) |
使用指定的原始数据来获取当前的对象
|
| 名称 | 说明 | |
|---|---|---|
| Address |
控制器的地址选择位
| |
| Channel |
通道数据,01-08H的值
| |
| Color |
光源颜色信息,1:红色 2:绿色 3:蓝色 4:白色(默认)
| |
| Light |
光源的亮度信息,00-FF,值越大,亮度越大
| |
| LightDegree |
光源的亮度等级,1-3
| |
| PulseWidth |
脉冲宽度,01-14H
| |
| WorkMode |
光源的工作模式,00:延时常亮 01:通道一频闪 02:通道二频闪 03:通道一二频闪 04:普通常亮 05:关闭
|
| 名称 | 说明 | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
| GetHashCode | Serves as the default hash function. (继承自 Object。) | |
| GetSourceData |
获取原始的数据信息
| |
| GetType | Gets the Type of the current instance. (继承自 Object。) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
| ParseFrom |
从原始的信息解析光源的数据
| |
| ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |