92 lines
2.6 KiB
C++
92 lines
2.6 KiB
C++
/*********************************************************************
|
|
*
|
|
* 文 件: CusCopyProcess.h 处理原始数据拷贝
|
|
*
|
|
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
|
*
|
|
* 概述:
|
|
* :
|
|
* :
|
|
*
|
|
* 版本历史
|
|
* 1.0 2010-09-02 echo_li 增加注释
|
|
*
|
|
*********************************************************************/
|
|
#ifndef CUSCOPYPROCESS_H_
|
|
#define CUSCOPYPROCESS_H_
|
|
|
|
#include <base/DbgStructures.h>
|
|
#include "MatDivisionIncludes.h"
|
|
#include <dao/CopyProcess.h>
|
|
|
|
namespace baosight{
|
|
|
|
/*********************************************************************
|
|
* 类 名: CusCopyProcess
|
|
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
|
* 类 职 责:负责原始数据的拷贝
|
|
* :
|
|
* :
|
|
* 版本历史
|
|
* 1.0 2010-09-02 echo_li 增加注释
|
|
*
|
|
*********************************************************************/
|
|
class CusCopyProcess: public CopyProcess
|
|
{
|
|
public:
|
|
CusCopyProcess(void);
|
|
public:
|
|
virtual ~CusCopyProcess(void);
|
|
|
|
public:
|
|
/**********************************************************************
|
|
* 概述: 插入原始数据相关表
|
|
* 函数名: InsertTable
|
|
* 返回值: short
|
|
* 参数列表: 参数类型 取值范围 描述
|
|
* muCode: MU_CODE
|
|
* newMuId1: long
|
|
*
|
|
* 版本历史
|
|
* 1.0 2010-09-02 echo_li 增加注释
|
|
*
|
|
**********************************************************************/
|
|
short InsertTable(MU_CODE muCode,long newMuId1);
|
|
/**********************************************************************
|
|
* 概述: 剪切设定计算
|
|
* 函数名: CalculateDivLen
|
|
* 返回值: void
|
|
* 参数列表: 参数类型 取值范围 描述
|
|
* muCode: const MU_CODE
|
|
*
|
|
* 版本历史
|
|
* 1.0 2010-09-02 echo_li 增加注释
|
|
*
|
|
**********************************************************************/
|
|
void CalculateDivLen(const MU_CODE muCode);
|
|
/**********************************************************************
|
|
* 概述: 处理过渡卷数据
|
|
* 函数名: ProcessDummy
|
|
* 返回值: short
|
|
* 参数列表: 参数类型 取值范围 描述
|
|
* muCode: const MU_CODE
|
|
* matStructEntry: const MAT_STRUCTURE
|
|
*
|
|
* 版本历史
|
|
* 1.0 2010-09-02 echo_li 增加注释
|
|
*
|
|
**********************************************************************/
|
|
short ProcessDummy(const MU_CODE muCode,const MAT_STRUCTURE matStructEntry);
|
|
|
|
private:
|
|
MAT_STRUCTURE material;
|
|
DbgStructures dbgStruct;
|
|
MAT_STRUCTURE entryStructure;
|
|
private:
|
|
char* mp_dbMessage; // Pointer for DB Messages
|
|
|
|
};
|
|
};
|
|
|
|
#endif
|