JLChen
2021-01-08 281f7d0b8a363a3ed4d6f83bb5fa22bb6d0340f3
Crabtree/SmartHome/UI/SimpleControl/Phone/Sensor/UserSensorAutomationSettingPage.cs
@@ -329,7 +329,7 @@
                            var conditionNameRevice = Control.ControlBytesSendHasReturn (Command.SetSensorAutomationName, autonmationDevice.SubnetID, autonmationDevice.DeviceID, sendCondtionNameBytes);
                            sensorAutomation.AutomationName = conditionName;
                        } catch (Exception ex) {
                            Console.WriteLine (ex.Message);
                            Utlis.WriteLine (ex.Message);
                        } finally {
                            Application.RunOnMainThread (() => {
                                rename (sensorAutomation.AutomationName);
@@ -725,7 +725,7 @@
                            });
                        }
                    } catch (Exception ex) {
                        Console.WriteLine (ex.Message);
                        Utlis.WriteLine (ex.Message);
                    } finally {
                        Application.RunOnMainThread (() => {
                            MainPage.Loading.Hide ();