From def291509b5d8c3da5229aea41182c95eb7ba5b5 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期六, 13 九月 2025 11:37:58 +0800 Subject: [PATCH] 1. SG精度检添加产品ID写入PLC功能 2. SG精度检产品ID显示乱码问题 3. 更新bond报警解析文件 --- SourceCode/Bond/SGMeasurement/PLCSignalListener.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/SGMeasurement/PLCSignalListener.h b/SourceCode/Bond/SGMeasurement/PLCSignalListener.h index aa40df7..73ce823 100644 --- a/SourceCode/Bond/SGMeasurement/PLCSignalListener.h +++ b/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 杈撳嚭鏃ュ織淇℃伅锛堝皝瑁呮棩蹇楀洖璋冿級銆� -- Gitblit v1.9.3