void SerialPortParm_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e) { if (e.OptType == SerialPortType.NoiseBatchWrite && !string.IsNullOrEmpty(e.Msg)) { ShowWaitForm("", e.Msg); SetStaticItem(e.Msg); } }
void SerialPortParm_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e) { if ((e.OptType == SerialPortType.UniversalReadBasicInfo || e.OptType == SerialPortType.UniversalSetBasicInfo) && !string.IsNullOrEmpty(e.Msg)) { ShowWaitForm("", e.Msg); SetStaticItem(e.Msg); } }
void SerialPortMgr_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e) { if ((e.OptType == SerialPortType.PreReadInfo || e.OptType == SerialPortType.PreReadInfo) && !string.IsNullOrEmpty(e.Msg)) { ShowWaitForm("", e.Msg); SetStaticItem(e.Msg); } }