コード例 #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();
 }
コード例 #2
0
ファイル: JobRoute.cs プロジェクト: mertsahinkoc/IE486Fall19
 public JobRoute(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.operations     = new OperationList();
     this.operationNames = new StringList();
     createStatistics();
 }
コード例 #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();
 }
コード例 #4
0
ファイル: Bin.cs プロジェクト: mertsahinkoc/IE486Fall19
        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
        }
コード例 #5
0
ファイル: Job.cs プロジェクト: mertsahinkoc/IE486Fall19
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (Unitload current in this.unitloads)
     {
         current.RelateObjects(this);
     }
 }
コード例 #6
0
ファイル: Processor.cs プロジェクト: mertsahinkoc/IE486Fall19
 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;
 }
コード例 #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();
        }
コード例 #8
0
ファイル: JobMix.cs プロジェクト: mertsahinkoc/IE486Fall19
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (JobType jobType in this.jobTypes)
     {
         jobType.RelateObjects(this);
     }
 }
コード例 #9
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     foreach (JobRoute currentRoute in this.alternates)
     {
         currentRoute.RelateObjects(this);
     }
 }
コード例 #10
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     base.RelateObjects(parentIn);
     foreach (Processor processor in this.processors)
     {
         processor.RelateObjects(this);
     }
     this.binMagazine.RelateObjects(this);
 }
コード例 #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();
 }
コード例 #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();
 }
コード例 #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;
 }
コード例 #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();
        }
コード例 #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);
 }
コード例 #16
0
ファイル: Job.cs プロジェクト: mertsahinkoc/IE486Fall19
 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);
     }
 }
コード例 #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);
            }
        }
コード例 #18
0
 public Unitload(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.alternates = new JobRouteList();
     this.completed  = new OperationList();
 }
コード例 #19
0
 public override void ChangeLocation(double timeIn, FLOWObject locationIn)
 {
     this.Location   = locationIn;
     this.EntryTime  = timeIn;
     this.InTransfer = false;
 }
コード例 #20
0
 public Queue(string nameIn, FLOWObject parentIn, int capacityIn, Node nodeIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.content = new UnitloadList();
 }
コード例 #21
0
 public MagazineLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.bins = new StringList();
 }
コード例 #22
0
ファイル: JobMix.cs プロジェクト: mertsahinkoc/IE486Fall19
 public JobMix(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.jobTypes = new JobTypeList();
 }
コード例 #23
0
 public BinLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.stations = new StationLoadingList();
 }
コード例 #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;
 }
コード例 #25
0
ファイル: Cell.cs プロジェクト: mertsahinkoc/IE486Fall19
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     this.InQueue.RelateObjects(this);
 }
コード例 #26
0
 public BufferCell(string nameIn, FLOWObject parentIn, RVGenerator transferTimeIn)
     : base(nameIn, parentIn, 0)
 {
     this.TransferTime = transferTimeIn;
 }
コード例 #27
0
 public StationLoading(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
 }
コード例 #28
0
 public override void RelateObjects(FLOWObject parentIn)
 {
     this.Parent = parentIn;
     this.jobMix.RelateObjects(this);
 }
コード例 #29
0
 public Transporter(string nameIn, FLOWObject parentIn)
     : base(nameIn, parentIn)
 {
     this.CreateStatistics();
 }
コード例 #30
0
ファイル: Cell.cs プロジェクト: mertsahinkoc/IE486Fall19
 public Cell(string nameIn, FLOWObject parentIn, int capacityIn)
     : base(nameIn, parentIn, capacityIn)
 {
     this.location = new StringList();
 }