| | |
| | | vv = ShowFunction.Light; |
| | | break; |
| | | case SPK.ElectricSocket: |
| | | case SPK.ElectricTuyaAirCleaner: |
| | | case SPK.ElectricTuyaFan: |
| | | case SPK.ElectricTuyaWaterValve: |
| | | case SPK.ElectricTuyaWeepRobot: |
| | | vv = ShowFunction.Electric; |
| | | break; |
| | | } |
| | |
| | | view.AddChidren(waitPage); |
| | | waitPage.BackgroundColor = 0x00000000; |
| | | waitPage.Start(""); |
| | | |
| | | |
| | | new System.Threading.Thread(() => |
| | | { |
| | | try |
| | | { |
| | | if (DB_ResidenceData.Instance.GatewayType == 0 && !Control.Ins.IsRemote) |
| | | //全开全关 |
| | | //if (DB_ResidenceData.Instance.GatewayType == 0 && !Control.Ins.IsRemote) |
| | | if (Control.Ins.GatewayOnline_Local) |
| | | { |
| | | switch (functionCategory) |
| | | { |