public void Initialize(List <IConverterStream> converterStreamList,
                        StorageSystemStock stock,
                        SimulatorTenant simulatorTenant,
                        SimulatorStockLocation simulatorStockLocation)
 {
     this.converterStreamList = converterStreamList;
     this.stock                  = stock;
     this.simulatorTenant        = simulatorTenant;
     this.simulatorStockLocation = simulatorStockLocation;
 }
        public SimulatorOutputOrder(
            StorageSystemStock stock,
            SimulatorTenant simulatorTenant,
            SimulatorStockLocation simulatorStockLocation,
            StockOutputRequest outputRequest,
            OutputResult outputResult,
            bool enableAutoReply,
            List <IConverterStream> converterStreamList)
        {
            this.stock                  = stock;
            this.simulatorTenant        = simulatorTenant;
            this.simulatorStockLocation = simulatorStockLocation;
            this.outputRequest          = outputRequest;
            this.outputResult           = outputResult;
            this.stockOutputMessage     = null;
            this.enableAutoReply        = enableAutoReply;
            this.cancelled              = false;
            this.converterStreamList    = converterStreamList;

            this.toCompleteTimer = new System.Threading.Timer(
                this.OutputCompletedTimer,
                null,
                5000, 5000);
        }
Пример #3
0
 public void Initialize(List <IConverterStream> converterStreamList, StorageSystemStock stock)
 {
     this.converterStreamList = converterStreamList;
     this.stock = stock;
 }
Пример #4
0
 public void Initialize(StorageSystemStock stock)
 {
     this.stock = stock;
 }