|
|
@ -37,6 +37,24 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
|
|
|
|
DataTable table =
|
|
|
|
DataTable table =
|
|
|
|
DBHelp.GetTable(@"select Id, Name, HighSpeed, LowSpeed, WeightSlow, Precut, JogTime from MetageSetting");
|
|
|
|
DBHelp.GetTable(@"select Id, Name, HighSpeed, LowSpeed, WeightSlow, Precut, JogTime from MetageSetting");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (DataRow row in table.Rows)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
string name=row["name"].ToString();
|
|
|
|
|
|
|
|
if(name == "大仓G")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row["name"] = "大仓J";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (name == "大仓J")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row["name"] = "大仓G";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this._materialGridControl != null && this._materialGridControl.BaseControl != null)
|
|
|
|
if (this._materialGridControl != null && this._materialGridControl.BaseControl != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this._materialGridControl.BaseControl.BindDataSource = null;
|
|
|
|
this._materialGridControl.BaseControl.BindDataSource = null;
|
|
|
|