mrDarker
6 天以前 829fe6c6bc33d53fda9c31fd45a37e1df87befff
SourceCode/Bond/SGMeasurement/PLCSignalListener.h
@@ -87,6 +87,17 @@
    */
   bool ReadProductID(std::string& strProductID);
   /**
    * @brief 将产品 ID(字符串形式)写入 PLC 内部。
    *
    * @param strProductID  输入参数,要写入的产品 ID。
    *                      字符串会按字节对齐,每两个字节组成一个 Word,
    *                      写入 PLC 的指定寄存器区域,不足时自动补零。
    * @return true         写入成功。
    * @return false        写入失败。
    */
   bool WriteProductID(const std::string& strProductID);
private:
   /**
    * @brief 输出日志信息(封装日志回调)。