ASCOM.cam85_v03.TECControl.TECControl C# (CSharp) Method

TECControl() public method

public TECControl ( string comPort, bool traceEnabled ) : System
comPort string
traceEnabled bool
return System
        public TECControl(string comPort, bool traceEnabled)
        {
            tecComPort = new SerialPort(comPort, baudrate, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One);
            rxBuf = new byte[rxBufferSize];
            tectl = new TraceLogger("", "tec_cam85_v03");
            tectl.Enabled = traceEnabled;
            tectl.LogMessage("TECControl", "Initialization finished");
        }