public void GetState(Processor processorIn) { base.GetState(processorIn); this.breakdown = processorIn.Breakdown.GetRVGeneratorState(); this.estimatedRepairTime = processorIn.EstimatedRepairTime; this.isBroken = processorIn.IsBroken; this.nextBreakdown = processorIn.NextBreakdown; foreach (Operation operation in processorIn.Operations) { this.operations.Add(operation.Name); } this.repair = processorIn.Repair.GetRVGeneratorState(); this.repairTime = processorIn.RepairTime; }
public void GetState(JobType jobTypeIn) { base.GetState(jobTypeIn); this.arrival = jobTypeIn.Arrival.GetRVGeneratorState(); this.batch = jobTypeIn.Batch.GetRVGeneratorState(); if (this.dueDateTightness != null) { this.dueDateTightness = jobTypeIn.DueDateTightness.GetRVGeneratorState(); } this.betaDeviation = jobTypeIn.BetaDeviation; this.betaMean = jobTypeIn.BetaMean; this.buffered = jobTypeIn.Buffered; foreach (Job job in jobTypeIn.Jobs) { this.jobs.Add(job.Name); } this.unreleased = jobTypeIn.Unreleased; this.wip = jobTypeIn.WIP; }
public void GetState(Cell cellIn) { base.GetState(cellIn); this.inQueue.GetState(cellIn.InQueue); this.transferTime = cellIn.TransferTime.GetRVGeneratorState(); }
public void GetState(BinMagazine magazineIn) { base.GetState(magazineIn); this.loadunloadTime = magazineIn.LoadUnloadTime.GetRVGeneratorState(); }