Ejemplo n.º 1
0
 private static void WriteSignal(XmlTextWriter xWriter, ISignal signal)
 {
     xWriter.WriteStartElement("Name");
     xWriter.WriteString(signal.GetSignalName());
     xWriter.WriteEndElement();
     xWriter.WriteStartElement("Port");
     xWriter.WriteString(signal.GetPortNumber().ToString());
     xWriter.WriteEndElement();
     xWriter.WriteStartElement("ChannelName");
     xWriter.WriteString(signal.GetChannelName());
     xWriter.WriteEndElement();
 }