准备简化项目

wangsr
wangsr 1 year ago
parent 9057fb6d9b
commit 502ca66d25

@ -61,8 +61,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
byte[] reachState;
byte[] mixState;
#endregion
#region 控件变量
@ -1489,8 +1487,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
#endregion
#region 图像控件交互
/// <summary>

@ -565,7 +565,6 @@
<Compile Include="MaterialManage\ModifyMaterialAction.cs" />
<Compile Include="MinAn\MinAnPlc.cs" />
<Compile Include="OliveEQSetting\InItDbAction.cs" />
<Compile Include="Pl\PlcConnect.cs" />
<Compile Include="Product\ProductHelper.cs" />
<Compile Include="ProjectDebug\OpenProjectDebug.cs" />
<Compile Include="ProjectDebug\XC_DebugAction.cs" />

@ -1,37 +0,0 @@
//using HslCommunication.Profinet.Siemens;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace Mesnac.Action.ChemicalWeighing.Pl
//{
// public class PlcConnect
// {
// private static readonly Lazy<SiemensS7Net> lazy = new Lazy<SiemensS7Net>(() => new PlcConnect().SiemensS7NetConnection());
// public static SiemensS7Net Instance => lazy.Value;
// private PlcConnect()
// {
// }
// private SiemensS7Net SiemensS7NetConnection()
// {
// SiemensPLCS siemensPLCS = SiemensPLCS.S1500;
// SiemensS7Net s7 = new SiemensS7Net(siemensPLCS);
// s7.IpAddress = PlcAddressUtil.IpAddress;
// s7.Port = PlcAddressUtil.Port;
// s7.ConnectServer();
// return s7;
// }
// }
//}

@ -37,7 +37,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report.DryMixer
this._clientGridControl = GetAllControls().Where(x => x.Name.Contains("MultiColHeaderDgv1")).FirstOrDefault();
Mesnac.Controls.Default.MultiColHeaderDgv clientGrid = (this._clientGridControl as Mesnac.Controls.Default.MultiColHeaderDgv);
@ -90,10 +90,10 @@ namespace Mesnac.Action.ChemicalWeighing.Report.DryMixer
//获取明细数据
StringBuilder sqlStr = new StringBuilder(@"select t1.batch as 批次号,t2.MName as 物料,
t1.actValue as ,t1.actToler as
from Report_DryDos_Detail t1
left join lj_stock_material t2 on t1.matCode = t2.Code
where t2.MTypeId=1 and t1.reportId = @reportId");
t1.actValue as ,t1.actToler as
from Report_DryDos_Detail t1
left join lj_stock_material t2 on t1.matCode = t2.Code
where t2.MTypeId=1 and t1.reportId = @reportId");
dbHelper.CommandText = sqlStr.ToString();
dbHelper.CommandType = System.Data.CommandType.Text;
dbHelper.AddParameter("@reportId", lR_planID);
@ -108,7 +108,7 @@ t1.actValue as 实际重量,t1.actToler as 实际公差
dbHelper.CommandText = sql.ToString();
dbHelper.CommandType = System.Data.CommandType.Text;
DataTable tableB = dbHelper.ToDataTable();
clientGrid2.DataSource = tableB;

Loading…
Cancel
Save