| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Core.StlMes.Client.LgCommon;
- namespace Core.StlMes.Client.LgResMgt
- {
- public partial class frmVdsResults : frmSteelResults
- {
- public frmVdsResults()
- {
- InitializeComponent();
- Process = LG_PROCESS.VD;
- }
- /// <summary>
- /// 值是否发生变化 父类控件变化与上Vd操作界面变化
- /// </summary>
- protected override bool ValueChanged
- {
- get { return ucNewResVds.HasChanged || base.ValueChanged; }
- }
- /// <summary>
- /// 数据是否可保存, 父类控件是否可以保存并上Vd操作界面是否可保存
- /// </summary>
- protected override bool CanSave
- {
- get { return ucNewResVds.AllowSave && base.CanSave; }
- }
- protected override bool DataOver
- {
- get
- {
- return ucNewResVds.CurrentData.Reposebegintime != null &&
- ucNewResVds.CurrentData.Reposeendtime != null;
- }
- }
- protected override void OnLoad(EventArgs e)
- {
- ucNewResVds.SetBase(ob, UserName, ShifCode,Process);
- base.OnLoad(e);
- ucNewResVds.OperationOver += ucStoveQuery1.GoNext;
- ucNewResVds.OperationBegin += ucStoveQuery1.QueryStovePlan;
- }
- /// <summary>
- /// 查询操作界面
- /// </summary>
- protected override void QueryOperation()
- {
- ucNewResVds.QueryDate(CurrentEntity.StoveNo, Station);
- }
- protected override bool SavePerformance()
- {
- return ucNewResVds.saveDate();
- }
- }
- }
|