public void SetState(FLOWObject flowObjectIn) { foreach (StatisticsState statisticsState in this.statistics) { statisticsState.SetState(flowObjectIn.Statistics[statisticsState.Name]); } }
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(); }
public virtual void ChangeLocation(double timeIn, FLOWObject locationIn) { }
public MovableObject(string nameIn, FLOWObject parentIn) : base(nameIn, parentIn) { }
public virtual void RelateObjects(FLOWObject parentIn) { this.parent = parentIn; }
public FLOWObject(string nameIn, FLOWObject parentIn) { this.name = nameIn; this.parent = parentIn; this.statistics = new StatisticsStringDictionary(); }