Exemplo n.º 1
0
 public void SetState(FLOWObject flowObjectIn)
 {
     foreach (StatisticsState statisticsState in this.statistics)
     {
         statisticsState.SetState(flowObjectIn.Statistics[statisticsState.Name]);
     }
 }
Exemplo n.º 2
0
 public void GetState(FLOWObject flowObjectIn)
 {
     this.name = flowObjectIn.Name;
     foreach (string key in flowObjectIn.Statistics.Keys)
     {
         StatisticsState statistics = new StatisticsState();
         statistics.GetState(flowObjectIn.Statistics[key], key);
         this.statistics.Add(statistics);
     }
 }
Exemplo n.º 3
0
 public StaticObject(string nameIn, FLOWObject parentIn, int capacityIn)
     : base(nameIn, parentIn)
 {
     this.capacity = capacityIn;
     this.content  = new MovableObjectList();
 }
Exemplo n.º 4
0
 public virtual void ChangeLocation(double timeIn, FLOWObject locationIn)
 {
 }
Exemplo n.º 5
0
 public MovableObject(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
 }
Exemplo n.º 6
0
 public virtual void RelateObjects(FLOWObject parentIn)
 {
     this.parent = parentIn;
 }
Exemplo n.º 7
0
 public FLOWObject(string nameIn, FLOWObject parentIn)
 {
     this.name       = nameIn;
     this.parent     = parentIn;
     this.statistics = new StatisticsStringDictionary();
 }