Esempio n. 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);
        }
Esempio n. 2
0
 public Event(Marking m)
 {
     this.marking    = m;
     this.subProcess = new Process(this);
 }
Esempio n. 3
0
 public Event()
 {
     this.marking    = new Marking();
     this.subProcess = new Process(this);
 }
Esempio n. 4
0
 public OutputEvent(String name, Marking m) : base(m)
 {
     this.name       = name;
     this.expression = new Unit();
 }
Esempio n. 5
0
 public InputEvent(String name, Marking m) : base(m)
 {
     this.name = name;
 }
Esempio n. 6
0
 public InputEvent(String name, DataExpression type, Marking m) : base(m)
 {
     this.name = name;
     this.type = type;
 }