北京安通林JIS系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

63 lines
2.1 KiB

using Stone.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Stone.WinModule.JisData
{
public partial class frmPJISError : Stone.WinModule.BasicData.frmBaseMainDetail
{
public frmPJISError()
{
InitializeComponent();
}
private void frmPJISError_Load(object sender, EventArgs e)
{
this.Text = "JIS门板错误处理";
}
public override bool GetData()
{
if (!MyValidator.IsEmpty(this.txtFLProdNo, "")) return false;
if (!MyValidator.IsEmpty(this.txtFRProdNo, "")) return false;
if (!MyValidator.IsEmpty(this.txtRLProdNo, "")) return false;
if (!MyValidator.IsEmpty(this.txtRRProdNo, "")) return false;
base.GetData();
drData["FLProdNo"] = MyStrings.GetString(this.txtFLProdNo.Text.Trim());
drData["FRProdNo"] = MyStrings.GetString(this.txtFRProdNo.Text.Trim());
drData["RLProdNo"] = MyStrings.GetString(this.txtRLProdNo.Text.Trim());
drData["RRProdNo"] = MyStrings.GetString(this.txtRRProdNo.Text.Trim());
drData["IsError"] = this.txtIsError.Checked;
drData["ErrorMsg"] = MyStrings.GetString(this.txtErrorMessage.Text.Trim());
return true;
}
public override bool SetData()
{
if (base.SetData())
{
this.txtProductionNo.Text = drData["ProductionNo"].ToString();
this.txtFLProdNo.Text = drData["FLProdNo"].ToString();
this.txtFRProdNo.Text = drData["FRProdNo"].ToString();
this.txtRLProdNo.Text = drData["RLProdNo"].ToString();
this.txtRRProdNo.Text = drData["RRProdNo"].ToString();
this.txtIsError.Checked = Convert.ToBoolean(drData["IsError"]);
this.txtErrorMessage.Text = drData["ErrorMsg"].ToString();
}
return false;
}
}
}