Пример #1
0
 private void OnDataTransmitted(object sender, PortMessageEventArgs args)
 {
     try
     {
     }
     catch { }
 }
Пример #2
0
 private void OnDataReceived(object sender, PortMessageEventArgs args)
 {
     try
     {
         TextBox1.AppendText("/r/n");
         TextBox1.AppendText(">" + args.Message + "/r/n" + ">");
     }
     catch { }
 }
Пример #3
0
 private void port_DataReceived(object sender, PortMessageEventArgs args)
 {
     qf4net.QF.Instance.Publish(new PortEvent(QFSignal.PortResponse, Name, args.Message));
 }
Пример #4
0
 private void port_DataTransmitted(object sender, PortMessageEventArgs args)
 {
     qf4net.QF.Instance.Publish(new PortEvent(QFSignal.PortTransmitted, Name, args.Message));
 }
Пример #5
0
 private static void PortDataReceived(object sender, PortMessageEventArgs args)
 {
     Debug.Print("<Event=TestManager.PortDataReceived,\tPort=" + args.Name + ",\tMessage='" + args.Message + "'>");
 }