Ejemplo n.º 1
0
 public ComponentType(string nameIn, FLOWObject parentIn, int countIn, int sizeIn)
     : base(nameIn, parentIn)
 {
     this.count        = countIn;
     this.stationNames = new StringList();
     this.stations     = new StationList();
 }
Ejemplo n.º 2
0
 public JobRoute(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.operations     = new OperationList();
     this.operationNames = new StringList();
     createStatistics();
 }
Ejemplo n.º 3
0
 public Station(string nameIn, FLOWObject parentIn, int capacityIn, RVGenerator transferTimeIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.TransferTime = transferTimeIn;
     this.operations   = new OperationList();
     this.processors   = new ProcessorList();
 }
Ejemplo n.º 4
0
        private int count; //IE486fall18 flow additions

        public Bin(string nameIn, FLOWObject parentIn, ComponentType componentTypeIn)
            : base(nameIn, parentIn)
        {
            this.componentType = componentTypeIn;
            this.generators    = new RVGeneratorList();
            this.CreateStatistics(); //IE486fall18 bakilsin
            count = 0;               //IE486fall18 flow additions bincountproblem
        }
Ejemplo n.º 5
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (Unitload current in this.unitloads)
     {
         current.RelateObjects(this);
     }
 }
Ejemplo n.º 6
0
 public Processor(string nameIn, FLOWObject parentIn, int capacityIn, RVGenerator breakdownIn, RVGeneratorType breakdownTypeIn, RVGenerator repairIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.breakdown     = breakdownIn;
     this.breakdownType = breakdownTypeIn;
     this.operations    = new OperationList();
     this.repair        = repairIn;
 }
Ejemplo n.º 7
0
        private Layout.Layout layout;            //state

        public LayoutManager(string nameIn, FLOWObject parentIn)
            : base(nameIn, parentIn)
        {
            this.congestedNodes      = new NodeList();
            this.stationsToDecide    = new StationList();
            this.queuesToPull        = new QueueList(); //ie486f18
            this.requestsToReplenish = new RequestList();
        }
Ejemplo n.º 8
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (JobType jobType in this.jobTypes)
     {
         jobType.RelateObjects(this);
     }
 }
Ejemplo n.º 9
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (JobRoute currentRoute in this.alternates)
     {
         currentRoute.RelateObjects(this);
     }
 }
Ejemplo n.º 10
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     base.RelateObjects(parentIn);
     foreach (Processor processor in this.processors)
     {
         processor.RelateObjects(this);
     }
     this.binMagazine.RelateObjects(this);
 }
Ejemplo n.º 11
0
 public BinMagazine(string nameIn, FLOWObject parentIn, int capacityIn, RVGenerator loadunloadTimeIn, Node nodeIn)
     : base(nameIn, parentIn, capacityIn, nodeIn)
 {
     this.loadunloadTime          = loadunloadTimeIn;
     this.outstandingOrders       = new OrderList();
     this.inventoryPolicy         = new InventoryPolicyDictionary();
     this.inventoryPolicyNameList = new StringList();
     this.componentTypes          = new ComponentTypeList();
 }
Ejemplo n.º 12
0
 //From upstream to downstream list: Warehouse->Supermarket->BinMagazine
 public Storage(string nameIn, FLOWObject parentIn, int capacityIn, Node nodeIn) : base(nameIn, parentIn, capacityIn)
 {
     if (nodeIn != null)
     {
         this.Node     = nodeIn;
         this.NodeName = nodeIn.Name;
     }
     upstreamSuppliers   = new StorageList();
     downstreamCustomers = new StorageList();
 }
Ejemplo n.º 13
0
 public JobType(string nameIn, FLOWObject parentIn, RVGenerator arrivalIn, RVGenerator batchIn, RVGenerator dueDateTightnessIn, Station inputStationIn, Station outputStationIn)
     : base(nameIn, parentIn)
 {
     this.arrival          = arrivalIn;
     this.batch            = batchIn;
     this.dueDateTightness = dueDateTightnessIn;
     this.inputStation     = inputStationIn;
     this.outputStation    = outputStationIn;
     this.alternates       = new JobRouteList();
     this.jobs             = new JobList();
     this.weightParameter  = 1;
 }
