Ejemplo n.º 1
0
        public bool Init(IWMSFrame wmsFrame, string wmsClientCfg, List <WMSFuncModule> moduleList)
        {
            string restr = "";

            xmlOper = new XMLOperater(wmsClientCfg);

            WMSManager.wmsFrame = wmsFrame;
            wmsViewManager.InitView(wmsFrame, moduleList);

            IniGoodsSite(ref restr);
            return(true);
        }
Ejemplo n.º 2
0
        public StoragePresenter(StorageView view)
        {
            this.view = view;
            gsStatusColor[EnumCellStatus.空料框.ToString()]     = Color.Yellow;
            gsStatusColor[EnumCellStatus.空闲.ToString()]      = Color.Transparent;
            gsStatusColor[EnumCellStatus.满位.ToString()]      = Color.Green;
            gsStatusColor[EnumGSEnabledStatus.禁用.ToString()] = Color.Red;
            gsStatusColor[EnumGSTaskStatus.锁定.ToString()]    = Color.Blue;
            gsStatusColor[EnumGSTaskStatus.出库允许.ToString()]  = Color.Blue;

            IniAreaColorDic();
            string rstr = "";

            LoadAreaColorCfg(ref rstr);
            xmlOper = new XMLOperater(filePath);
        }