Beispiel #1
0
 public void SetState(FLOWObject flowObjectIn)
 {
     foreach (StatisticsState statisticsState in this.statistics)
     {
         statisticsState.SetState(flowObjectIn.Statistics[statisticsState.Name]);
     }
 }
Beispiel #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);
     }
 }
 public StaticObject(string nameIn, FLOWObject parentIn, int capacityIn)
     : base(nameIn, parentIn)
 {
     this.capacity = capacityIn;
     this.content  = new MovableObjectList();
 }
Beispiel #4
0
 public virtual void ChangeLocation(double timeIn, FLOWObject locationIn)
 {
 }
Beispiel #5
0
 public MovableObject(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
 }
Beispiel #6
0
 public virtual void RelateObjects(FLOWObject parentIn)
 {
     this.parent = parentIn;
 }
Beispiel #7
0
 public FLOWObject(string nameIn, FLOWObject parentIn)
 {
     this.name       = nameIn;
     this.parent     = parentIn;
     this.statistics = new StatisticsStringDictionary();
 }