1041 lines
19 KiB
C++
1041 lines
19 KiB
C++
// Version: 2021.1.18 16:0:35
|
|
|
|
#ifndef _T_LOV_FDAAITEM_H
|
|
#define _T_LOV_FDAAITEM_H
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable:4996)
|
|
#pragma warning(disable:4267)
|
|
#endif
|
|
#include "T_LOV_FDAAITEMDBAX.h"
|
|
class T_LOV_FDAAITEM{
|
|
friend class T_LOV_FDAAITEMDBAX;
|
|
private:
|
|
//aggregation to DB Class
|
|
T_LOV_FDAAITEMDBAX db;
|
|
public:
|
|
//
|
|
//A T T R I B U T E S
|
|
//===================
|
|
//
|
|
bool dbAccess;
|
|
char* dbMessage;// pointer for the return values of DBAX methodes
|
|
char messageBuffer[200];// temporary message buffer
|
|
friend class PapLib;
|
|
protected:
|
|
//
|
|
//A T T R I B U T E S
|
|
//===================
|
|
//
|
|
long l_majNo;
|
|
long l_minNo;
|
|
long l_eventno;
|
|
char c_teleId[10+1];
|
|
short s_teleIdZi;
|
|
char c_item[100+1];
|
|
short s_itemZi;
|
|
char c_chinese[100+1];
|
|
short s_chineseZi;
|
|
char c_unit[10+1];
|
|
short s_unitZi;
|
|
char c_blockno[100+1];
|
|
short s_blocknoZi;
|
|
char c_wordno[100+1];
|
|
short s_wordnoZi;
|
|
char c_bitno[50+1];
|
|
short s_bitnoZi;
|
|
char c_factor[12+1];
|
|
short s_factorZi;
|
|
long l_length;
|
|
short s_lengthZi;
|
|
long l_offset;
|
|
short s_offsetZi;
|
|
long l_repeat;
|
|
short s_repeatZi;
|
|
char c_datatype[2+1];
|
|
short s_datatypeZi;
|
|
char c_defaultValue[10+1];
|
|
short s_defaultValueZi;
|
|
char c_flag[16+1];
|
|
short s_flagZi;
|
|
char c_Table1[40+1];
|
|
short s_Table1Zi;
|
|
char c_column1[40+1];
|
|
short s_column1Zi;
|
|
char c_Table2[40+1];
|
|
short s_Table2Zi;
|
|
char c_column2[40+1];
|
|
short s_column2Zi;
|
|
char c_Table3[40+1];
|
|
short s_Table3Zi;
|
|
char c_column3[40+1];
|
|
short s_column3Zi;
|
|
char c_Table4[40+1];
|
|
short s_Table4Zi;
|
|
char c_column4[40+1];
|
|
short s_column4Zi;
|
|
char c_Table5[40+1];
|
|
short s_Table5Zi;
|
|
char c_column5[40+1];
|
|
short s_column5Zi;
|
|
char c_fdaaAddr[50+1];
|
|
short s_fdaaAddrZi;
|
|
char c_fdaaItem[100+1];
|
|
short s_fdaaItemZi;
|
|
char c_limitDB[64+1];
|
|
short s_limitDBZi;
|
|
char c_limitMin[32+1];
|
|
short s_limitMinZi;
|
|
char c_limitMax[32+1];
|
|
short s_limitMaxZi;
|
|
char c_visable[1+1];
|
|
short s_visableZi;
|
|
char c_remark[100+1];
|
|
short s_remarkZi;
|
|
char c_toc[27];
|
|
short s_tocZi;
|
|
char c_tom[27];
|
|
short s_tomZi;
|
|
char c_mop[121];
|
|
short s_mopZi;
|
|
char c_mou[31];
|
|
short s_mouZi;
|
|
// arguments for Primary key
|
|
long l_k_majNo;
|
|
long l_k_minNo;
|
|
long l_k_eventno;
|
|
public:
|
|
//
|
|
// LTA Structure
|
|
struct STR_T_LOV_FDAAITEM{
|
|
int majNo;
|
|
int minNo;
|
|
int eventno;
|
|
char teleId[10+1];
|
|
char item[100+1];
|
|
char chinese[100+1];
|
|
char unit[10+1];
|
|
char blockno[100+1];
|
|
char wordno[100+1];
|
|
char bitno[50+1];
|
|
char factor[12+1];
|
|
int length;
|
|
int offset;
|
|
int repeat;
|
|
char datatype[2+1];
|
|
char defaultValue[10+1];
|
|
char flag[16+1];
|
|
char Table1[40+1];
|
|
char column1[40+1];
|
|
char Table2[40+1];
|
|
char column2[40+1];
|
|
char Table3[40+1];
|
|
char column3[40+1];
|
|
char Table4[40+1];
|
|
char column4[40+1];
|
|
char Table5[40+1];
|
|
char column5[40+1];
|
|
char fdaaAddr[50+1];
|
|
char fdaaItem[100+1];
|
|
char limitDB[64+1];
|
|
char limitMin[32+1];
|
|
char limitMax[32+1];
|
|
char visable[1+1];
|
|
char remark[100+1];
|
|
char toc[27];
|
|
char tom[27];
|
|
char mop[121];
|
|
char mou[31];
|
|
}structTable;
|
|
// LTA Structure Zi
|
|
struct STR_T_LOV_FDAAITEMZi{
|
|
short teleIdZi;
|
|
short itemZi;
|
|
short chineseZi;
|
|
short unitZi;
|
|
short blocknoZi;
|
|
short wordnoZi;
|
|
short bitnoZi;
|
|
short factorZi;
|
|
short lengthZi;
|
|
short offsetZi;
|
|
short repeatZi;
|
|
short datatypeZi;
|
|
short defaultValueZi;
|
|
short flagZi;
|
|
short Table1Zi;
|
|
short column1Zi;
|
|
short Table2Zi;
|
|
short column2Zi;
|
|
short Table3Zi;
|
|
short column3Zi;
|
|
short Table4Zi;
|
|
short column4Zi;
|
|
short Table5Zi;
|
|
short column5Zi;
|
|
short fdaaAddrZi;
|
|
short fdaaItemZi;
|
|
short limitDBZi;
|
|
short limitMinZi;
|
|
short limitMaxZi;
|
|
short visableZi;
|
|
short remarkZi;
|
|
short tocZi;
|
|
short tomZi;
|
|
short mopZi;
|
|
short mouZi;
|
|
}structTableZi;
|
|
//
|
|
//C O N S T R U C T O R S
|
|
//=======================
|
|
//
|
|
public:
|
|
T_LOV_FDAAITEM();
|
|
//D E S T R U C T O R S
|
|
//=======================
|
|
//
|
|
virtual ~T_LOV_FDAAITEM();
|
|
//
|
|
//C O P Y - C O N S T R U C T O R
|
|
//=======================
|
|
T_LOV_FDAAITEM(const T_LOV_FDAAITEM &inst);
|
|
// For Constructors with parameters the flag dbAccess
|
|
// informs you if the access was successfully or not
|
|
T_LOV_FDAAITEM( long arg1,long arg2,long arg3);
|
|
|
|
//methods
|
|
public:
|
|
char* getCreationTime() {return (char*)"2021.1.18 16:0:35";};
|
|
//initial data
|
|
void initial();
|
|
//read data
|
|
char* readDB();
|
|
//update data
|
|
char* updateDB();
|
|
//insert data
|
|
char* insertDB();
|
|
//this methode tries to update a DB record , when the update fails , the methode
|
|
//tries an insert of the failed record
|
|
char* storeDB();
|
|
//delete data
|
|
char* deleteDB();
|
|
//delete data
|
|
char* deleteDB(const char* where , long* count );
|
|
//openSetDB data
|
|
char* openSetDB(const char* where ,const char* order );
|
|
//getSetDB data
|
|
char* getSetDB();
|
|
//closeSetDB data
|
|
char* closeSetDB();
|
|
//countDB data
|
|
char* countDB(const char* where , long* count );
|
|
|
|
char* execute(const char* sql , long* count );
|
|
|
|
char* dbCommit();
|
|
|
|
char* dbRollback();
|
|
public:
|
|
//
|
|
// public methode setPrimKey
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void setPrimKey(long arg1 , long arg2 , long arg3 );
|
|
|
|
|
|
// public methode initInsertKeys
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void initInsertKeys( long arg1 , long arg2 , long arg3 );
|
|
|
|
|
|
public:
|
|
//
|
|
// public methode setKeysFromRecord
|
|
//
|
|
// this methode set the unique key attributes from the DB Record Attributes
|
|
//
|
|
void setKeysFromRecord();
|
|
|
|
//
|
|
//O P E R A T O R +
|
|
//===================
|
|
//
|
|
public:
|
|
T_LOV_FDAAITEM operator+(const T_LOV_FDAAITEM &inst) const;
|
|
|
|
//
|
|
//O P E R A T O R =
|
|
//===================
|
|
//
|
|
public:
|
|
const T_LOV_FDAAITEM& operator=(const T_LOV_FDAAITEM &inst);
|
|
long majNo() const;//{
|
|
//return((long)l_majNo );
|
|
//}
|
|
|
|
|
|
void set_majNo( long arg );//{
|
|
//l_majNo = arg;
|
|
//return;
|
|
//}
|
|
|
|
|
|
long minNo() const;//{
|
|
//return((long)l_minNo );
|
|
//}
|
|
|
|
|
|
void set_minNo( long arg );//{
|
|
//l_minNo = arg;
|
|
//return;
|
|
//}
|
|
|
|
|
|
long eventno() const;//{
|
|
//return((long)l_eventno );
|
|
//}
|
|
|
|
|
|
void set_eventno( long arg );//{
|
|
//l_eventno = arg;
|
|
//return;
|
|
//}
|
|
|
|
|
|
char* teleId() const;//{
|
|
//return((char*)c_teleId );
|
|
//}
|
|
|
|
short teleIdZi() const;//{
|
|
//return( s_teleIdZi);
|
|
//}
|
|
|
|
void set_teleId( const char* arg );//{
|
|
//strncpy((char*)c_teleId , arg , sizeof(c_teleId));
|
|
//c_teleId[sizeof(c_teleId)-1] = '\0';
|
|
//s_teleIdZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_teleIdZi( short arg ) ;//{
|
|
//s_teleIdZi = arg;
|
|
//}
|
|
|
|
char* item() const;//{
|
|
//return((char*)c_item );
|
|
//}
|
|
|
|
short itemZi() const;//{
|
|
//return( s_itemZi);
|
|
//}
|
|
|
|
void set_item( const char* arg );//{
|
|
//strncpy((char*)c_item , arg , sizeof(c_item));
|
|
//c_item[sizeof(c_item)-1] = '\0';
|
|
//s_itemZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_itemZi( short arg ) ;//{
|
|
//s_itemZi = arg;
|
|
//}
|
|
|
|
char* chinese() const;//{
|
|
//return((char*)c_chinese );
|
|
//}
|
|
|
|
short chineseZi() const;//{
|
|
//return( s_chineseZi);
|
|
//}
|
|
|
|
void set_chinese( const char* arg );//{
|
|
//strncpy((char*)c_chinese , arg , sizeof(c_chinese));
|
|
//c_chinese[sizeof(c_chinese)-1] = '\0';
|
|
//s_chineseZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_chineseZi( short arg ) ;//{
|
|
//s_chineseZi = arg;
|
|
//}
|
|
|
|
char* unit() const;//{
|
|
//return((char*)c_unit );
|
|
//}
|
|
|
|
short unitZi() const;//{
|
|
//return( s_unitZi);
|
|
//}
|
|
|
|
void set_unit( const char* arg );//{
|
|
//strncpy((char*)c_unit , arg , sizeof(c_unit));
|
|
//c_unit[sizeof(c_unit)-1] = '\0';
|
|
//s_unitZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_unitZi( short arg ) ;//{
|
|
//s_unitZi = arg;
|
|
//}
|
|
|
|
char* blockno() const;//{
|
|
//return((char*)c_blockno );
|
|
//}
|
|
|
|
short blocknoZi() const;//{
|
|
//return( s_blocknoZi);
|
|
//}
|
|
|
|
void set_blockno( const char* arg );//{
|
|
//strncpy((char*)c_blockno , arg , sizeof(c_blockno));
|
|
//c_blockno[sizeof(c_blockno)-1] = '\0';
|
|
//s_blocknoZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_blocknoZi( short arg ) ;//{
|
|
//s_blocknoZi = arg;
|
|
//}
|
|
|
|
char* wordno() const;//{
|
|
//return((char*)c_wordno );
|
|
//}
|
|
|
|
short wordnoZi() const;//{
|
|
//return( s_wordnoZi);
|
|
//}
|
|
|
|
void set_wordno( const char* arg );//{
|
|
//strncpy((char*)c_wordno , arg , sizeof(c_wordno));
|
|
//c_wordno[sizeof(c_wordno)-1] = '\0';
|
|
//s_wordnoZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_wordnoZi( short arg ) ;//{
|
|
//s_wordnoZi = arg;
|
|
//}
|
|
|
|
char* bitno() const;//{
|
|
//return((char*)c_bitno );
|
|
//}
|
|
|
|
short bitnoZi() const;//{
|
|
//return( s_bitnoZi);
|
|
//}
|
|
|
|
void set_bitno( const char* arg );//{
|
|
//strncpy((char*)c_bitno , arg , sizeof(c_bitno));
|
|
//c_bitno[sizeof(c_bitno)-1] = '\0';
|
|
//s_bitnoZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_bitnoZi( short arg ) ;//{
|
|
//s_bitnoZi = arg;
|
|
//}
|
|
|
|
char* factor() const;//{
|
|
//return((char*)c_factor );
|
|
//}
|
|
|
|
short factorZi() const;//{
|
|
//return( s_factorZi);
|
|
//}
|
|
|
|
void set_factor( const char* arg );//{
|
|
//strncpy((char*)c_factor , arg , sizeof(c_factor));
|
|
//c_factor[sizeof(c_factor)-1] = '\0';
|
|
//s_factorZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_factorZi( short arg ) ;//{
|
|
//s_factorZi = arg;
|
|
//}
|
|
|
|
long length() const;//{
|
|
//return((long)l_length );
|
|
//}
|
|
|
|
short lengthZi() const;//{
|
|
//return( s_lengthZi);
|
|
//}
|
|
|
|
void set_length( long arg );//{
|
|
//l_length = arg;
|
|
//s_lengthZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_lengthZi( short arg ) ;//{
|
|
//s_lengthZi = arg;
|
|
//}
|
|
|
|
long offset() const;//{
|
|
//return((long)l_offset );
|
|
//}
|
|
|
|
short offsetZi() const;//{
|
|
//return( s_offsetZi);
|
|
//}
|
|
|
|
void set_offset( long arg );//{
|
|
//l_offset = arg;
|
|
//s_offsetZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_offsetZi( short arg ) ;//{
|
|
//s_offsetZi = arg;
|
|
//}
|
|
|
|
long repeat() const;//{
|
|
//return((long)l_repeat );
|
|
//}
|
|
|
|
short repeatZi() const;//{
|
|
//return( s_repeatZi);
|
|
//}
|
|
|
|
void set_repeat( long arg );//{
|
|
//l_repeat = arg;
|
|
//s_repeatZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_repeatZi( short arg ) ;//{
|
|
//s_repeatZi = arg;
|
|
//}
|
|
|
|
char* datatype() const;//{
|
|
//return((char*)c_datatype );
|
|
//}
|
|
|
|
short datatypeZi() const;//{
|
|
//return( s_datatypeZi);
|
|
//}
|
|
|
|
void set_datatype( const char* arg );//{
|
|
//strncpy((char*)c_datatype , arg , sizeof(c_datatype));
|
|
//c_datatype[sizeof(c_datatype)-1] = '\0';
|
|
//s_datatypeZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_datatypeZi( short arg ) ;//{
|
|
//s_datatypeZi = arg;
|
|
//}
|
|
|
|
char* defaultValue() const;//{
|
|
//return((char*)c_defaultValue );
|
|
//}
|
|
|
|
short defaultValueZi() const;//{
|
|
//return( s_defaultValueZi);
|
|
//}
|
|
|
|
void set_defaultValue( const char* arg );//{
|
|
//strncpy((char*)c_defaultValue , arg , sizeof(c_defaultValue));
|
|
//c_defaultValue[sizeof(c_defaultValue)-1] = '\0';
|
|
//s_defaultValueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_defaultValueZi( short arg ) ;//{
|
|
//s_defaultValueZi = arg;
|
|
//}
|
|
|
|
char* flag() const;//{
|
|
//return((char*)c_flag );
|
|
//}
|
|
|
|
short flagZi() const;//{
|
|
//return( s_flagZi);
|
|
//}
|
|
|
|
void set_flag( const char* arg );//{
|
|
//strncpy((char*)c_flag , arg , sizeof(c_flag));
|
|
//c_flag[sizeof(c_flag)-1] = '\0';
|
|
//s_flagZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_flagZi( short arg ) ;//{
|
|
//s_flagZi = arg;
|
|
//}
|
|
|
|
char* Table1() const;//{
|
|
//return((char*)c_Table1 );
|
|
//}
|
|
|
|
short Table1Zi() const;//{
|
|
//return( s_Table1Zi);
|
|
//}
|
|
|
|
void set_Table1( const char* arg );//{
|
|
//strncpy((char*)c_Table1 , arg , sizeof(c_Table1));
|
|
//c_Table1[sizeof(c_Table1)-1] = '\0';
|
|
//s_Table1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Table1Zi( short arg ) ;//{
|
|
//s_Table1Zi = arg;
|
|
//}
|
|
|
|
char* column1() const;//{
|
|
//return((char*)c_column1 );
|
|
//}
|
|
|
|
short column1Zi() const;//{
|
|
//return( s_column1Zi);
|
|
//}
|
|
|
|
void set_column1( const char* arg );//{
|
|
//strncpy((char*)c_column1 , arg , sizeof(c_column1));
|
|
//c_column1[sizeof(c_column1)-1] = '\0';
|
|
//s_column1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_column1Zi( short arg ) ;//{
|
|
//s_column1Zi = arg;
|
|
//}
|
|
|
|
char* Table2() const;//{
|
|
//return((char*)c_Table2 );
|
|
//}
|
|
|
|
short Table2Zi() const;//{
|
|
//return( s_Table2Zi);
|
|
//}
|
|
|
|
void set_Table2( const char* arg );//{
|
|
//strncpy((char*)c_Table2 , arg , sizeof(c_Table2));
|
|
//c_Table2[sizeof(c_Table2)-1] = '\0';
|
|
//s_Table2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Table2Zi( short arg ) ;//{
|
|
//s_Table2Zi = arg;
|
|
//}
|
|
|
|
char* column2() const;//{
|
|
//return((char*)c_column2 );
|
|
//}
|
|
|
|
short column2Zi() const;//{
|
|
//return( s_column2Zi);
|
|
//}
|
|
|
|
void set_column2( const char* arg );//{
|
|
//strncpy((char*)c_column2 , arg , sizeof(c_column2));
|
|
//c_column2[sizeof(c_column2)-1] = '\0';
|
|
//s_column2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_column2Zi( short arg ) ;//{
|
|
//s_column2Zi = arg;
|
|
//}
|
|
|
|
char* Table3() const;//{
|
|
//return((char*)c_Table3 );
|
|
//}
|
|
|
|
short Table3Zi() const;//{
|
|
//return( s_Table3Zi);
|
|
//}
|
|
|
|
void set_Table3( const char* arg );//{
|
|
//strncpy((char*)c_Table3 , arg , sizeof(c_Table3));
|
|
//c_Table3[sizeof(c_Table3)-1] = '\0';
|
|
//s_Table3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Table3Zi( short arg ) ;//{
|
|
//s_Table3Zi = arg;
|
|
//}
|
|
|
|
char* column3() const;//{
|
|
//return((char*)c_column3 );
|
|
//}
|
|
|
|
short column3Zi() const;//{
|
|
//return( s_column3Zi);
|
|
//}
|
|
|
|
void set_column3( const char* arg );//{
|
|
//strncpy((char*)c_column3 , arg , sizeof(c_column3));
|
|
//c_column3[sizeof(c_column3)-1] = '\0';
|
|
//s_column3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_column3Zi( short arg ) ;//{
|
|
//s_column3Zi = arg;
|
|
//}
|
|
|
|
char* Table4() const;//{
|
|
//return((char*)c_Table4 );
|
|
//}
|
|
|
|
short Table4Zi() const;//{
|
|
//return( s_Table4Zi);
|
|
//}
|
|
|
|
void set_Table4( const char* arg );//{
|
|
//strncpy((char*)c_Table4 , arg , sizeof(c_Table4));
|
|
//c_Table4[sizeof(c_Table4)-1] = '\0';
|
|
//s_Table4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Table4Zi( short arg ) ;//{
|
|
//s_Table4Zi = arg;
|
|
//}
|
|
|
|
char* column4() const;//{
|
|
//return((char*)c_column4 );
|
|
//}
|
|
|
|
short column4Zi() const;//{
|
|
//return( s_column4Zi);
|
|
//}
|
|
|
|
void set_column4( const char* arg );//{
|
|
//strncpy((char*)c_column4 , arg , sizeof(c_column4));
|
|
//c_column4[sizeof(c_column4)-1] = '\0';
|
|
//s_column4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_column4Zi( short arg ) ;//{
|
|
//s_column4Zi = arg;
|
|
//}
|
|
|
|
char* Table5() const;//{
|
|
//return((char*)c_Table5 );
|
|
//}
|
|
|
|
short Table5Zi() const;//{
|
|
//return( s_Table5Zi);
|
|
//}
|
|
|
|
void set_Table5( const char* arg );//{
|
|
//strncpy((char*)c_Table5 , arg , sizeof(c_Table5));
|
|
//c_Table5[sizeof(c_Table5)-1] = '\0';
|
|
//s_Table5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Table5Zi( short arg ) ;//{
|
|
//s_Table5Zi = arg;
|
|
//}
|
|
|
|
char* column5() const;//{
|
|
//return((char*)c_column5 );
|
|
//}
|
|
|
|
short column5Zi() const;//{
|
|
//return( s_column5Zi);
|
|
//}
|
|
|
|
void set_column5( const char* arg );//{
|
|
//strncpy((char*)c_column5 , arg , sizeof(c_column5));
|
|
//c_column5[sizeof(c_column5)-1] = '\0';
|
|
//s_column5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_column5Zi( short arg ) ;//{
|
|
//s_column5Zi = arg;
|
|
//}
|
|
|
|
char* fdaaAddr() const;//{
|
|
//return((char*)c_fdaaAddr );
|
|
//}
|
|
|
|
short fdaaAddrZi() const;//{
|
|
//return( s_fdaaAddrZi);
|
|
//}
|
|
|
|
void set_fdaaAddr( const char* arg );//{
|
|
//strncpy((char*)c_fdaaAddr , arg , sizeof(c_fdaaAddr));
|
|
//c_fdaaAddr[sizeof(c_fdaaAddr)-1] = '\0';
|
|
//s_fdaaAddrZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_fdaaAddrZi( short arg ) ;//{
|
|
//s_fdaaAddrZi = arg;
|
|
//}
|
|
|
|
char* fdaaItem() const;//{
|
|
//return((char*)c_fdaaItem );
|
|
//}
|
|
|
|
short fdaaItemZi() const;//{
|
|
//return( s_fdaaItemZi);
|
|
//}
|
|
|
|
void set_fdaaItem( const char* arg );//{
|
|
//strncpy((char*)c_fdaaItem , arg , sizeof(c_fdaaItem));
|
|
//c_fdaaItem[sizeof(c_fdaaItem)-1] = '\0';
|
|
//s_fdaaItemZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_fdaaItemZi( short arg ) ;//{
|
|
//s_fdaaItemZi = arg;
|
|
//}
|
|
|
|
char* limitDB() const;//{
|
|
//return((char*)c_limitDB );
|
|
//}
|
|
|
|
short limitDBZi() const;//{
|
|
//return( s_limitDBZi);
|
|
//}
|
|
|
|
void set_limitDB( const char* arg );//{
|
|
//strncpy((char*)c_limitDB , arg , sizeof(c_limitDB));
|
|
//c_limitDB[sizeof(c_limitDB)-1] = '\0';
|
|
//s_limitDBZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_limitDBZi( short arg ) ;//{
|
|
//s_limitDBZi = arg;
|
|
//}
|
|
|
|
char* limitMin() const;//{
|
|
//return((char*)c_limitMin );
|
|
//}
|
|
|
|
short limitMinZi() const;//{
|
|
//return( s_limitMinZi);
|
|
//}
|
|
|
|
void set_limitMin( const char* arg );//{
|
|
//strncpy((char*)c_limitMin , arg , sizeof(c_limitMin));
|
|
//c_limitMin[sizeof(c_limitMin)-1] = '\0';
|
|
//s_limitMinZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_limitMinZi( short arg ) ;//{
|
|
//s_limitMinZi = arg;
|
|
//}
|
|
|
|
char* limitMax() const;//{
|
|
//return((char*)c_limitMax );
|
|
//}
|
|
|
|
short limitMaxZi() const;//{
|
|
//return( s_limitMaxZi);
|
|
//}
|
|
|
|
void set_limitMax( const char* arg );//{
|
|
//strncpy((char*)c_limitMax , arg , sizeof(c_limitMax));
|
|
//c_limitMax[sizeof(c_limitMax)-1] = '\0';
|
|
//s_limitMaxZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_limitMaxZi( short arg ) ;//{
|
|
//s_limitMaxZi = arg;
|
|
//}
|
|
|
|
char* visable() const;//{
|
|
//return((char*)c_visable );
|
|
//}
|
|
|
|
short visableZi() const;//{
|
|
//return( s_visableZi);
|
|
//}
|
|
|
|
void set_visable( const char* arg );//{
|
|
//strncpy((char*)c_visable , arg , sizeof(c_visable));
|
|
//c_visable[sizeof(c_visable)-1] = '\0';
|
|
//s_visableZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_visableZi( short arg ) ;//{
|
|
//s_visableZi = arg;
|
|
//}
|
|
|
|
char* remark() const;//{
|
|
//return((char*)c_remark );
|
|
//}
|
|
|
|
short remarkZi() const;//{
|
|
//return( s_remarkZi);
|
|
//}
|
|
|
|
void set_remark( const char* arg );//{
|
|
//strncpy((char*)c_remark , arg , sizeof(c_remark));
|
|
//c_remark[sizeof(c_remark)-1] = '\0';
|
|
//s_remarkZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_remarkZi( short arg ) ;//{
|
|
//s_remarkZi = arg;
|
|
//}
|
|
|
|
public:
|
|
char* toc() const;//{
|
|
//return((char*)c_toc );
|
|
//}
|
|
|
|
short tocZi() const;//{
|
|
//return( s_tocZi);
|
|
//}
|
|
|
|
protected:
|
|
void set_toc( char* arg );//{
|
|
//strncpy((char*)c_toc , arg , sizeof(c_toc));
|
|
//c_toc[sizeof(c_toc)-1] = '\0';
|
|
//s_tocZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_tocZi( short arg );//{
|
|
//s_tocZi = arg;
|
|
//}
|
|
|
|
public:
|
|
char* tom() const;//{
|
|
//return((char*)c_tom );
|
|
//}
|
|
|
|
short tomZi() const;//{
|
|
//return( s_tomZi);
|
|
//}
|
|
|
|
protected:
|
|
void set_tom( char* arg );//{
|
|
//strncpy((char*)c_tom , arg , sizeof(c_tom));
|
|
//c_tom[sizeof(c_tom)-1] = '\0';
|
|
//s_tomZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_tomZi( short arg );//{
|
|
//s_tomZi = arg;
|
|
//}
|
|
|
|
public:
|
|
char* mop() const;//{
|
|
//return((char*)c_mop );
|
|
//}
|
|
|
|
short mopZi() const;//{
|
|
//return( s_mopZi);
|
|
//}
|
|
|
|
protected:
|
|
void set_mop( char* arg );//{
|
|
//strncpy((char*)c_mop , arg , sizeof(c_mop));
|
|
//c_mop[sizeof(c_mop)-1] = '\0';
|
|
//s_mopZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_mopZi( short arg );//{
|
|
//s_mopZi = arg;
|
|
//}
|
|
|
|
public:
|
|
char* mou() const;//{
|
|
//return((char*)c_mou );
|
|
//}
|
|
|
|
short mouZi() const;//{
|
|
//return( s_mouZi);
|
|
//}
|
|
|
|
protected:
|
|
void set_mou( char* arg );//{
|
|
//strncpy((char*)c_mou , arg , sizeof(c_mou));
|
|
//c_mou[sizeof(c_mou)-1] = '\0';
|
|
//s_mouZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_mouZi( short arg );//{
|
|
//s_mouZi = arg;
|
|
//}
|
|
|
|
public:
|
|
// methodes for Primary key
|
|
long k_majNo();//{
|
|
//return((long)l_k_majNo );
|
|
//}
|
|
|
|
void set_k_majNo( long arg );//{
|
|
//l_k_majNo = arg;
|
|
//return;
|
|
//}
|
|
|
|
long k_minNo();//{
|
|
//return((long)l_k_minNo );
|
|
//}
|
|
|
|
void set_k_minNo( long arg );//{
|
|
//l_k_minNo = arg;
|
|
//return;
|
|
//}
|
|
|
|
long k_eventno();//{
|
|
//return((long)l_k_eventno );
|
|
//}
|
|
|
|
void set_k_eventno( long arg );//{
|
|
//l_k_eventno = arg;
|
|
//return;
|
|
//}
|
|
|
|
public:
|
|
//
|
|
// public methode fillStructure
|
|
//
|
|
// this methode filles the classstructue with the private attributes
|
|
//
|
|
void fillStructure();//{
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
void fillStructureZi();//{
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
void setStructure();// {
|
|
//return;
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
void setStructureZi() ;//{
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
char* getName();//{
|
|
//return((char*)"T_LOV_FDAAITEM");
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getSqlCode();//{
|
|
//return( db.dbSqlCode);
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getRowsProcessed();//{
|
|
//return( db.dbRowsProcessed);
|
|
//}
|
|
};
|
|
#endif
|