| | |
| | | var briState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Brightness); |
| | | if (briState != null) |
| | | { |
| | | sceneFunctionInfo += briState.value + "%"; |
| | | sceneFunctionInfo += " " + briState.value + "%"; |
| | | } |
| | | var perState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Percent); |
| | | if (perState != null) |
| | | { |
| | | sceneFunctionInfo += perState.value + "%"; |
| | | sceneFunctionInfo += " " + perState.value + "%"; |
| | | } |
| | | var perAngle = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Angle); |
| | | if (perAngle != null) |
| | | { |
| | | sceneFunctionInfo += " "+ perState.value + "°"; |
| | | } |
| | | |
| | | return sceneFunctionInfo; |
| | |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | } |
| | | catch (Exception ex) { |
| | | MainPage.Log("上传图片异常:" + ex.Message); |
| | | } |
| | | catch { } |
| | | } |
| | | } |
| | | } |