Example #1
0
        public Marking Clone()
        {
            var m = new Marking(happened, included, pending);

            /* Values are treated like immutable values: Their internals never
             * change after construction.
             */
            m.value = this.value;
            return(m);
        }
Example #2
0
 public Event(Marking m)
 {
     this.marking    = m;
     this.subProcess = new Process(this);
 }
Example #3
0
 public Event()
 {
     this.marking    = new Marking();
     this.subProcess = new Process(this);
 }
Example #4
0
 public OutputEvent(String name, Marking m) : base(m)
 {
     this.name       = name;
     this.expression = new Unit();
 }
Example #5
0
 public InputEvent(String name, Marking m) : base(m)
 {
     this.name = name;
 }
Example #6
0
 public InputEvent(String name, DataExpression type, Marking m) : base(m)
 {
     this.name = name;
     this.type = type;
 }