mrDarker
2025-06-21 90c8673e4edaf2e68931470b4d480e02d4634fd0
SourceCode/Bond/Servo/ServoCommo.h
@@ -1,5 +1,6 @@
#pragma once
#include <string>
#include <vector>
namespace SERVO {
#define BLOCK_BUFFER_MAX         1024
@@ -165,6 +166,22 @@
      Error
   };
   /* Port Status */
   struct SlotConfig {
      int nSlotID = 0;
      bool isEnabled = false;
   };
   struct PortConfig {
      int nMaterialType;            // 物料类型,1: G1, 2: G2, 3: G1+G2
      std::string strPortName;       // 例如 "Port 1"
      std::string strRecipe;         // 例如 "P1001"
      std::string strLotID;
      std::string strProductID;
      std::string strOperationID;
      std::vector<SlotConfig> vecSlot;
   };
   /* EQ Data changed code */
#define EDCC_FETCHOUT_JOB            1000   /* ȡƬ */
#define EDCC_STORED_JOB               1001   /* 放片 */