//********************************************************* //********************************************************* // Constructor public hud(frmTerminal term) { InitializeComponent(); m_term = term; m_util = new Util(); }
public void GetMeterStatus(Int16 meterUpdate) { frmTerminal frmTerminal = new frmTerminal(); alarmIndicated = (meterStatus & 0x01); xGyro_Fog = (meterStatus & 0x02) >> 1; lGyro_Fog = (meterStatus & 0x04) >> 2; meterHeater = (meterStatus & 0x08) >> 4; dumpIndigator = (meterStatus & 0x10) >> 8; incorrectCommandReceived = (meterStatus & 0x20) >> 10; serialPortTimeout = (meterStatus & 0x40) >> 20; receiveDataCheckSumError = (meterStatus & 0x80) >> 40; meterStatus = meterUpdate; frmTerminal.meter_status = meterUpdate; if (false) { Console.WriteLine("alarmIndicated " + alarmIndicated); Console.WriteLine("Cross FOG " + xGyro_Fog); Console.WriteLine("Long FOG " + lGyro_Fog); Console.WriteLine("Meter Heater " + meterHeater); Console.WriteLine("Dump indicator " + dumpIndigator); Console.WriteLine("Bad command " + incorrectCommandReceived); Console.WriteLine("Serial port error " + serialPortTimeout); Console.WriteLine("Bad checksum " + receiveDataCheckSumError); } }
public ManualControl(frmTerminal parentTerminal) { this.KeyPreview = true; parentSerialTerminal = parentTerminal; InitializeComponent(); this.KeyDown += new KeyEventHandler(keySend); this.KeyUp += new KeyEventHandler(keyStop); }
public DebugPanel(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }
public DebugPanel(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }
//********************************************************* //********************************************************* // Constructor public hud(frmTerminal term) { InitializeComponent(); m_term = term; m_util = new Util(); }
public GUIform(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }
public DemoWinow(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }
public DemoWinow(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }
public GUIform(frmTerminal parentTerminal) { parentSerialTerminal = parentTerminal; InitializeComponent(); }