Example #1
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public LotToStoreDetailViewContent(LotDispatchDetailModel model)
            : base()
        {
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            //this.TitleName = model.TitleName;
            this.TitleName = StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotToStoreDetailViewContent.Title01}");//"入库作业";
            LotToWarehouseDetail wk = new LotToWarehouseDetail(model, this);

            wk.Dock = DockStyle.Fill;
            panel.Controls.Add(wk);
            this.control = panel;
        }
Example #2
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        /// <param name="model">工作站作业的参数数据。</param>
        public LotDispathViewContent(LotDispatchDetailModel model)
            : base()
        {
            this.TitleName = StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatch.lblApplicationTitle}");//视图标题---过站作业
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            panel.AutoScroll  = true;
            LotDispatch wk = new LotDispatch(model, this);

            wk.Dock = DockStyle.Fill;
            panel.Controls.Add(wk);
            this.control = panel;
        }
Example #3
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public LotDispatchFor_eWoPalletViewContent()
            : base()
        {
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            //this.TitleName = model.TitleName;

            this.TitleName = StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatchFor_eWoPalletViewContent.Title01}");//"E工单-包装作业";
            LotDispatchDetailModel   model = new LotDispatchDetailModel();
            LotDispatchFor_eWoPallet pwo   = new LotDispatchFor_eWoPallet(this, model);

            pwo.Dock = DockStyle.Fill;
            panel.Controls.Add(pwo);
            this.control = panel;
        }
Example #4
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        /// 批次工作站作业包装类
        public LotDispatchForPalletViewContent(LotDispatchDetailModel model)
            : base()
        {
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            //this.TitleName = model.TitleName;

            this.TitleName = StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatchForPalletViewContent.Title01}");//"过站作业_包装";

            LotDispatchForPallet wk = new LotDispatchForPallet(this, model);

            wk.Dock = DockStyle.Fill;
            panel.Controls.Add(wk);
            this.control = panel;
        }
Example #5
0
        public LotDispatchForPltChkDialog(int itypecode, LotDispatchDetailModel model, string subTitle)
        {
            this.typeCode = itypecode;
            _title        = subTitle;
            _model        = model;

            InitializeComponent();

            if (typeCode == 10 || typeCode == 80)
            {
                this.Size = new Size(722, 471);
            }
            else if (typeCode < 90)
            {
                this.Size = new Size(665, 315);
            }
        }
Example #6
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public LotDispatchDetailViewContent(LotDispatchDetailModel model, DataTable dtLotInfo)
            : base()
        {
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            this.TitleName    = model.TitleName;
            //工作站作业-进站
            if (model.OperationType == LotOperationType.TrackIn)
            {
                this.TitleName = string.Format("{0}" + StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatchListCtl.TrackIn}"), this.TitleName);  //进站
            }
            else
            {
                this.TitleName = string.Format("{0}" + StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatchListCtl.TrackOut}"), this.TitleName);  //出站
            }
            LotDispatchDetail wk = new LotDispatchDetail(model, dtLotInfo, this);

            wk.Dock = DockStyle.Fill;
            panel.Controls.Add(wk);
            this.control = panel;
        }
Example #7
0
 /// <summary>
 /// 构造函数。
 /// </summary>
 /// <param name="model">用于复制的类。</param>
 public LotDispatchDetailModel(LotDispatchDetailModel model)
 {
     this.EquipmentKey            = model.EquipmentKey;
     this.EquipmentName           = model.EquipmentName;
     this.LineKey                 = model.LineKey;
     this.LineName                = model.LineName;
     this.LotEditTime             = model.LotEditTime;
     this.LotNumber               = model.LotNumber;
     this.OperationType           = model.OperationType;
     this.RoomKey                 = model.RoomKey;
     this.RoomName                = model.RoomName;
     this.ShiftKey                = model.ShiftKey;
     this.ShiftName               = model.ShiftName;
     this.TitleName               = model.TitleName;
     this.UserName                = model.UserName;
     this.OperationName           = model.OperationName;
     this.IsCheckSILot            = model.IsCheckSILot;
     this.IsCheckColorByWorkOrder = model.IsCheckColorByWorkOrder;
     this.IsShowSetNewRoute       = model.IsShowSetNewRoute;
     this.IsShowPrintLabelDialog  = model.IsShowPrintLabelDialog;
     //------------------添加分档相关字段-----------------
     this.VirtualCustomerNumber = model.VirtualCustomerNumber;                           //分档档位信息
     this.TrayText      = model.TrayText;
     this.TrayValue     = model.TrayValue;
     this.Number        = model.Number;
     this.PackageNumber = model.PackageNumber;
     this.Color         = model.Color;
     this.WorkOrderNo   = model.WorkOrderNo;
     this.PatrNumber    = model.PatrNumber;
     this.GradeName     = model.GradeName;
     this.PsKey         = model.PsKey;
     this.SubPowerlevel = model.SubPowerlevel;
     this.IsFlip        = model.IsFlip;
     //------------------添加是否包护角字段-----------------
     this.IsPack = model.IsPack;
 }
Example #8
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public LotDispatchForCustCheckViewContent(LotDispatchDetailModel model, string check_type)
            : base()
        {
            Panel panel = new Panel();

            panel.Dock        = DockStyle.Fill;
            panel.BorderStyle = BorderStyle.FixedSingle;
            //this.TitleName = model.TitleName;

            if (check_type == CHECKTYPE.DATA_GROUP_ENDCHECK)
            {
                this.TitleName = string.Format("{0}_" + StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatch.FINAL_CHECK}"), model.TitleName);//终检
            }
            else
            {
                this.TitleName = string.Format("{0}" + StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotDispatch.CUSTOMER_CHECK}"), model.TitleName);//客检
            }
            LotDispatchForCustCheck wk = new LotDispatchForCustCheck(model, this);

            wk.checktype = check_type;
            wk.Dock      = DockStyle.Fill;
            panel.Controls.Add(wk);
            this.control = panel;
        }
Example #9
0
 /// <summary>
 /// 构造函数。
 /// </summary>
 /// <param name="model"></param>
 public LotToWarehouseDetail(LotDispatchDetailModel model, IViewContent view)
 {
     InitializeComponent();
     this._view  = view;
     this._model = model;
 }
Example #10
0
 /// <summary>
 /// 构造函数。
 /// </summary>
 /// <param name="model"></param>
 /// <param name="view"></param>
 public LotToWarehouseCheck(LotDispatchDetailModel model, IViewContent view) : this()
 {
     _model = model;
     _view  = view;
 }