1using System.Threading.Tasks;
31 public override Task
FromXml(XmlElement Definition)
33 foreach (XmlAttribute Attr
in Definition.Attributes)
37 case "responseVariable":
43 return base.FromXml(Definition);
Abstract base class for ModBus operations.
Abstract base class for ModBus read operations.
override Task FromXml(XmlElement Definition)
Sets properties and attributes of class in accordance with XML definition.
StringAttribute responseVariable
Response variable attribute.
ModBusReadOperation(ISimulationNode Parent, Model Model)
Abstract base class for ModBus read operations.
Root node of a simulation model
Contains the value of a string attribute, possibly with embedded script.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
ISimulationNode Parent
Parent node in the simulation model.