1
This commit is contained in:
parent
10361cbd0a
commit
cc7f45c9da
@ -1666,7 +1666,7 @@ namespace ViewModel
|
||||
if (NextStationReceive.Running && !NextStationReceive.RequestCache)
|
||||
{
|
||||
NextStationReceive.RequestCacheAchieve = false;
|
||||
NextStationReceive.Product = new ShowInfo() { StatusBackground = ColorStr.Gray };
|
||||
NextStationReceive.Product = new ShowInfo() { StatusBackground = ColorStr.Gray };
|
||||
}
|
||||
|
||||
//运行中&非单机模式,发送运行状态
|
||||
@ -1971,9 +1971,11 @@ namespace ViewModel
|
||||
break;
|
||||
case GengralProcessEnum.Step1:
|
||||
RobotSafe = true;
|
||||
FrontStationSend.Safe = true ;
|
||||
//获取前站出料请求
|
||||
if (FrontStationReceive.RequestOut && FrontStationReceive.Running && FrontStationReceive.Safe || OfflineMode)
|
||||
{
|
||||
FrontStationSend.Safe = false;
|
||||
RobotSafe = false;
|
||||
//获取取料点
|
||||
TempPoint = Coper(Robot.RobotPointList.Where(w => w.PointType == 3).FirstOrDefault());
|
||||
@ -3544,8 +3546,8 @@ namespace ViewModel
|
||||
&& TestBenchBox[1].XDingShengQigangDW.LightUp
|
||||
&& TestBenchBox[1].XShenSuoQigangDW.LightUp)
|
||||
{
|
||||
string sn1 = TestBenchBox[0].State.StatuInfo == "" ? "12345678901234567890" : TestBenchBox[0].State.StatuInfo;
|
||||
string sn2 = TestBenchBox[1].State.StatuInfo == "" ? "12345678901234567890" : TestBenchBox[1].State.StatuInfo;
|
||||
string sn1 = TestBenchBox[0].State.StatuInfo == "" ? "12345678901" : TestBenchBox[0].State.StatuInfo;
|
||||
string sn2 = TestBenchBox[1].State.StatuInfo == "" ? "12345678901" : TestBenchBox[1].State.StatuInfo;
|
||||
//string sn1 = "1234567890123";
|
||||
//string sn2 = "1234567890123";
|
||||
|
||||
@ -3556,6 +3558,14 @@ namespace ViewModel
|
||||
|
||||
//发送二维码和开始信号
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
TestMachine.SendInfo(sn1 + ";" + sn2 + ";LOADOK");
|
||||
|
||||
//TestMachine.SendInfo("12;34;LOADOK");
|
||||
MyFlow.RunStep++;
|
||||
@ -5447,12 +5457,18 @@ namespace ViewModel
|
||||
case GengralProcessEnum.Step10:
|
||||
MyFlow.OutCmd.Switchs = false;
|
||||
//后站要料,出料
|
||||
if (NextStationReceive.RequestCache && NextStationReceive.Running)
|
||||
if (CacheLineList[1].State.StatusBackground == ColorStr.White) {
|
||||
|
||||
MyFlow.RunStep = GengralProcessEnum.Step1 ;
|
||||
MyFlow.RunTime = DateTime.Now;
|
||||
}
|
||||
else if (NextStationReceive.RequestCache && NextStationReceive.Running)
|
||||
{
|
||||
|
||||
MyFlow.RunStep++;
|
||||
MyFlow.RunTime = DateTime.Now;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case GengralProcessEnum.Step11:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user