public CSimIO(IntPtr HotKeyHandle, MotorSignalSettings sets) { settings = sets; gan_loc = settings.SignConfig.GanPosition; xian_loc = settings.SignConfig.XianPosition; che_loc = settings.SignConfig.ChePosition; _hkapp = new CHotkeyApp(HotKeyHandle, this); _hkapp.StartHotkey(); }
Signal.MotorSignal.MotorSignalSettings settings3; //ÈýÂÖĦÍгµsettings¶ÔÏó private void MainForm_Load(object sender, EventArgs e) { settings2 = (Signal.MotorSignal.MotorSignalSettings)Util.ModuleConfig.GetSettings(new Signal.MotorSignal.MotorSignalSettings().GetType(), str2wheelconfigFilePath); settings3 = (Signal.MotorSignal.MotorSignalSettings)Util.ModuleConfig.GetSettings(new Signal.MotorSignal.MotorSignalSettings().GetType(), str3wheelconfigFilePath); }
public MotorMonitor(CSettings setting) : base(setting) { this.settings = (MotorSignalSettings)setting; }