Commit 1c163202 刘韬

出库时屏蔽料叉检测

1 个父辈 0e1429fb
......@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 8df519a3f541e9b5045e30ff7459067dc3f30f8a")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 0e1429fb249590453ab89366ff80a630d1edae41")]
[assembly: AssemblyCopyright("Copyright ? 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
......
......@@ -442,7 +442,7 @@ namespace OnlineStore.DeviceLibrary
{
InStoreLog("入库:SI_08 检测叉子料盘检测信号 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_08_CheckTray);
StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Fixture, IO_VALUE.HIGH));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Fixture, IO_VALUE.HIGH));
}
else
//if (IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
......@@ -621,7 +621,7 @@ namespace OnlineStore.DeviceLibrary
}
return false;
}
bool fixturestates = false;
//bool fixturestates = false;
LineMoveP movePfix = new LineMoveP();
protected override void OutStoreProcess()
{
......@@ -646,7 +646,7 @@ namespace OnlineStore.DeviceLibrary
}
else if (StoreMove.MoveStep == StoreMoveStep.SO_02_DeviceBack)
{
fixturestates = false;
//fixturestates = false;
StoreMove.NextMoveStep(StoreMoveStep.SO_03_ToBagPosition);
OutStoreLog("出库:SO_03 走到库位,压紧轴至P3(压紧前点) ,旋转轴至P2(库位点),升降轴至P5(库位出库前点)");
ComMoveToPosition(moveP.ComPress_P3, Config.CompAxis_P3_Speed);
......@@ -693,7 +693,7 @@ namespace OnlineStore.DeviceLibrary
}
HIKCamera.Current.CameraGrabOne(HIKCamera.Current.GetFixtureStateFilename(StoreMove.MoveParam, StoreMove.MoveType, FixtureState.Out));
fixturestates = IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH);
//fixturestates = IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH);
var fixposid = $"fix#{StoreMove.MoveParam.PlagtW}";
var fixposition = CSVPositionReader<ACStorePosition>.GetPositon(fixposid);
......
......@@ -179,6 +179,10 @@ namespace OnlineStore.LoadCSVLibrary
{
prop.SetValue(this, Convert.ChangeType("", prop.PropertyType), null);//赋值****在这里需要考虑类型问题
}
else if (prop.PropertyType.Equals(typeof(double)))
{
prop.SetValue(this, Convert.ChangeType(0, prop.PropertyType), null);//赋值****在这里需要考虑类型问题
}
else
{
prop.SetValue(this, Convert.ChangeType(null, prop.PropertyType), null);//赋值****在这里需要考虑类型问题
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!