Example #1
0
        public ListWindow(object obj, IDataConverterable DataConverter)
        {
            InitializeComponent();
            if (obj is AirControlList)
            {
                this.ACL = obj as AirControlList;

                this.list.DataContext = this.ACL;
            }
            this.DataContext = new ListWindowViewModel(ACL, DataConverter);
        }
        public ListWindowViewModel(AirControlList AirControllist, IDataConverterable DataConver)
        {
            this.ListWindowMode = new ListWindowModel(AirControllist, DataConver);
            this.GetTest        = new ListWindowDelegateCommand();

            this.Lc = new ListWindowDelegateCommand();

            //simple batch command
            this.SimpleBatchCommand = new ListWindowDelegateCommand();
            this.SimpleBatchCommand.ExecuteCommand = new Action <object>(this.ListWindowMode.Simplebatch);

            // to controller command
            this.ToControllerCommand = new ListWindowDelegateCommand();
            this.ToControllerCommand.ExecuteCommand = new Action <object>(this.ListWindowMode.ToController);

            //TopView command
            this.TopViewCommand = new ListWindowDelegateCommand();
            this.TopViewCommand.ExecuteCommand = new Action <object>(this.ListWindowMode.TOPView);

            // multi batch command

            this.MultiBatchCommand = new ListWindowDelegateCommand();
            this.MultiBatchCommand.ExecuteCommand = new Action <object>(this.ListWindowMode.MulitBatch);
        }
Example #3
0
 public LightOn(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #4
0
 public HeathAndAirChange(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #5
0
 public WindPowerModeFive(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #6
0
 public Blow(IDataConverterable idataconverterable)
 {
     this.DataConverterable = idataconverterable;
 }
Example #7
0
 public CloseSuperPower(IDataConverterable dataConverterable)
 {
     this.DataConverterable = dataConverterable;
 }
Example #8
0
 public OpenDrive(IDataConverterable dataConverterable)
 {
     this.DataConverterable = dataConverterable;
 }
Example #9
0
 public LightMode(IDataConverterable firstdataconverter)
 {
     this.FirstDataConverter = firstdataconverter;
 }
Example #10
0
 public SubTemperature(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #11
0
 public SetTemperatureMode(IDataConverterable datavonverterable)
 {
     this.FirstConverter = datavonverterable;
 }
Example #12
0
 public CloseDrive(IDataConverterable dataConverterable)
 {
     this.DataConverterable = dataConverterable;
 }
Example #13
0
 public Dehumidification(IDataConverterable idatacoverterable)
 {
     this.DataConverterable = idatacoverterable;
 }
Example #14
0
 public LoginWindow(IDataConverterable dataConverterable)
 {
     InitializeComponent();
     this.LoginWindowView = new LoginWindowViewModel(dataConverterable);
     this.DataContext     = this.LoginWindowView;
 }
Example #15
0
 public SuperPowerMode(IDataConverterable firstconverter)
 {
     this.FirstConverter = firstconverter;
 }
Example #16
0
 public DryModeOn(IDataConverterable idataconverterable)
 {
     this.DataConverterable = idataconverterable;
 }
Example #17
0
 public HorWindSweepOn(IDataConverterable idataconverterable)
 {
     this.DataConverterable = idataconverterable;
 }
Example #18
0
 public AddTemperatureMode(IDataConverterable firstdataconverter)
 {
     this.FirstDataConverter = firstdataconverter;
 }
Example #19
0
 public Refrigeration(IDataConverterable idataconverterable)
 {
     this.DataConverterable = idataconverterable;
 }
Example #20
0
 public TimeThree(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #21
0
 public LoginWindowViewModel(IDataConverterable dataConverterable)
 {
     this.DataConverterable = dataConverterable;
 }
Example #22
0
 public HeathAndAirChangeMode(IDataConverterable dataconverterable)
 {
     this.FirstConverter = dataconverterable;
 }
Example #23
0
 public AutoMode(IDataConverterable idataconverterable)
 {
     this.DataConverterable = idataconverterable;
 }
Example #24
0
 public TimerMode(IDataConverterable dataconverterable)
 {
     this.FirstConverter = dataconverterable;
 }
Example #25
0
 public SuperModeOff(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
 public TemperatureDisplayModeOFF(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #27
0
 public SleepModeTwo(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }
Example #28
0
 public SilenceMode(IDataConverterable dataconverterable)
 {
     this.FirstConverter = dataconverterable;
 }
Example #29
0
 public WindPowerMode(IDataConverterable dataconverterable)
 {
     this.FirstConverter = dataconverterable;
 }
Example #30
0
 public SilenceOff(IDataConverterable dataconverterable)
 {
     this.DataConverterable = dataconverterable;
 }