JLChen
2020-01-15 454ac814944cf956ff02b84b70ba2ec68e5e5ea1
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 ();
                                }
                            }
                        }