Commit 459bc4ee 刘韬

开门时安全光栅被遮挡,料仓暂停运行.

料叉没有成功取出料盘,请检查库位[{posId}],取出料盘后请复位.
1 个父辈 3e118616
......@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 8def8f29ef6dde286408d4a719172e2c926b2622")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 3e118616c07f7b355f3a704f34346d4bf67708ee")]
[assembly: AssemblyCopyright("Copyright ? 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
......
......@@ -43,7 +43,7 @@ namespace OnlineStore
LoadData();
}
}
private static char spilt = ',';
private static char spilt = '#';
private static void LoadData()
{
ResourceControl.GetChinaStringEvent += GetChinaString;
......
......@@ -399,5 +399,8 @@ namespace OnlineStore.DeviceLibrary
/// 出库完成
/// </summary>
public static string OutStorEnd = "OutStorEnd";
public static string take_out_reel_failure = "take_out_reel_failure";
public static string safety_grating_covered = "safety_grating_covered";
}
}
......@@ -330,7 +330,7 @@ namespace OnlineStore.DeviceLibrary
{
if (!DoorIsClose() && IOManager.IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW))
{
SetWarnMsg(ResourceControl.CustAlarm,"开门时安全光栅被遮挡,暂停运行");
SetWarnMsg(ResourceControl.safety_grating_covered, "开门时安全光栅被遮挡,暂停运行");
return;
}
LineMoveP moveP = StoreMove.MoveParam.MoveP;
......@@ -748,7 +748,7 @@ namespace OnlineStore.DeviceLibrary
//OutStoreLog("出库:SO_12_DeviceOutFromDoor 升降轴返回,轴2至P1(待机点) ,关闭仓门,更改状态为出库完成");
//ACAxisMove(Config.UpDown_Axis, StoreMove.MoveParam.MoveP.UpDown_P1, Config.UpDownAxis_P1_Speed);
//CloseDoor();
SetWarnMsg(ResourceControl.CustAlarm, $"料叉没有成功取出料盘,请检查库位[{posId}]");
SetWarnMsg(ResourceControl.take_out_reel_failure, $"料叉没有成功取出料盘,请检查库位[{posId}]");
OutStoreLog($"料叉没有成功取出料盘,请检查库位[{posId}]");
}
//改为出库完成
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!