| | |
| | | { |
| | | lightingView.SetViewStatus(lightTemp.state == "on"); |
| | | } |
| | | Console.WriteLine($"时间戳:{device.time_stamp} 时间:{device.GeteTime()} 烘干:{hotDryTemp.state} 风干:{windDryTemp.state} 消毒:{disinfectTemp.state} 灯光状态:{lightTemp.state}"); |
| | | //MainPage.Log($"时间戳:{device.time_stamp} 时间:{device.GeteTime()} 烘干:{hotDryTemp.state} 风干:{windDryTemp.state} 消毒:{disinfectTemp.state} 灯光状态:{lightTemp.state}"); |
| | | #endregion |
| | | |
| | | #region 修改时间 |
| | |
| | | /// </summary> |
| | | public bool Lighting = false; |
| | | |
| | | public ClothesHangerControl(string iconPath1, string iconPath2, string title, string time) |
| | | |
| | | public ClothesHangerControl(string unSelectedIconPath, string selectedIconPath, string title, string time) |
| | | { |
| | | btnIcon = new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | UnSelectedImagePath = iconPath1, |
| | | SelectedImagePath = iconPath2, |
| | | UnSelectedImagePath = unSelectedIconPath, |
| | | SelectedImagePath = selectedIconPath, |
| | | }; |
| | | this.AddChidren(btnIcon); |
| | | |