123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.Windows.Input;
- using System.Windows;
- namespace Aitex.Core.UI.ControlDataContext
- {
- public class MOSourceDataItem : INotifyPropertyChanged
- {
- public event PropertyChangedEventHandler PropertyChanged;
- public void InvokePropertyChanged(string propertyName)
- {
- if (PropertyChanged != null)
- {
- PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
- }
- }
- AnalogDeviceDataItem _mfcSourceData;
- public AnalogDeviceDataItem MfcSourceData
- {
- get
- {
- return _mfcSourceData;
- }
- set
- {
- _mfcSourceData = value;
- InvokePropertyChanged("MfcSourceData");
- }
- }
- public AnalogDeviceDataItem _mfcPushData;
- public AnalogDeviceDataItem MfcPushData
- {
- get
- {
- return _mfcPushData;
- }
- set
- {
- _mfcPushData = value;
- InvokePropertyChanged("MfcPushData");
- }
- }
- public AnalogDeviceDataItem _mfcDiluteData;
- public AnalogDeviceDataItem MfcDiluteData
- {
- get
- {
- return _mfcDiluteData;
- }
- set
- {
- _mfcDiluteData = value;
- InvokePropertyChanged("MfcDiluteData");
- }
- }
- public AnalogDeviceDataItem _mfcInjectData;
- public AnalogDeviceDataItem MfcInjectData
- {
- get
- {
- return _mfcInjectData;
- }
- set
- {
- _mfcInjectData = value;
- InvokePropertyChanged("MfcInjectData");
- }
- }
- AnalogDeviceDataItem _pcData = new AnalogDeviceDataItem();
- public AnalogDeviceDataItem PcData
- {
- get
- {
- return _pcData;
- }
- set
- {
- _pcData = value;
- InvokePropertyChanged("PcData");
- }
- }
- public GasValveDataItem _valveLineData;
- public GasValveDataItem ValveLineData
- {
- get
- {
- return _valveLineData;
- }
- set
- {
- _valveLineData = value;
- InvokePropertyChanged("ValveLineData");
- }
- }
- public GasValveDataItem _valveBypassData;
- public GasValveDataItem ValveBypassData
- {
- get
- {
- return _valveBypassData;
- }
- set
- {
- _valveBypassData = value;
- InvokePropertyChanged("ValveBypassData");
- }
- }
- public GasValveDataItem _vavleVacData;
- public GasValveDataItem VavleVacData
- {
- get
- {
- return _vavleVacData;
- }
- set
- {
- _vavleVacData = value;
- InvokePropertyChanged("VavleVacData");
- }
- }
- GasValveDataItem _vavleRunData;
- public GasValveDataItem VavleRunData
- {
- get
- {
- return _vavleRunData;
- }
- set
- {
- _vavleRunData = value;
- InvokePropertyChanged("VavleRunData");
- }
- }
- MOLineDataItem _lineData;
- public MOLineDataItem LineData
- {
- get
- {
- return _lineData;
- }
- set
- {
- _lineData = value;
- InvokePropertyChanged("LineData");
- }
- }
- BathDataItem _bathData;
- public BathDataItem BathData
- {
- get
- {
- return _bathData;
- }
- set
- {
- _bathData = value;
- InvokePropertyChanged("BathData");
- }
- }
- bool _isServiceMode;
- public bool IsServiceMode
- {
- get
- {
- return _isServiceMode;
- }
- set
- {
- _isServiceMode = value;
- InvokePropertyChanged("IsServiceMode");
- }
- }
- public ICommand DeviceOperationCommand { get; set; }
- }
- }
|