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;
}
///
/// 值是否发生变化 父类控件变化与上Vd操作界面变化
///
protected override bool ValueChanged
{
get { return ucNewResVds.HasChanged || base.ValueChanged; }
}
///
/// 数据是否可保存, 父类控件是否可以保存并上Vd操作界面是否可保存
///
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;
}
///
/// 查询操作界面
///
protected override void QueryOperation()
{
ucNewResVds.QueryDate(CurrentEntity.StoveNo, Station);
}
protected override bool SavePerformance()
{
return ucNewResVds.saveDate();
}
}
}