コード例 #1
0
 public void Initialize(List <IConverterStream> converterStreamList,
                        StorageSystemStock stock,
                        SimulatorTenant simulatorTenant,
                        SimulatorStockLocation simulatorStockLocation)
 {
     this.converterStreamList = converterStreamList;
     this.stock                  = stock;
     this.simulatorTenant        = simulatorTenant;
     this.simulatorStockLocation = simulatorStockLocation;
 }
コード例 #2
0
        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);
        }