public void SetState(BinMagazine binMagazineIn, SimulationManager managerIn) { Layout layout = managerIn.LayoutManager.Layout; binMagazineIn.Content.Clear(); foreach (string toolName in this.Content) { Bin tool = layout.Bins[toolName]; binMagazineIn.Receive(tool.EntryTime, tool); } base.SetState(binMagazineIn); }
public void GetState(BinMagazine magazineIn) { base.GetState(magazineIn); this.loadunloadTime = magazineIn.LoadUnloadTime.GetRVGeneratorState(); }
public object Clone() { BinMagazine clone = new BinMagazine(this.Name, this.Parent, this.Capacity, (RVGenerator)this.loadunloadTime.Clone(), this.Node); return(clone); }