Пример #1
0
        public override IModuleDataModel Clone()
        {
            CoolerMasterData result = new CoolerMasterData();

            result.DeviceType = DeviceType;
            return(result);
        }
Пример #2
0
 public SetupDialog(CoolerMasterData data)
 {
     InitializeComponent();
     ForeColor = ThemeColorTable.ForeColor;
     BackColor = ThemeColorTable.BackgroundColor;
     ThemeUpdateControls.UpdateControls(this);
     DeviceType = data.DeviceType;
 }
Пример #3
0
 public CoolerMaster()
 {
     _data             = new CoolerMasterData();
     _lastValues       = new Dictionary <int, byte>();
     _nullCommands     = new Dictionary <int, int>();
     _timeoutStopwatch = new Stopwatch();
     DataPolicyFactory = new DataPolicyFactory();
 }