| | |
| | | { |
| | | public AddButton() |
| | | { |
| | | Tag = "Pir"; |
| | | Tag = "PirView"; |
| | | } |
| | | public void Show(Control control) |
| | | { |
| | |
| | | if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") |
| | | { |
| | | Method method = new Method(); |
| | | var mqttdate = method.MqttDate(control.sid, 20); |
| | | var mqttdate = method.MqttDate(control.sid, 25); |
| | | if (mqttdate !=null) |
| | | { |
| | | //休眠是为显示引导界面 |
| | |
| | | else |
| | | { |
| | | replication.RemView(); |
| | | new Intelligence.Automation.LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.tianjiashibai)); |
| | | new TipPopView().FlashingBox(Language.StringByID(StringId.tianjiashibai)); |
| | | |
| | | } |
| | | |