public CommForm(OBDInterface obd2) { InitializeComponent(); m_obdInterface = obd2; m_listVehicles = m_obdInterface.GetVehicleProfiles(); PopulateProfileCombobox(); }
public CommForm(OBDInterface obd) { InitializeComponent(); m_OBDInterface = obd; m_profiles = m_OBDInterface.VehicleProfiles; PopulateProfileCombobox(); }
public TrackForm(OBDInterface obd) { thisForm = this; m_obdInterface = obd; timeslip = new Timeslip(); timeslip.Vehicle = m_obdInterface.ActiveProfile.Name; InitializeComponent(); CheckConnection(); }
public TrackForm(OBDInterface obd2) { TrackForm.thisForm = this; m_obdInterface = obd2; timeslip = new Timeslip(); timeslip.Vehicle = m_obdInterface.GetActiveProfile().Name; InitializeComponent(); CheckConnection(); }
public TerminalForm(OBDInterface obd) { m_obdInterface = obd; InitializeComponent(); m_strID = m_obdInterface.getDeviceIDString(); Update(); richText.SelectionFont = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular); richText.SelectionColor = Color.Black; addPrompt(); }
public TerminalForm(OBDInterface obd2) { m_obdInterface = obd2; InitializeComponent(); m_strID = m_obdInterface.getDeviceIDString(); Update(); richText.SelectionFont = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular); richText.SelectionColor = Color.Black; if (string.Compare(m_strID, "") == 0) richText.AppendText("ELM > "); else richText.AppendText(m_strID + " > "); }
public FuelEconomyForm(OBDInterface obd2) { m_FuelEconomyForm = this; InitializeComponent(); m_obdInterface = obd2; bRunThread = true; m_isWorking = false; sensorInstantFuelConsumption.SetDisplayMode(1); sensorAvgFuelConsumption.SetDisplayMode(1); sensorAvgFuelEconomy.SetDisplayMode(1); sensorInstantFuelEconomy.SetDisplayMode(1); sensorTotalConsumed.SetDisplayMode(1); sensorDistance.SetDisplayMode(1); sensorTotalCost.SetDisplayMode(1); sensorCostPerMile.SetDisplayMode(1); }
public DynoForm(OBDInterface obd) { m_obdInterface = obd; m_profile = obd.ActiveProfile; InitializeComponent(); m_Capture = false; m_dtDynoTime = DateTime.Now; btnStart.Enabled = false; btnReset.Enabled = false; printDocument.DefaultPageSettings = new PageSettings(); printDocument.DefaultPageSettings.Margins = new Margins(100, 100, 100, 100); printDocument.DefaultPageSettings.Landscape = true; pageSetupDialog.Document = printDocument; }
public TerminalForm(OBDInterface obd2) { m_obdInterface = obd2; InitializeComponent(); m_strID = m_obdInterface.getDeviceIDString(); Update(); richText.SelectionFont = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular); richText.SelectionColor = Color.Black; if (string.Compare(m_strID, "") == 0) { richText.AppendText("ELM > "); } else { richText.AppendText(m_strID + " > "); } }
public DynoForm(OBDInterface obd2) { m_obdInterface = obd2; m_profile = obd2.GetActiveProfile(); InitializeComponent(); Data = new DataList(); m_bCapture = false; m_dtDynoTime = DateTime.Now; btnStart.Enabled = false; btnReset.Enabled = false; printDocument1.DefaultPageSettings = new PageSettings() { Margins = new Margins(100, 100, 100, 100), Landscape = true }; pageSetupDialog1.Document = printDocument1; }
public SensorMonitorForm(OBDInterface obd2) { try { InitializeComponent(); m_obdInterface = obd2; IsLogging = false; btnStart.Enabled = false; btnReset.Enabled = false; btnSave.Enabled = false; IsRunThread = true; m_ListSensors = new List <OBDParameter>(); m_ListLog = new List <SensorLogItem>(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public SensorMonitorForm(OBDInterface obd2) { try { InitializeComponent(); m_obdInterface = obd2; bLogging = false; btnStart.Enabled = false; btnReset.Enabled = false; btnSave.Enabled = false; bRunThread = true; SensorMonitorForm.m_arrayListSensors = new ArrayList(); SensorMonitorForm.m_arrayListRequests = new ArrayList(); SensorMonitorForm.m_arrayListLog = new ArrayList(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public VehicleForm(OBDInterface obd2) { InitializeComponent(); m_obdInterface = obd2; m_arrayVehicleList = m_obdInterface.GetVehicleProfiles(); }
public FreezeFramesForm(OBDInterface obd2) { InitializeComponent(); m_obdInterface = obd2; }
public MainForm() { InitializeComponent(); m_obdInterface = new OBDInterface(); m_obdInterface.OnConnect += new OBDInterface.__Delegate_OnConnect(On_OBD2_Connect); m_obdInterface.OnDisconnect += new OBDInterface.__Delegate_OnDisconnect(On_OBD2_Disconnect); if (m_obdInterface.GetActiveProfile() != null) panelVehicle.Text = m_obdInterface.GetActiveProfile().ToString(); if (m_obdInterface.GetCommSettings() != null) { if (m_obdInterface.GetCommSettings().AutoDetect) panelComPort.Text = "Auto-Detect"; else panelComPort.Text = "COM" + m_obdInterface.GetCommSettings().ComPort.ToString(); } SetDescriptiveToolTips(); m_formStart = new CommForm(m_obdInterface); m_formMonitorTests = new TestForm(m_obdInterface); m_formDTC = new DTCForm(m_obdInterface); m_formFreezeFrames = new FreezeFramesForm(m_obdInterface); m_formOxygenSensors = new OxygenSensorsForm(m_obdInterface); m_formSensorGrid = new SensorMonitorForm(m_obdInterface); m_formSensorChart = new ScopeForm(m_obdInterface); m_formTrack = new TrackForm(m_obdInterface); m_formDyno = new DynoForm(m_obdInterface); m_formFuelEconomy = new FuelEconomyForm(m_obdInterface); m_formTerminal = new TerminalForm(m_obdInterface); m_formReport = new ReportGeneratorForm(m_obdInterface); m_formCommLog = new CommLogForm(); toolBarButtonStart.Pushed = true; SetActiveForm(m_formStart); }
public OxygenSensorsForm(OBDInterface obd2) { m_obdInterface = obd2; InitializeComponent(); }
public TestForm(OBDInterface obd2) { InitializeComponent(); m_obd2Interface = obd2; }
public DTCForm(OBDInterface obd2) { m_obdInterface = obd2; InitializeComponent(); CheckConnection(); }
public ScopeForm(OBDInterface obd2) { MyScopeForm = this; m_obdInterface = obd2; InitializeComponent(); }
public ReportGeneratorForm(OBDInterface obd2) { m_obdInterface = obd2; InitializeComponent(); }
public VehicleForm(OBDInterface obd) { InitializeComponent(); m_obdInterface = obd; m_VehicleList = m_obdInterface.VehicleProfiles; }