| | |
| | | { |
| | | //sceneFunctionInfo += new cctState.value + "%" + " "; |
| | | } |
| | | |
| | | |
| | | var perAngle = status.Find((obj) => obj.key == FunctionAttributeKey.Angle); |
| | | if (perAngle != null) |
| | | { |
| | | sceneFunctionInfo += " " + perState.value + "°"; |
| | | } |
| | | return sceneFunctionInfo; |
| | | } |
| | | |
| | |
| | | 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) |