public void SendToParser(PacketFields messege) { RxtoParser?.Invoke(this, new Rs232InterfaceEventArgs(messege)); //Debug.WriteLine("{0} {1}[{2}]={3} {4}.", messege.IsSet ? "Set" : "Get", messege.ID, messege.SubID, messege.Data2Send, messege.IsFloat ? "F" : "I"); }
public void SendToParser(PacketFields messege) { RxtoParser?.Invoke(this, new Rs232InterfaceEventArgs(messege)); // then go to "void parseOutdata(object sender, Rs232InterfaceEventArgs e)" }