| | |
| | | FrameWhiteCentet1.AddChidren(btnSuctionView); |
| | | |
| | | |
| | | //int i = 0; |
| | | //btnIcon.MouseUpEventHandler = (sender, e) => { |
| | | // device.GetAttribute(FunctionAttributeKey.TargetStatus).state = i.ToString(); |
| | | // i++; |
| | | // RefreshFormStatu(); |
| | | //}; |
| | | |
| | | |
| | | |
| | |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | }; |
| | | |
| | | //回到置顶刷新 |
| | | base.SettionFinishEvent += () => { |
| | | exitLabView.Visible = device.extSet.labModel; |
| | | }; |
| | |
| | | btnSuctionView.TextID = StringId.SomeoneRunning; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | else |
| | | { |
| | | btnIcon.UnSelectedImagePath = "FunctionIcon/ArmSensor/SomeoneInBgIcon.png"; |
| | | btnIcon.IsSelected = true; |
| | | btnIcon.IsSelected = false; |
| | | btnSuctionView.TextID = StringId.SomeoneIn; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | break; |
| | | case "3": |
| | | if (device.extSet.labModel) |
| | |
| | | btnIcon.IsSelected = true; |
| | | btnIcon.IsSelected = false; |
| | | btnSuctionView.TextID = StringId.SomeoneSitting; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | else |
| | | { |
| | | btnIcon.UnSelectedImagePath = "FunctionIcon/ArmSensor/SomeoneInBgIcon.png"; |
| | | btnIcon.IsSelected = true; |
| | | btnIcon.IsSelected = false; |
| | | btnSuctionView.TextID = StringId.SomeoneIn; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | break; |
| | |
| | | btnSuctionView.TextID = StringId.SomeoneStanding; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | Console.WriteLine(btnSuctionView.Text); |
| | | else |
| | | { |
| | | btnIcon.UnSelectedImagePath = "FunctionIcon/ArmSensor/SomeoneInBgIcon.png"; |
| | | btnIcon.IsSelected = true; |
| | | btnIcon.IsSelected = false; |
| | | btnSuctionView.TextID = StringId.SomeoneIn; |
| | | btnSuctionView.IsSelected = true; |
| | | } |
| | | break; |
| | | default: |
| | | |