| | |
| | | case FunctionAttributeKey.CCT: |
| | | case FunctionAttributeKey.RGB: |
| | | case FunctionAttributeKey.Angle: |
| | | case FunctionAttributeKey.Colorful: |
| | | case FunctionAttributeKey.ColorfulBegin: |
| | | case FunctionAttributeKey.ColorfulEnd: |
| | | case FunctionAttributeKey.ColorfulTime: |
| | | case "security": |
| | | //case FunctionAttributeKey.FadeTime: |
| | | if (attr.curValue.ToString() == "{}") |
| | | { |
| | | if (attr.key == FunctionAttributeKey.OnOff) |
| | | if (attr.key == FunctionAttributeKey.OnOff || attr.key == FunctionAttributeKey.Colorful) |
| | | { |
| | | attr.curValue = "off"; |
| | | } |
| | |
| | | UintString = us, |
| | | key = attr.key, value = attr.curValue.ToString(), max = attr.max, min = attr.min }); |
| | | } |
| | | |
| | | break; |
| | | } |
| | | } |
| | |
| | | /// 亮度 |
| | | /// </summary> |
| | | public const string Brightness = "brightness"; |
| | | /// <summary> |
| | | /// 炫彩开关 |
| | | /// </summary> |
| | | public const string Colorful = "colorful"; |
| | | /// <summary> |
| | | /// 炫彩开启颜色 |
| | | /// </summary> |
| | | public const string ColorfulBegin = "colorful_begin"; |
| | | /// <summary> |
| | | /// 炫彩结束颜色 |
| | | /// </summary> |
| | | public const string ColorfulEnd = "colorful_end"; |
| | | /// <summary> |
| | | /// 炫彩运行时间 |
| | | /// </summary> |
| | | public const string ColorfulTime = "colorful_time"; |
| | | /// <summary> |
| | | /// 颜色 |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | public const string OtherCommon = "other.common"; |
| | | /// <summary> |
| | | /// 序列 |
| | | /// </summary> |
| | | public const string CommonSeries = "other.series"; |
| | | /// <summary> |
| | | /// 大华摄像头 |
| | | /// </summary> |
| | | public const string IpCam_Imou = "security.ipcam.imou"; |