Ejemplo n.º 1
0
 private Transporter transporter; // bypass için şimdilik bir tane uncapacitated transporter yaratıldı. IE486
 public Layout()
 {
     this.bufferCells      = new BufferCellList();
     this.inputStations    = new StationList();
     this.nodes            = new NodeList();
     this.operations       = new OperationList();
     this.outputStations   = new StationList();
     this.stations         = new StationList();
     this.bins             = new BinList();
     this.componentTypes   = new ComponentTypeList();
     this.unitloadsonMover = new UnitloadList();
     this.transporter      = new Transporter();
 }
Ejemplo n.º 2
0
 public Layout(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.bufferCells      = new BufferCellList();
     this.inputStations    = new StationList();
     this.nodes            = new NodeList();
     this.operations       = new OperationList();
     this.outputStations   = new StationList();
     this.stations         = new StationList();
     this.bins             = new BinList();
     this.componentTypes   = new ComponentTypeList();
     this.unitloadsonMover = new UnitloadList();
     this.transporter      = new Transporter();
     this.onHandWriter     = new TextOutput(((SimulationManager)parentIn.Parent).path);
 }
Ejemplo n.º 3
0
        public BufferCell FindNearestCentralBuffer(StaticObject locationIn)
        {
            BufferCell     selectedCell     = null;
            double         selectedDistance = Double.PositiveInfinity;
            BufferCellList bufferCells      = this.Manager.LayoutManager.Layout.BufferCells;

            foreach (BufferCell bufferCell in bufferCells)
            {
                double distance = 0;
                if (distance < selectedDistance)
                {
                    selectedCell     = bufferCell;
                    selectedDistance = distance;
                }
            }
            return(selectedCell);
        }