From d119dcff794370b1852c0e9a3cda28d8d2bc6ae8 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 30 五月 2025 17:24:51 +0800
Subject: [PATCH] 1. 添加搬运记录对话框 2. 修复搬运记录的数据库管理类的中文问题

---
 SourceCode/Bond/Servo/CJobDataS.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CJobDataS.h b/SourceCode/Bond/Servo/CJobDataS.h
index a2e3964..8f5bae6 100644
--- a/SourceCode/Bond/Servo/CJobDataS.h
+++ b/SourceCode/Bond/Servo/CJobDataS.h
@@ -1,14 +1,18 @@
 #pragma once
+#include "CAttributeVector.h"
 
 
+#define JOBDATAS_SIZE		(256 * 2)
 namespace SERVO {
 	class CJobDataS
 	{
 	public:
 		CJobDataS();
+		CJobDataS::CJobDataS(CJobDataS&& other) noexcept;
 		~CJobDataS();
 
 	public:
+		void copy(CJobDataS* pScr);
 		int getCassetteSequenceNo();
 		void setCassetteSequenceNo(int no);
 		int getJobSequenceNo();
@@ -67,6 +71,10 @@
 		void setTargetPortNo(int no);
 		int getTargetSlotNo();
 		void setTargetSlotNo(int no);
+		int serialize(char* pszBuffer, int nBufferSize);
+		int unserialize(const char* pszBuffer, int nBufferSize);
+		void getAttributeVector(CAttributeVector& attrubutes, int beginWeight);
+
 
 	private:
 		int m_nCassetteSequenceNo;
@@ -98,6 +106,9 @@
 		int m_nSourceSlotNo;
 		int m_nTargetPortNo;
 		int m_nTargetSlotNo;
+
+	private:
+		char* m_pRawData;
 	};
 }
 

--
Gitblit v1.9.3