JLChen
2020-01-17 c1863db0158fb6c2a1cd96686d514c98c1073937
Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
@@ -62,7 +62,7 @@
                        });
                        bool canRemote = false;
                        if (CommonPage.IsRemote) {
                            await SmartHome.MqttCommon.StartCloudMqtt ();
                            //await SmartHome.MqttCommon.StartCloudMqtt ();
                            SmartHome.MqttCommon.MqttRemoteSend (new byte [] { }, 3);
                        }
                        foreach (var gatewayFileName in gateWayList) {
@@ -131,7 +131,7 @@
                            if (UserConfig.Instance.CheckHomeGateways ()) {
                                if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways[0].GatewayUniqueId)) {
                                    Shared.SimpleControl.CommonPage.IsRemote = true;
                                    await SmartHome.MqttCommon.StartCloudMqtt ();
                                    //await SmartHome.MqttCommon.StartCloudMqtt ();
                                }
                            }
                        }