public Quality() { _inspectionTime = 3; CurrentInspectionTime = 0; CurrentWo = null; Buffer = new NeoQueue(); }
} // To ship out // Constructor public Dock() { OutputBuffer = new NeoQueue(); ShippingBuffer = new NeoQueue(); Name = "Shipping Dock"; _mes = null; }
public VirtualWorkcenter(string name, List <Op.OpTypes> types) { Name = name; Types = types; OutputBuffer = new NeoQueue(); InputBuffer = new List <IWork>(); }
// Constructor public Stage() { OutputBuffer = new NeoQueue(); Queue = new NeoQueue(); Name = "Stage"; _mes = null; _stage_counter = COUNTER_RESET_VALUE; }
public Workcenter(string name, Machine.Types machineType) { Machine = new Machine("Machine " + name, machineType); Name = name; OutputBuffer = new NeoQueue(); Inspection = new Quality(); _mes = null; _bigData = null; }
protected void SetUp() { _subject = new NeoQueue(); wo1 = Substitute.For <IWork>(); wo1.Id.Returns(ID1); wo2 = Substitute.For <IWork>(); wo2.Id.Returns(ID2); wo3 = Substitute.For <IWork>(); wo3.Id.Returns(ID3); }
public Machine(string name, Types type) { Name = name; _scheduler = new MachineScheduler(this); _type = type; _validTypes = GetValidTypes(type); CurrentWorkorder = null; EstTimeToComplete = 0; InputBuffer = new NeoQueue(); LastType = _validTypes[0]; SetupTime = 0; Breakdown = false; }