Commit 73ccbb28 LN

引用的log4net使用 2.0.8.0

1 个父辈 ad902fcf
此文件类型无法预览
......@@ -83,6 +83,20 @@
<param name="bitNo">DI索引,从0开始</param>
<returns></returns>
</member>
<member name="M:HuichuanLibrary.HCBoardManager.GetAdVal(System.Int16)">
<summary>
模拟量IO值获取 获取EtherCAT 第 adNo号的ad值
</summary>
<param name="adNo">ad的通道:0~配置个数</param>
<returns>获取AD的输入值</returns>
</member>
<member name="M:HuichuanLibrary.HCBoardManager.GetAdSts(System.Int16)">
<summary>
获取EtherCAT 第 adNo号的状态
</summary>
<param name="adNo">ad的通道:0~配置个数</param>
<returns>获取AD的状态值</returns>
</member>
<member name="M:HuichuanLibrary.HCBoardManager.ServoOn(System.Int16)">
<summary>
打开轴
......@@ -334,6 +348,46 @@
回原点状态:3=回零完成
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.VoltageSts">
<summary>
Bit0 ,负载电压故障,0:接入外部电源,1:未接入外部电源
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.ConnectSts">
<summary>
Bit1 ,模拟芯片连接错误,0:数字版与模拟板通讯正常,1:数字版与模拟板通讯错误
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.NoSts">
<summary>
Bit2:通道故障
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.Overflow">
<summary>
Bit3:通道上溢
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.Underflow">
<summary>
Bit4:通道下溢
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.PEL">
<summary>
Bit5:通道超上限
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.NEL">
<summary>
Bit6:通道超下限
</summary>
</member>
<member name="F:HuichuanLibrary.AdStsInfo.OffLine">
<summary>
Bit7:通道断线
</summary>
</member>
<member name="F:HuichuanLibrary.AxisSts.ALM">
<summary>
轴报警信号
......
......@@ -60,6 +60,10 @@ namespace OnlineStore.DeviceLibrary
}
public static bool SetStatus(string id, string shelfId = "", ClientAction action = ClientAction.None, ClientLevel level = ClientLevel.Low, bool isMust = false)
{
if (agvClient == null)
{
return false ;
}
if (!isMust && level.Equals(ClientLevel.Low))
{
if (actionMap.ContainsKey(id))
......
......@@ -158,7 +158,7 @@ namespace OnlineStore.DeviceLibrary
storeRunStatus = StoreRunStatus.HomeMoving;
storeStatus = StoreStatus.ResetMove;
//启动温湿度服务器
RFIDManager.Open(new string[] { Config.RFID_IP1,Config.RFID_IP2,Config.RFID_IP3});
RFIDManager.Open(new string[] { Config.RFID_IP1, Config.RFID_IP2, Config.RFID_IP3 });
lineConn.StartConnect();
ReturnHome();
......
......@@ -28,16 +28,16 @@ namespace OnlineStore.DeviceLibrary
MoveInfo = new StoreMoveInfo(1);
this.Name = "" + name;
this.AgvName = agvName;
DI_FrontCheck += name;
DI_InCheck += name;
DI_LocationCylinder_Up1 += name;
DI_LocationCylinder_Down1 += name;
DI_LocationCylinder_Up2 += name;
DI_LocationCylinder_Down2 += name;
DO_LineRun += name;
DO_LineBackRun += name;
DO_LocationCylinder_Up += name;
DO_LocationCylinder_Down += name;
DI_FrontCheck = name+ DI_FrontCheck;
DI_InCheck = name+ DI_InCheck;
DI_LocationCylinder_Up1 = name+ DI_LocationCylinder_Up1;
DI_LocationCylinder_Down1 = name+ DI_LocationCylinder_Down1;
DI_LocationCylinder_Up2 = name+ DI_LocationCylinder_Up2;
DI_LocationCylinder_Down2 = name+ DI_LocationCylinder_Down2;
DO_LineRun = name+ DO_LineRun;
DO_LineBackRun = name+ DO_LineBackRun;
DO_LocationCylinder_Up = name+ DO_LocationCylinder_Up;
DO_LocationCylinder_Down = name+ DO_LocationCylinder_Down;
}
......
......@@ -11,8 +11,7 @@ using System.Threading;
using System.IO;
using System.Runtime.InteropServices;
using OnlineStore.Common;
using System.Reflection;
using log4net;
using System.Reflection;
using OnlineStore.DeviceLibrary;
using System.IO.Ports;
using OnlineStore.LoadCSVLibrary;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!