|
|
|
@ -292,8 +292,24 @@ namespace Mesnac.Action.ChemicalWeighing.OliveEQSetting
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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 order by Soc");
|
|
|
|
|
|
|
|
|
|
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 (materialGridControl != null && materialGridControl.BaseControl != null)
|
|
|
|
|
{
|
|
|
|
|
materialGridControl.BaseControl.BindDataSource = null;
|
|
|
|
|