예제 #1
0
파일: CSimIO.cs 프로젝트: wpmyj/Zhuangkao
        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();
        }
예제 #2
0
        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);
        }
예제 #3
0
 public MotorMonitor(CSettings setting)
     : base(setting)
 {
     this.settings = (MotorSignalSettings)setting;
 }