protected virtual void CheckPlugged(object com) { SerialBase serialPort = com as SerialBase; bool bOpen = serialPort.Open(); if (!bOpen) { return; } SendFreshCmd(serialPort); }
public virtual bool Open() { return(m_SerialBase.Open()); }