Esempio n. 1
0
 /// <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();
 }
Esempio n. 2
0
 /// <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;
 }