930 lines
18 KiB
C++
930 lines
18 KiB
C++
// Version: 2019.5.13 12:9:21
|
|
|
|
#ifndef _T_ROLL_DATA_H
|
|
#define _T_ROLL_DATA_H
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable:4996)
|
|
#pragma warning(disable:4267)
|
|
#endif
|
|
#include "T_ROLL_DATADBAX.h"
|
|
class T_ROLL_DATA{
|
|
friend class T_ROLL_DATADBAX;
|
|
private:
|
|
//aggregation to DB Class
|
|
T_ROLL_DATADBAX 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
|
|
//===================
|
|
//
|
|
char c_sample_time[27];
|
|
char c_c_UpWRNo1[8+1];
|
|
short s_c_UpWRNo1Zi;
|
|
double d_f_UpRollRough1;
|
|
short s_f_UpRollRough1Zi;
|
|
char c_c_DnWRNo1[8+1];
|
|
short s_c_DnWRNo1Zi;
|
|
double d_f_DnRollRough1;
|
|
short s_f_DnRollRough1Zi;
|
|
char c_c_UpWRNo2[8+1];
|
|
short s_c_UpWRNo2Zi;
|
|
double d_f_UpRollRough2;
|
|
short s_f_UpRollRough2Zi;
|
|
char c_c_DnWRNo2[8+1];
|
|
short s_c_DnWRNo2Zi;
|
|
double d_f_DnRollRough2;
|
|
short s_f_DnRollRough2Zi;
|
|
char c_c_UpWRNo3[8+1];
|
|
short s_c_UpWRNo3Zi;
|
|
double d_f_UpRollRough3;
|
|
short s_f_UpRollRough3Zi;
|
|
char c_c_DnWRNo3[8+1];
|
|
short s_c_DnWRNo3Zi;
|
|
double d_f_DnRollRough3;
|
|
short s_f_DnRollRough3Zi;
|
|
char c_c_UpWRNo4[8+1];
|
|
short s_c_UpWRNo4Zi;
|
|
double d_f_UpRollRough4;
|
|
short s_f_UpRollRough4Zi;
|
|
char c_c_DnWRNo4[8+1];
|
|
short s_c_DnWRNo4Zi;
|
|
double d_f_DnRollRough4;
|
|
short s_f_DnRollRough4Zi;
|
|
char c_c_UpWRNo5[8+1];
|
|
short s_c_UpWRNo5Zi;
|
|
double d_f_UpRollRough5;
|
|
short s_f_UpRollRough5Zi;
|
|
char c_c_DnWRNo5[8+1];
|
|
short s_c_DnWRNo5Zi;
|
|
double d_f_DnRollRough5;
|
|
short s_f_DnRollRough5Zi;
|
|
char c_c_UpWRNo6[8+1];
|
|
short s_c_UpWRNo6Zi;
|
|
double d_f_UpRollRough6;
|
|
short s_f_UpRollRough6Zi;
|
|
char c_c_DnWRNo6[8+1];
|
|
short s_c_DnWRNo6Zi;
|
|
double d_f_DnRollRough6;
|
|
short s_f_DnRollRough6Zi;
|
|
char c_c_UpWRNo7[8+1];
|
|
short s_c_UpWRNo7Zi;
|
|
double d_f_UpRollRough7;
|
|
short s_f_UpRollRough7Zi;
|
|
char c_c_DnWRNo7[8+1];
|
|
short s_c_DnWRNo7Zi;
|
|
double d_f_DnRollRough7;
|
|
short s_f_DnRollRough7Zi;
|
|
char c_c_UpWRNo8[8+1];
|
|
short s_c_UpWRNo8Zi;
|
|
double d_f_UpRollRough8;
|
|
short s_f_UpRollRough8Zi;
|
|
char c_c_DnWRNo8[8+1];
|
|
short s_c_DnWRNo8Zi;
|
|
double d_f_DnRollRough8;
|
|
short s_f_DnRollRough8Zi;
|
|
char c_TC[27];
|
|
short s_TCZi;
|
|
// arguments for Primary key
|
|
char c_k_sample_time[27];
|
|
public:
|
|
//
|
|
// LTA Structure
|
|
struct STR_T_ROLL_DATA{
|
|
char sample_time[27];
|
|
char c_UpWRNo1[8+1];
|
|
double f_UpRollRough1;
|
|
char c_DnWRNo1[8+1];
|
|
double f_DnRollRough1;
|
|
char c_UpWRNo2[8+1];
|
|
double f_UpRollRough2;
|
|
char c_DnWRNo2[8+1];
|
|
double f_DnRollRough2;
|
|
char c_UpWRNo3[8+1];
|
|
double f_UpRollRough3;
|
|
char c_DnWRNo3[8+1];
|
|
double f_DnRollRough3;
|
|
char c_UpWRNo4[8+1];
|
|
double f_UpRollRough4;
|
|
char c_DnWRNo4[8+1];
|
|
double f_DnRollRough4;
|
|
char c_UpWRNo5[8+1];
|
|
double f_UpRollRough5;
|
|
char c_DnWRNo5[8+1];
|
|
double f_DnRollRough5;
|
|
char c_UpWRNo6[8+1];
|
|
double f_UpRollRough6;
|
|
char c_DnWRNo6[8+1];
|
|
double f_DnRollRough6;
|
|
char c_UpWRNo7[8+1];
|
|
double f_UpRollRough7;
|
|
char c_DnWRNo7[8+1];
|
|
double f_DnRollRough7;
|
|
char c_UpWRNo8[8+1];
|
|
double f_UpRollRough8;
|
|
char c_DnWRNo8[8+1];
|
|
double f_DnRollRough8;
|
|
char TC[27];
|
|
}structTable;
|
|
// LTA Structure Zi
|
|
struct STR_T_ROLL_DATAZi{
|
|
short c_UpWRNo1Zi;
|
|
short f_UpRollRough1Zi;
|
|
short c_DnWRNo1Zi;
|
|
short f_DnRollRough1Zi;
|
|
short c_UpWRNo2Zi;
|
|
short f_UpRollRough2Zi;
|
|
short c_DnWRNo2Zi;
|
|
short f_DnRollRough2Zi;
|
|
short c_UpWRNo3Zi;
|
|
short f_UpRollRough3Zi;
|
|
short c_DnWRNo3Zi;
|
|
short f_DnRollRough3Zi;
|
|
short c_UpWRNo4Zi;
|
|
short f_UpRollRough4Zi;
|
|
short c_DnWRNo4Zi;
|
|
short f_DnRollRough4Zi;
|
|
short c_UpWRNo5Zi;
|
|
short f_UpRollRough5Zi;
|
|
short c_DnWRNo5Zi;
|
|
short f_DnRollRough5Zi;
|
|
short c_UpWRNo6Zi;
|
|
short f_UpRollRough6Zi;
|
|
short c_DnWRNo6Zi;
|
|
short f_DnRollRough6Zi;
|
|
short c_UpWRNo7Zi;
|
|
short f_UpRollRough7Zi;
|
|
short c_DnWRNo7Zi;
|
|
short f_DnRollRough7Zi;
|
|
short c_UpWRNo8Zi;
|
|
short f_UpRollRough8Zi;
|
|
short c_DnWRNo8Zi;
|
|
short f_DnRollRough8Zi;
|
|
short TCZi;
|
|
}structTableZi;
|
|
//
|
|
//C O N S T R U C T O R S
|
|
//=======================
|
|
//
|
|
public:
|
|
T_ROLL_DATA();
|
|
//D E S T R U C T O R S
|
|
//=======================
|
|
//
|
|
virtual ~T_ROLL_DATA();
|
|
//
|
|
//C O P Y - C O N S T R U C T O R
|
|
//=======================
|
|
T_ROLL_DATA(const T_ROLL_DATA &inst);
|
|
// For Constructors with parameters the flag dbAccess
|
|
// informs you if the access was successfully or not
|
|
T_ROLL_DATA( char* arg1);
|
|
|
|
//methods
|
|
public:
|
|
char* getCreationTime() {return (char*)"2019.5.13 12:9:21";};
|
|
//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(char* arg1 );
|
|
|
|
|
|
// public methode initInsertKeys
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void initInsertKeys( char* arg1 );
|
|
|
|
|
|
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_ROLL_DATA operator+(const T_ROLL_DATA &inst) const;
|
|
|
|
//
|
|
//O P E R A T O R =
|
|
//===================
|
|
//
|
|
public:
|
|
const T_ROLL_DATA& operator=(const T_ROLL_DATA &inst);
|
|
char* sample_time() const;//{
|
|
//return((char*)c_sample_time );
|
|
//}
|
|
|
|
|
|
void set_sample_time( char* arg );//{
|
|
//strncpy((char*)c_sample_time , arg , sizeof(c_sample_time));
|
|
//c_sample_time[sizeof(c_sample_time)-1] = '\0';
|
|
//return;
|
|
//}
|
|
|
|
|
|
char* c_UpWRNo1() const;//{
|
|
//return((char*)c_c_UpWRNo1 );
|
|
//}
|
|
|
|
short c_UpWRNo1Zi() const;//{
|
|
//return( s_c_UpWRNo1Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo1( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo1 , arg , sizeof(c_c_UpWRNo1));
|
|
//c_c_UpWRNo1[sizeof(c_c_UpWRNo1)-1] = '\0';
|
|
//s_c_UpWRNo1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo1Zi( short arg ) ;//{
|
|
//s_c_UpWRNo1Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough1() const;//{
|
|
//return((double)d_f_UpRollRough1 );
|
|
//}
|
|
|
|
short f_UpRollRough1Zi() const;//{
|
|
//return( s_f_UpRollRough1Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough1( double arg );//{
|
|
//d_f_UpRollRough1 = arg;
|
|
//s_f_UpRollRough1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough1Zi( short arg ) ;//{
|
|
//s_f_UpRollRough1Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo1() const;//{
|
|
//return((char*)c_c_DnWRNo1 );
|
|
//}
|
|
|
|
short c_DnWRNo1Zi() const;//{
|
|
//return( s_c_DnWRNo1Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo1( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo1 , arg , sizeof(c_c_DnWRNo1));
|
|
//c_c_DnWRNo1[sizeof(c_c_DnWRNo1)-1] = '\0';
|
|
//s_c_DnWRNo1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo1Zi( short arg ) ;//{
|
|
//s_c_DnWRNo1Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough1() const;//{
|
|
//return((double)d_f_DnRollRough1 );
|
|
//}
|
|
|
|
short f_DnRollRough1Zi() const;//{
|
|
//return( s_f_DnRollRough1Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough1( double arg );//{
|
|
//d_f_DnRollRough1 = arg;
|
|
//s_f_DnRollRough1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough1Zi( short arg ) ;//{
|
|
//s_f_DnRollRough1Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo2() const;//{
|
|
//return((char*)c_c_UpWRNo2 );
|
|
//}
|
|
|
|
short c_UpWRNo2Zi() const;//{
|
|
//return( s_c_UpWRNo2Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo2( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo2 , arg , sizeof(c_c_UpWRNo2));
|
|
//c_c_UpWRNo2[sizeof(c_c_UpWRNo2)-1] = '\0';
|
|
//s_c_UpWRNo2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo2Zi( short arg ) ;//{
|
|
//s_c_UpWRNo2Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough2() const;//{
|
|
//return((double)d_f_UpRollRough2 );
|
|
//}
|
|
|
|
short f_UpRollRough2Zi() const;//{
|
|
//return( s_f_UpRollRough2Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough2( double arg );//{
|
|
//d_f_UpRollRough2 = arg;
|
|
//s_f_UpRollRough2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough2Zi( short arg ) ;//{
|
|
//s_f_UpRollRough2Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo2() const;//{
|
|
//return((char*)c_c_DnWRNo2 );
|
|
//}
|
|
|
|
short c_DnWRNo2Zi() const;//{
|
|
//return( s_c_DnWRNo2Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo2( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo2 , arg , sizeof(c_c_DnWRNo2));
|
|
//c_c_DnWRNo2[sizeof(c_c_DnWRNo2)-1] = '\0';
|
|
//s_c_DnWRNo2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo2Zi( short arg ) ;//{
|
|
//s_c_DnWRNo2Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough2() const;//{
|
|
//return((double)d_f_DnRollRough2 );
|
|
//}
|
|
|
|
short f_DnRollRough2Zi() const;//{
|
|
//return( s_f_DnRollRough2Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough2( double arg );//{
|
|
//d_f_DnRollRough2 = arg;
|
|
//s_f_DnRollRough2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough2Zi( short arg ) ;//{
|
|
//s_f_DnRollRough2Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo3() const;//{
|
|
//return((char*)c_c_UpWRNo3 );
|
|
//}
|
|
|
|
short c_UpWRNo3Zi() const;//{
|
|
//return( s_c_UpWRNo3Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo3( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo3 , arg , sizeof(c_c_UpWRNo3));
|
|
//c_c_UpWRNo3[sizeof(c_c_UpWRNo3)-1] = '\0';
|
|
//s_c_UpWRNo3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo3Zi( short arg ) ;//{
|
|
//s_c_UpWRNo3Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough3() const;//{
|
|
//return((double)d_f_UpRollRough3 );
|
|
//}
|
|
|
|
short f_UpRollRough3Zi() const;//{
|
|
//return( s_f_UpRollRough3Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough3( double arg );//{
|
|
//d_f_UpRollRough3 = arg;
|
|
//s_f_UpRollRough3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough3Zi( short arg ) ;//{
|
|
//s_f_UpRollRough3Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo3() const;//{
|
|
//return((char*)c_c_DnWRNo3 );
|
|
//}
|
|
|
|
short c_DnWRNo3Zi() const;//{
|
|
//return( s_c_DnWRNo3Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo3( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo3 , arg , sizeof(c_c_DnWRNo3));
|
|
//c_c_DnWRNo3[sizeof(c_c_DnWRNo3)-1] = '\0';
|
|
//s_c_DnWRNo3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo3Zi( short arg ) ;//{
|
|
//s_c_DnWRNo3Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough3() const;//{
|
|
//return((double)d_f_DnRollRough3 );
|
|
//}
|
|
|
|
short f_DnRollRough3Zi() const;//{
|
|
//return( s_f_DnRollRough3Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough3( double arg );//{
|
|
//d_f_DnRollRough3 = arg;
|
|
//s_f_DnRollRough3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough3Zi( short arg ) ;//{
|
|
//s_f_DnRollRough3Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo4() const;//{
|
|
//return((char*)c_c_UpWRNo4 );
|
|
//}
|
|
|
|
short c_UpWRNo4Zi() const;//{
|
|
//return( s_c_UpWRNo4Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo4( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo4 , arg , sizeof(c_c_UpWRNo4));
|
|
//c_c_UpWRNo4[sizeof(c_c_UpWRNo4)-1] = '\0';
|
|
//s_c_UpWRNo4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo4Zi( short arg ) ;//{
|
|
//s_c_UpWRNo4Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough4() const;//{
|
|
//return((double)d_f_UpRollRough4 );
|
|
//}
|
|
|
|
short f_UpRollRough4Zi() const;//{
|
|
//return( s_f_UpRollRough4Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough4( double arg );//{
|
|
//d_f_UpRollRough4 = arg;
|
|
//s_f_UpRollRough4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough4Zi( short arg ) ;//{
|
|
//s_f_UpRollRough4Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo4() const;//{
|
|
//return((char*)c_c_DnWRNo4 );
|
|
//}
|
|
|
|
short c_DnWRNo4Zi() const;//{
|
|
//return( s_c_DnWRNo4Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo4( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo4 , arg , sizeof(c_c_DnWRNo4));
|
|
//c_c_DnWRNo4[sizeof(c_c_DnWRNo4)-1] = '\0';
|
|
//s_c_DnWRNo4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo4Zi( short arg ) ;//{
|
|
//s_c_DnWRNo4Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough4() const;//{
|
|
//return((double)d_f_DnRollRough4 );
|
|
//}
|
|
|
|
short f_DnRollRough4Zi() const;//{
|
|
//return( s_f_DnRollRough4Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough4( double arg );//{
|
|
//d_f_DnRollRough4 = arg;
|
|
//s_f_DnRollRough4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough4Zi( short arg ) ;//{
|
|
//s_f_DnRollRough4Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo5() const;//{
|
|
//return((char*)c_c_UpWRNo5 );
|
|
//}
|
|
|
|
short c_UpWRNo5Zi() const;//{
|
|
//return( s_c_UpWRNo5Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo5( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo5 , arg , sizeof(c_c_UpWRNo5));
|
|
//c_c_UpWRNo5[sizeof(c_c_UpWRNo5)-1] = '\0';
|
|
//s_c_UpWRNo5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo5Zi( short arg ) ;//{
|
|
//s_c_UpWRNo5Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough5() const;//{
|
|
//return((double)d_f_UpRollRough5 );
|
|
//}
|
|
|
|
short f_UpRollRough5Zi() const;//{
|
|
//return( s_f_UpRollRough5Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough5( double arg );//{
|
|
//d_f_UpRollRough5 = arg;
|
|
//s_f_UpRollRough5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough5Zi( short arg ) ;//{
|
|
//s_f_UpRollRough5Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo5() const;//{
|
|
//return((char*)c_c_DnWRNo5 );
|
|
//}
|
|
|
|
short c_DnWRNo5Zi() const;//{
|
|
//return( s_c_DnWRNo5Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo5( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo5 , arg , sizeof(c_c_DnWRNo5));
|
|
//c_c_DnWRNo5[sizeof(c_c_DnWRNo5)-1] = '\0';
|
|
//s_c_DnWRNo5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo5Zi( short arg ) ;//{
|
|
//s_c_DnWRNo5Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough5() const;//{
|
|
//return((double)d_f_DnRollRough5 );
|
|
//}
|
|
|
|
short f_DnRollRough5Zi() const;//{
|
|
//return( s_f_DnRollRough5Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough5( double arg );//{
|
|
//d_f_DnRollRough5 = arg;
|
|
//s_f_DnRollRough5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough5Zi( short arg ) ;//{
|
|
//s_f_DnRollRough5Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo6() const;//{
|
|
//return((char*)c_c_UpWRNo6 );
|
|
//}
|
|
|
|
short c_UpWRNo6Zi() const;//{
|
|
//return( s_c_UpWRNo6Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo6( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo6 , arg , sizeof(c_c_UpWRNo6));
|
|
//c_c_UpWRNo6[sizeof(c_c_UpWRNo6)-1] = '\0';
|
|
//s_c_UpWRNo6Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo6Zi( short arg ) ;//{
|
|
//s_c_UpWRNo6Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough6() const;//{
|
|
//return((double)d_f_UpRollRough6 );
|
|
//}
|
|
|
|
short f_UpRollRough6Zi() const;//{
|
|
//return( s_f_UpRollRough6Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough6( double arg );//{
|
|
//d_f_UpRollRough6 = arg;
|
|
//s_f_UpRollRough6Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough6Zi( short arg ) ;//{
|
|
//s_f_UpRollRough6Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo6() const;//{
|
|
//return((char*)c_c_DnWRNo6 );
|
|
//}
|
|
|
|
short c_DnWRNo6Zi() const;//{
|
|
//return( s_c_DnWRNo6Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo6( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo6 , arg , sizeof(c_c_DnWRNo6));
|
|
//c_c_DnWRNo6[sizeof(c_c_DnWRNo6)-1] = '\0';
|
|
//s_c_DnWRNo6Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo6Zi( short arg ) ;//{
|
|
//s_c_DnWRNo6Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough6() const;//{
|
|
//return((double)d_f_DnRollRough6 );
|
|
//}
|
|
|
|
short f_DnRollRough6Zi() const;//{
|
|
//return( s_f_DnRollRough6Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough6( double arg );//{
|
|
//d_f_DnRollRough6 = arg;
|
|
//s_f_DnRollRough6Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough6Zi( short arg ) ;//{
|
|
//s_f_DnRollRough6Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo7() const;//{
|
|
//return((char*)c_c_UpWRNo7 );
|
|
//}
|
|
|
|
short c_UpWRNo7Zi() const;//{
|
|
//return( s_c_UpWRNo7Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo7( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo7 , arg , sizeof(c_c_UpWRNo7));
|
|
//c_c_UpWRNo7[sizeof(c_c_UpWRNo7)-1] = '\0';
|
|
//s_c_UpWRNo7Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo7Zi( short arg ) ;//{
|
|
//s_c_UpWRNo7Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough7() const;//{
|
|
//return((double)d_f_UpRollRough7 );
|
|
//}
|
|
|
|
short f_UpRollRough7Zi() const;//{
|
|
//return( s_f_UpRollRough7Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough7( double arg );//{
|
|
//d_f_UpRollRough7 = arg;
|
|
//s_f_UpRollRough7Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough7Zi( short arg ) ;//{
|
|
//s_f_UpRollRough7Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo7() const;//{
|
|
//return((char*)c_c_DnWRNo7 );
|
|
//}
|
|
|
|
short c_DnWRNo7Zi() const;//{
|
|
//return( s_c_DnWRNo7Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo7( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo7 , arg , sizeof(c_c_DnWRNo7));
|
|
//c_c_DnWRNo7[sizeof(c_c_DnWRNo7)-1] = '\0';
|
|
//s_c_DnWRNo7Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo7Zi( short arg ) ;//{
|
|
//s_c_DnWRNo7Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough7() const;//{
|
|
//return((double)d_f_DnRollRough7 );
|
|
//}
|
|
|
|
short f_DnRollRough7Zi() const;//{
|
|
//return( s_f_DnRollRough7Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough7( double arg );//{
|
|
//d_f_DnRollRough7 = arg;
|
|
//s_f_DnRollRough7Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough7Zi( short arg ) ;//{
|
|
//s_f_DnRollRough7Zi = arg;
|
|
//}
|
|
|
|
char* c_UpWRNo8() const;//{
|
|
//return((char*)c_c_UpWRNo8 );
|
|
//}
|
|
|
|
short c_UpWRNo8Zi() const;//{
|
|
//return( s_c_UpWRNo8Zi);
|
|
//}
|
|
|
|
void set_c_UpWRNo8( const char* arg );//{
|
|
//strncpy((char*)c_c_UpWRNo8 , arg , sizeof(c_c_UpWRNo8));
|
|
//c_c_UpWRNo8[sizeof(c_c_UpWRNo8)-1] = '\0';
|
|
//s_c_UpWRNo8Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_UpWRNo8Zi( short arg ) ;//{
|
|
//s_c_UpWRNo8Zi = arg;
|
|
//}
|
|
|
|
double f_UpRollRough8() const;//{
|
|
//return((double)d_f_UpRollRough8 );
|
|
//}
|
|
|
|
short f_UpRollRough8Zi() const;//{
|
|
//return( s_f_UpRollRough8Zi);
|
|
//}
|
|
|
|
void set_f_UpRollRough8( double arg );//{
|
|
//d_f_UpRollRough8 = arg;
|
|
//s_f_UpRollRough8Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_UpRollRough8Zi( short arg ) ;//{
|
|
//s_f_UpRollRough8Zi = arg;
|
|
//}
|
|
|
|
char* c_DnWRNo8() const;//{
|
|
//return((char*)c_c_DnWRNo8 );
|
|
//}
|
|
|
|
short c_DnWRNo8Zi() const;//{
|
|
//return( s_c_DnWRNo8Zi);
|
|
//}
|
|
|
|
void set_c_DnWRNo8( const char* arg );//{
|
|
//strncpy((char*)c_c_DnWRNo8 , arg , sizeof(c_c_DnWRNo8));
|
|
//c_c_DnWRNo8[sizeof(c_c_DnWRNo8)-1] = '\0';
|
|
//s_c_DnWRNo8Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_DnWRNo8Zi( short arg ) ;//{
|
|
//s_c_DnWRNo8Zi = arg;
|
|
//}
|
|
|
|
double f_DnRollRough8() const;//{
|
|
//return((double)d_f_DnRollRough8 );
|
|
//}
|
|
|
|
short f_DnRollRough8Zi() const;//{
|
|
//return( s_f_DnRollRough8Zi);
|
|
//}
|
|
|
|
void set_f_DnRollRough8( double arg );//{
|
|
//d_f_DnRollRough8 = arg;
|
|
//s_f_DnRollRough8Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_f_DnRollRough8Zi( short arg ) ;//{
|
|
//s_f_DnRollRough8Zi = arg;
|
|
//}
|
|
|
|
char* TC() const;//{
|
|
//return((char*)c_TC );
|
|
//}
|
|
|
|
short TCZi() const;//{
|
|
//return( s_TCZi);
|
|
//}
|
|
|
|
void set_TC( char* arg );//{
|
|
//strncpy((char*)c_TC , arg , sizeof(c_TC));
|
|
//c_TC[sizeof(c_TC)-1] = '\0';
|
|
//s_TCZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TCZi( short arg ) ;//{
|
|
//s_TCZi = arg;
|
|
//}
|
|
|
|
public:
|
|
// methodes for Primary key
|
|
char* k_sample_time();//{
|
|
//return((char*)c_k_sample_time );
|
|
//}
|
|
|
|
void set_k_sample_time( char* arg );//{
|
|
//strncpy((char*)c_k_sample_time , arg , sizeof(c_k_sample_time));
|
|
//c_k_sample_time[sizeof(c_k_sample_time)-1] = '\0';
|
|
//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_ROLL_DATA");
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getSqlCode();//{
|
|
//return( db.dbSqlCode);
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getRowsProcessed();//{
|
|
//return( db.dbRowsProcessed);
|
|
//}
|
|
};
|
|
#endif
|