| | |
| | | { |
| | | //sceneFunctionInfo += new cctState.value + "%" + " "; |
| | | } |
| | | |
| | | |
| | | var perAngle = status.Find((obj) => obj.key == FunctionAttributeKey.Angle); |
| | | if (perAngle != null) |
| | | { |
| | | sceneFunctionInfo += " " + perState.value + "°"; |
| | | } |
| | | return sceneFunctionInfo; |
| | | } |
| | | |
| | |
| | | public int max = 0; |
| | | public int min = 0; |
| | | |
| | | /// <summary> |
| | | /// 属性的值列表 |
| | | /// </summary> |
| | | public List<string> valueList = new List<string>(); |
| | | /// <summary> |
| | | /// 属性名称显示文本 |
| | | /// 中英文显示 |
| | |
| | | case FunctionAttributeKey.FadeTime: |
| | | text = Language.StringByID(StringId.FadeSpeed); |
| | | break; |
| | | case "angle": |
| | | text = Language.StringByID(StringId.Angle); |
| | | break; |
| | | } |
| | | return text; |
| | | } |
| | |
| | | case FunctionAttributeKey.CCT: |
| | | us = "K"; |
| | | break; |
| | | case FunctionAttributeKey.Angle: |
| | | us = "°"; |
| | | break; |
| | | } |
| | | return us; |
| | | } |
| | |
| | | case FunctionAttributeKey.RoomTemp: |
| | | case FunctionAttributeKey.Brightness: |
| | | case FunctionAttributeKey.Percent: |
| | | case FunctionAttributeKey.Angle: |
| | | int outT = 0; |
| | | int.TryParse(catchString,out outT); |
| | | if (outT < 0) |