コード例 #1
0
ファイル: FirstStateMachine.cs プロジェクト: dezGusty/fsmview
 /// <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();
 }
コード例 #2
0
ファイル: FirstStateMachine.cs プロジェクト: dezGusty/fsmview
 /// <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;
 }
コード例 #3
0
 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;
 }