| | |
| | | { |
| | | btnSwitch.IsSelected = !btnSwitch.IsSelected; |
| | | |
| | | if(function.spk == SPK.IrLearn || function.spk == SPK.TvIr) |
| | | if(SPK.NotStatusSpkList.Contains( function.spk )) |
| | | { |
| | | new System.Threading.Thread(() => { |
| | | System.Threading.Thread.Sleep(2000); |
| | |
| | | btnSwitch.IsSelected = !btnSwitch.IsSelected; |
| | | new System.Threading.Thread(() => |
| | | { |
| | | if (function.Spk_Prefix == FunctionCategory.Light) |
| | | if (SPK.LightSpkList().Contains( function.spk)) |
| | | { |
| | | function.trait_on_off.curValue = btnSwitch.IsSelected ? "on" : "off"; |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |