/// <summary> /// Gets the machine configuration. /// </summary> public override void GetDates() { this.Sequences = new FSMSequenceConfig(); this.Configuration = new FSMConfig(); this.Sequences = this.Sequences.LoadFromXML(this.XmlSeq); this.Configuration = this.Configuration.LoadFromXML(this.Xml); this.SetGraphNodes(); }
/// <summary> /// Initializes a new instance of the <see cref="FirstStateMachine"/> class. /// </summary> /// <param name="version">The version.</param> public FirstStateMachine(Version version) { this.MyGraph = new CustomGraph(); this.Configuration = new FSMConfig(); this.Sequences = new FSMSequenceConfig(); this.Xml = version.Xml; this.XmlSeq = version.XmlSeq; this.CurrentVersion = version; }
public SecondStateMachine(Version v) { this.Configuration = new FSMVConfig(); this.Sequences = new FSMSequenceConfig(); this.MyGraph = new CustomGraph(); this.Xml = v.Xml; this.XmlSeq = v.XmlSeq; this.CurrentVersion = v; }