Ejemplo n.º 14
0
        private UnitloadList blockedUnitloads;  //state ie486f18


        public JobManager(string nameIn, FLOWObject parentIn)
            : base(nameIn, parentIn)
        {
            this.batchSizeList     = new IntegerList();
            this.dueDateList       = new DoubleList();
            this.jobs              = new JobList();
            this.unitloads         = new UnitloadList();
            this.unitloadsToDecide = new UnitloadList();
            this.unitloadsToRoute  = new UnitloadList();
            this.unitloadsToPush   = new UnitloadList();
            this.blockedUnitloads  = new UnitloadList();
        }
Ejemplo n.º 15
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.º 16
0
 public Job(string nameIn, FLOWObject parentIn, double arrivalTimeIn, int batchSizeIn, double dueDateIn, JobType jobTypeIn)
     : base(nameIn, parentIn)
 {
     this.arrivalTime = arrivalTimeIn;
     this.batchSize   = batchSizeIn;
     this.dueDate     = dueDateIn;
     this.jobType     = jobTypeIn;
     this.startTime   = Double.PositiveInfinity;
     this.completed   = new UnitloadList();
     this.unitloads   = new UnitloadList();
     for (int i = 1; i <= batchSizeIn; i++)
     {
         Unitload current = new Unitload(String.Format("{0}-Unitload{1}", nameIn, i), this);
         current.Alternates = jobTypeIn.Alternates.Clone();
         this.unitloads.Add(current);
     }
 }
Ejemplo n.º 17
0
        public override void RelateObjects(FLOWObject parentIn)
        {
            this.Parent = parentIn;
            foreach (Node node in this.nodes)
            {
                node.RelateObjects(this);
            }
            foreach (Operation operation in this.operations)
            {
                operation.RelateObjects(this);
            }
            foreach (Station station in this.stations)
            {
                station.RelateObjects(this);
            }

            foreach (ComponentType componentType in this.componentTypes)
            {
                componentType.RelateObjects(this);
            }
        }
Ejemplo n.º 18
0
 public Unitload(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.alternates = new JobRouteList();
     this.completed  = new OperationList();
 }
Ejemplo n.º 19
0
 public override void ChangeLocation(double timeIn, FLOWObject locationIn)
 {
     this.Location   = locationIn;
     this.EntryTime  = timeIn;
     this.InTransfer = false;
 }
Ejemplo n.º 20
0
 public Queue(string nameIn, FLOWObject parentIn, int capacityIn, Node nodeIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.content = new UnitloadList();
 }
Ejemplo n.º 21
0
 public MagazineLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.bins = new StringList();
 }
Ejemplo n.º 22
0
 public JobMix(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.jobTypes = new JobTypeList();
 }
Ejemplo n.º 23
0
 public BinLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.stations = new StationLoadingList();
 }
Ejemplo n.º 24
0
 public Node(string nameIn, FLOWObject parentIn, int capacityIn, System.Drawing.Point locationIn, NodeType typeIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.Location = locationIn;
     this.type     = typeIn;
 }
Ejemplo n.º 25
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     this.InQueue.RelateObjects(this);
 }
Ejemplo n.º 26
0
 public BufferCell(string nameIn, FLOWObject parentIn, RVGenerator transferTimeIn)
     : base(nameIn, parentIn, 0)
 {
     this.TransferTime = transferTimeIn;
 }
Ejemplo n.º 27
0
 public StationLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
 }
Ejemplo n.º 28
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     this.jobMix.RelateObjects(this);
 }
Ejemplo n.º 29
0
 public Transporter(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.CreateStatistics();
 }
Ejemplo n.º 30
0
 public Cell(string nameIn, FLOWObject parentIn, int capacityIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.location = new StringList();
 }