Browse Source

update TMROBot,VCE Simulator

zhouhr 1 year ago
parent
commit
75fc0c642e

+ 1 - 1
Venus/Venus_Simulator/Devices/SETMSimulatorServer.cs

@@ -18,7 +18,7 @@ namespace Venus_Simulator.Devices
         private readonly Regex _move_wafer = new Regex(@"(PLACE|PICK)\s+(\d+)\s+ARM\s+(A|B)\s*");
 
         private PeriodicJob _HwThread;
-        public SETMSimulatorServer() : base(1103, -1, "\r", ' ')
+        public SETMSimulatorServer() : base(1103, -1, "\n", ' ')
         {
             _HwThread = new PeriodicJob(500, OnSendEvent, "honghuRobot", true);
         }

+ 1 - 1
Venus/Venus_Simulator/Devices/VceSimulator.cs

@@ -11,7 +11,7 @@ namespace Venus_Simulator.Devices
 {
     public class VceSimulator : SerialPortDeviceSimulator
     {
-        private const string EOF = "\n\r";
+        private const string EOF = "\r\r";
         private const char MSG_DELIMITER = ' ';
         private const string VCE_Port = "COM161";
         private Regex _action_rule = new Regex(@"\d\d,A,.*");