准备简化项目

wangsr
wangsr 1 year ago
parent 9057fb6d9b
commit 502ca66d25

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

@ -565,7 +565,6 @@
<Compile Include="MaterialManage\ModifyMaterialAction.cs" /> <Compile Include="MaterialManage\ModifyMaterialAction.cs" />
<Compile Include="MinAn\MinAnPlc.cs" /> <Compile Include="MinAn\MinAnPlc.cs" />
<Compile Include="OliveEQSetting\InItDbAction.cs" /> <Compile Include="OliveEQSetting\InItDbAction.cs" />
<Compile Include="Pl\PlcConnect.cs" />
<Compile Include="Product\ProductHelper.cs" /> <Compile Include="Product\ProductHelper.cs" />
<Compile Include="ProjectDebug\OpenProjectDebug.cs" /> <Compile Include="ProjectDebug\OpenProjectDebug.cs" />
<Compile Include="ProjectDebug\XC_DebugAction.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;
// }
// }
//}
Loading…
Cancel
Save