eis/inc/dbinc/T_PDO_PH.h

1748 lines
33 KiB
C++

// Version: 2018.7.9 10:44:17
#ifndef _T_PDO_PH_H
#define _T_PDO_PH_H
#include <common/BasicStruct.h>
using namespace baosight;
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef _MSC_VER
#pragma warning(disable:4996)
#pragma warning(disable:4267)
#endif
#include "T_PDO_PHDBAX.h"
class T_PDO_PH{
friend class T_PDO_PHDBAX;
private:
//aggregation to DB Class
T_PDO_PHDBAX 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_source[2+1];
char c_EnCoilId[4][20+1];
short s_EnCoilIdZi[4];
char c_ExCoilId[20+1];
short s_ExCoilIdZi;
long l_coilLengthX;
short s_coilLengthXZi;
long l_coilInnerDiam;
short s_coilInnerDiamZi;
long l_coilOutDiaX;
short s_coilOutDiaXZi;
char c_ProdEnd[27];
short s_ProdEndZi;
char c_ProdStart[27];
short s_ProdStartZi;
long l_ProdTime;
short s_ProdTimeZi;
long l_finalSign;
short s_finalSignZi;
long l_noOrder;
short s_noOrderZi;
long l_noStripping;
short s_noStrippingZi;
long l_noWeldseams;
short s_noWeldseamsZi;
char c_shift[1+1];
short s_shiftZi;
char c_shiftcode[1+1];
short s_shiftcodeZi;
char c_statusL3[1+1];
short s_statusL3Zi;
char c_booktime[27];
short s_booktimeZi;
long l_weight;
short s_weightZi;
long l_weightCalc;
short s_weightCalcZi;
char c_remark[200+1];
short s_remarkZi;
double d_hEntry;
short s_hEntryZi;
double d_widthEntry;
short s_widthEntryZi;
double d_hExit;
short s_hExitZi;
double d_widthExit;
short s_widthExitZi;
long l_weightEntry;
short s_weightEntryZi;
long l_LengthEntry;
short s_LengthEntryZi;
long l_IndiaEntry;
short s_IndiaEntryZi;
long l_OutdiaEntry;
short s_OutdiaEntryZi;
char c_standard[50+1];
short s_standardZi;
char c_nextProcCode[10+1];
short s_nextProcCodeZi;
char c_OrderNo[10+1];
short s_OrderNoZi;
char c_SpecChange[1+1];
short s_SpecChangeZi;
double d_ExitCoilTargetWidth;
short s_ExitCoilTargetWidthZi;
double d_ExitCoilThickness;
short s_ExitCoilThicknessZi;
double d_ExitCoilThickMin;
short s_ExitCoilThickMinZi;
double d_ExitCoilThickMax;
short s_ExitCoilThickMaxZi;
double d_ExitCoilWidth;
short s_ExitCoilWidthZi;
double d_ExitCoilWidthMin;
short s_ExitCoilWidthMinZi;
double d_ExitCoilWidthMax;
short s_ExitCoilWidthMaxZi;
char c_TrimFlag[1+1];
short s_TrimFlagZi;
short s_ActTrimWidth;
short s_ActTrimWidthZi;
short s_EntScrapHeadLenth;
short s_EntScrapHeadLenthZi;
short s_EntScrapTailLenth;
short s_EntScrapTailLenthZi;
short s_ExtScrapHeadLenth;
short s_ExtScrapHeadLenthZi;
short s_ExtScrapTailLenth;
short s_ExtScrapTailLenthZi;
char c_CoilCombinationFlag[1+1];
short s_CoilCombinationFlagZi;
char c_EntCoilNo1[20+1];
short s_EntCoilNo1Zi;
long l_EntCoilUsedWeight1;
short s_EntCoilUsedWeight1Zi;
char c_EntCoilNo2[20+1];
short s_EntCoilNo2Zi;
long l_EntCoilUsedWeight2;
short s_EntCoilUsedWeight2Zi;
char c_EntCoilNo3[20+1];
short s_EntCoilNo3Zi;
long l_EntCoilUsedWeight3;
short s_EntCoilUsedWeight3Zi;
short s_WeldPoints;
short s_WeldPointsZi;
char c_Weldtype1[1+1];
short s_Weldtype1Zi;
long l_Weldposition1;
short s_Weldposition1Zi;
char c_Weldtype2[1+1];
short s_Weldtype2Zi;
long l_Weldposition2;
short s_Weldposition2Zi;
char c_Weldtype3[1+1];
short s_Weldtype3Zi;
long l_Weldposition3;
short s_Weldposition3Zi;
char c_CoatingCode[2+1];
short s_CoatingCodeZi;
short s_TopCoatingAmount;
short s_TopCoatingAmountZi;
short s_BotCoatingAmount;
short s_BotCoatingAmountZi;
short s_PreClearLiquidPitPos;
short s_PreClearLiquidPitPosZi;
long l_muId;
char c_muCreator[3];
short s_musId;
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_muId;
char c_k_muCreator[3];
short s_k_musId;
char c_k_source[2+1];
public:
//
// LTA Structure
struct STR_T_PDO_PH{
char source[2+1];
char EnCoilId[4][20+1];
char ExCoilId[20+1];
int coilLengthX;
int coilInnerDiam;
int coilOutDiaX;
char ProdEnd[27];
char ProdStart[27];
int ProdTime;
int finalSign;
int noOrder;
int noStripping;
int noWeldseams;
char shift[1+1];
char shiftcode[1+1];
char statusL3[1+1];
char booktime[27];
int weight;
int weightCalc;
char remark[200+1];
double hEntry;
double widthEntry;
double hExit;
double widthExit;
int weightEntry;
int LengthEntry;
int IndiaEntry;
int OutdiaEntry;
char standard[50+1];
char nextProcCode[10+1];
char OrderNo[10+1];
char SpecChange[1+1];
double ExitCoilTargetWidth;
double ExitCoilThickness;
double ExitCoilThickMin;
double ExitCoilThickMax;
double ExitCoilWidth;
double ExitCoilWidthMin;
double ExitCoilWidthMax;
char TrimFlag[1+1];
short ActTrimWidth;
short EntScrapHeadLenth;
short EntScrapTailLenth;
short ExtScrapHeadLenth;
short ExtScrapTailLenth;
char CoilCombinationFlag[1+1];
char EntCoilNo1[20+1];
int EntCoilUsedWeight1;
char EntCoilNo2[20+1];
int EntCoilUsedWeight2;
char EntCoilNo3[20+1];
int EntCoilUsedWeight3;
short WeldPoints;
char Weldtype1[1+1];
int Weldposition1;
char Weldtype2[1+1];
int Weldposition2;
char Weldtype3[1+1];
int Weldposition3;
char CoatingCode[2+1];
short TopCoatingAmount;
short BotCoatingAmount;
short PreClearLiquidPitPos;
int muId;
char muCreator[3];
short musId;
char toc[27];
char tom[27];
char mop[121];
char mou[31];
}structTable;
// LTA Structure Zi
struct STR_T_PDO_PHZi{
short EnCoilIdZi[4];
short ExCoilIdZi;
short coilLengthXZi;
short coilInnerDiamZi;
short coilOutDiaXZi;
short ProdEndZi;
short ProdStartZi;
short ProdTimeZi;
short finalSignZi;
short noOrderZi;
short noStrippingZi;
short noWeldseamsZi;
short shiftZi;
short shiftcodeZi;
short statusL3Zi;
short booktimeZi;
short weightZi;
short weightCalcZi;
short remarkZi;
short hEntryZi;
short widthEntryZi;
short hExitZi;
short widthExitZi;
short weightEntryZi;
short LengthEntryZi;
short IndiaEntryZi;
short OutdiaEntryZi;
short standardZi;
short nextProcCodeZi;
short OrderNoZi;
short SpecChangeZi;
short ExitCoilTargetWidthZi;
short ExitCoilThicknessZi;
short ExitCoilThickMinZi;
short ExitCoilThickMaxZi;
short ExitCoilWidthZi;
short ExitCoilWidthMinZi;
short ExitCoilWidthMaxZi;
short TrimFlagZi;
short ActTrimWidthZi;
short EntScrapHeadLenthZi;
short EntScrapTailLenthZi;
short ExtScrapHeadLenthZi;
short ExtScrapTailLenthZi;
short CoilCombinationFlagZi;
short EntCoilNo1Zi;
short EntCoilUsedWeight1Zi;
short EntCoilNo2Zi;
short EntCoilUsedWeight2Zi;
short EntCoilNo3Zi;
short EntCoilUsedWeight3Zi;
short WeldPointsZi;
short Weldtype1Zi;
short Weldposition1Zi;
short Weldtype2Zi;
short Weldposition2Zi;
short Weldtype3Zi;
short Weldposition3Zi;
short CoatingCodeZi;
short TopCoatingAmountZi;
short BotCoatingAmountZi;
short PreClearLiquidPitPosZi;
short tocZi;
short tomZi;
short mopZi;
short mouZi;
}structTableZi;
//
//C O N S T R U C T O R S
//=======================
//
public:
T_PDO_PH();
//D E S T R U C T O R S
//=======================
//
virtual ~T_PDO_PH();
//
//C O P Y - C O N S T R U C T O R
//=======================
T_PDO_PH(const T_PDO_PH &inst);
// For Constructors with parameters the flag dbAccess
// informs you if the access was successfully or not
T_PDO_PH( MU_CODE muCode , const char* arg1);
//methods
public:
char* getCreationTime() {return (char*)"2018.7.9 10:44:17";};
//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 , const char* arg2 , short arg3 , const char* arg4 );
void setPrimKey( MU_CODE muCode , const char* arg1 );
// public methode initInsertKeys
//
// this methode stores the unique key attributes
//
void initInsertKeys( long arg1 , const char* arg2 , short arg3 , const char* arg4 );
void initInsertKeys( MU_CODE muCode , const 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_PDO_PH operator+(const T_PDO_PH &inst) const;
//
//O P E R A T O R =
//===================
//
public:
const T_PDO_PH& operator=(const T_PDO_PH &inst);
char* source() const;//{
//return((char*)c_source );
//}
void set_source( const char* arg );//{
//strncpy((char*)c_source , arg , sizeof(c_source));
//c_source[sizeof(c_source)-1] = '\0';
//return;
//}
int EnCoilIdArraySize();//{
//return(4);
//}
char* EnCoilId(int colInd) const;//{
//return((char*)c_EnCoilId[colInd] );
//}
short EnCoilIdZi(int colInd) const;//{
//return( s_EnCoilIdZi[colInd]);
//}
void set_EnCoilId( int colInd, const char* arg );//{
//strncpy((char*)c_EnCoilId[colInd] , arg , sizeof(c_EnCoilId[colInd]));
//c_EnCoilId[colInd][sizeof(c_EnCoilId[colInd])-1] = '\0';
//s_EnCoilIdZi[colInd]= 0;
//return;
//}
void set_EnCoilIdZi( int colInd, short arg );// {
//s_EnCoilIdZi[colInd] = arg;
//}
char* ExCoilId() const;//{
//return((char*)c_ExCoilId );
//}
short ExCoilIdZi() const;//{
//return( s_ExCoilIdZi);
//}
void set_ExCoilId( const char* arg );//{
//strncpy((char*)c_ExCoilId , arg , sizeof(c_ExCoilId));
//c_ExCoilId[sizeof(c_ExCoilId)-1] = '\0';
//s_ExCoilIdZi= 0;
//return;
//}
void set_ExCoilIdZi( short arg ) ;//{
//s_ExCoilIdZi = arg;
//}
long coilLengthX() const;//{
//return((long)l_coilLengthX );
//}
short coilLengthXZi() const;//{
//return( s_coilLengthXZi);
//}
void set_coilLengthX( long arg );//{
//l_coilLengthX = arg;
//s_coilLengthXZi= 0;
//return;
//}
void set_coilLengthXZi( short arg ) ;//{
//s_coilLengthXZi = arg;
//}
long coilInnerDiam() const;//{
//return((long)l_coilInnerDiam );
//}
short coilInnerDiamZi() const;//{
//return( s_coilInnerDiamZi);
//}
void set_coilInnerDiam( long arg );//{
//l_coilInnerDiam = arg;
//s_coilInnerDiamZi= 0;
//return;
//}
void set_coilInnerDiamZi( short arg ) ;//{
//s_coilInnerDiamZi = arg;
//}
long coilOutDiaX() const;//{
//return((long)l_coilOutDiaX );
//}
short coilOutDiaXZi() const;//{
//return( s_coilOutDiaXZi);
//}
void set_coilOutDiaX( long arg );//{
//l_coilOutDiaX = arg;
//s_coilOutDiaXZi= 0;
//return;
//}
void set_coilOutDiaXZi( short arg ) ;//{
//s_coilOutDiaXZi = arg;
//}
char* ProdEnd() const;//{
//return((char*)c_ProdEnd );
//}
short ProdEndZi() const;//{
//return( s_ProdEndZi);
//}
void set_ProdEnd( char* arg );//{
//strncpy((char*)c_ProdEnd , arg , sizeof(c_ProdEnd));
//c_ProdEnd[sizeof(c_ProdEnd)-1] = '\0';
//s_ProdEndZi= 0;
//return;
//}
void set_ProdEndZi( short arg ) ;//{
//s_ProdEndZi = arg;
//}
char* ProdStart() const;//{
//return((char*)c_ProdStart );
//}
short ProdStartZi() const;//{
//return( s_ProdStartZi);
//}
void set_ProdStart( char* arg );//{
//strncpy((char*)c_ProdStart , arg , sizeof(c_ProdStart));
//c_ProdStart[sizeof(c_ProdStart)-1] = '\0';
//s_ProdStartZi= 0;
//return;
//}
void set_ProdStartZi( short arg ) ;//{
//s_ProdStartZi = arg;
//}
long ProdTime() const;//{
//return((long)l_ProdTime );
//}
short ProdTimeZi() const;//{
//return( s_ProdTimeZi);
//}
void set_ProdTime( long arg );//{
//l_ProdTime = arg;
//s_ProdTimeZi= 0;
//return;
//}
void set_ProdTimeZi( short arg ) ;//{
//s_ProdTimeZi = arg;
//}
long finalSign() const;//{
//return((long)l_finalSign );
//}
short finalSignZi() const;//{
//return( s_finalSignZi);
//}
void set_finalSign( long arg );//{
//l_finalSign = arg;
//s_finalSignZi= 0;
//return;
//}
void set_finalSignZi( short arg ) ;//{
//s_finalSignZi = arg;
//}
long noOrder() const;//{
//return((long)l_noOrder );
//}
short noOrderZi() const;//{
//return( s_noOrderZi);
//}
void set_noOrder( long arg );//{
//l_noOrder = arg;
//s_noOrderZi= 0;
//return;
//}
void set_noOrderZi( short arg ) ;//{
//s_noOrderZi = arg;
//}
long noStripping() const;//{
//return((long)l_noStripping );
//}
short noStrippingZi() const;//{
//return( s_noStrippingZi);
//}
void set_noStripping( long arg );//{
//l_noStripping = arg;
//s_noStrippingZi= 0;
//return;
//}
void set_noStrippingZi( short arg ) ;//{
//s_noStrippingZi = arg;
//}
long noWeldseams() const;//{
//return((long)l_noWeldseams );
//}
short noWeldseamsZi() const;//{
//return( s_noWeldseamsZi);
//}
void set_noWeldseams( long arg );//{
//l_noWeldseams = arg;
//s_noWeldseamsZi= 0;
//return;
//}
void set_noWeldseamsZi( short arg ) ;//{
//s_noWeldseamsZi = arg;
//}
char* shift() const;//{
//return((char*)c_shift );
//}
short shiftZi() const;//{
//return( s_shiftZi);
//}
void set_shift( const char* arg );//{
//strncpy((char*)c_shift , arg , sizeof(c_shift));
//c_shift[sizeof(c_shift)-1] = '\0';
//s_shiftZi= 0;
//return;
//}
void set_shiftZi( short arg ) ;//{
//s_shiftZi = arg;
//}
char* shiftcode() const;//{
//return((char*)c_shiftcode );
//}
short shiftcodeZi() const;//{
//return( s_shiftcodeZi);
//}
void set_shiftcode( const char* arg );//{
//strncpy((char*)c_shiftcode , arg , sizeof(c_shiftcode));
//c_shiftcode[sizeof(c_shiftcode)-1] = '\0';
//s_shiftcodeZi= 0;
//return;
//}
void set_shiftcodeZi( short arg ) ;//{
//s_shiftcodeZi = arg;
//}
char* statusL3() const;//{
//return((char*)c_statusL3 );
//}
short statusL3Zi() const;//{
//return( s_statusL3Zi);
//}
void set_statusL3( const char* arg );//{
//strncpy((char*)c_statusL3 , arg , sizeof(c_statusL3));
//c_statusL3[sizeof(c_statusL3)-1] = '\0';
//s_statusL3Zi= 0;
//return;
//}
void set_statusL3Zi( short arg ) ;//{
//s_statusL3Zi = arg;
//}
char* booktime() const;//{
//return((char*)c_booktime );
//}
short booktimeZi() const;//{
//return( s_booktimeZi);
//}
void set_booktime( char* arg );//{
//strncpy((char*)c_booktime , arg , sizeof(c_booktime));
//c_booktime[sizeof(c_booktime)-1] = '\0';
//s_booktimeZi= 0;
//return;
//}
void set_booktimeZi( short arg ) ;//{
//s_booktimeZi = arg;
//}
long weight() const;//{
//return((long)l_weight );
//}
short weightZi() const;//{
//return( s_weightZi);
//}
void set_weight( long arg );//{
//l_weight = arg;
//s_weightZi= 0;
//return;
//}
void set_weightZi( short arg ) ;//{
//s_weightZi = arg;
//}
long weightCalc() const;//{
//return((long)l_weightCalc );
//}
short weightCalcZi() const;//{
//return( s_weightCalcZi);
//}
void set_weightCalc( long arg );//{
//l_weightCalc = arg;
//s_weightCalcZi= 0;
//return;
//}
void set_weightCalcZi( short arg ) ;//{
//s_weightCalcZi = 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;
//}
double hEntry() const;//{
//return((double)d_hEntry );
//}
short hEntryZi() const;//{
//return( s_hEntryZi);
//}
void set_hEntry( double arg );//{
//d_hEntry = arg;
//s_hEntryZi= 0;
//return;
//}
void set_hEntryZi( short arg ) ;//{
//s_hEntryZi = arg;
//}
double widthEntry() const;//{
//return((double)d_widthEntry );
//}
short widthEntryZi() const;//{
//return( s_widthEntryZi);
//}
void set_widthEntry( double arg );//{
//d_widthEntry = arg;
//s_widthEntryZi= 0;
//return;
//}
void set_widthEntryZi( short arg ) ;//{
//s_widthEntryZi = arg;
//}
double hExit() const;//{
//return((double)d_hExit );
//}
short hExitZi() const;//{
//return( s_hExitZi);
//}
void set_hExit( double arg );//{
//d_hExit = arg;
//s_hExitZi= 0;
//return;
//}
void set_hExitZi( short arg ) ;//{
//s_hExitZi = arg;
//}
double widthExit() const;//{
//return((double)d_widthExit );
//}
short widthExitZi() const;//{
//return( s_widthExitZi);
//}
void set_widthExit( double arg );//{
//d_widthExit = arg;
//s_widthExitZi= 0;
//return;
//}
void set_widthExitZi( short arg ) ;//{
//s_widthExitZi = arg;
//}
long weightEntry() const;//{
//return((long)l_weightEntry );
//}
short weightEntryZi() const;//{
//return( s_weightEntryZi);
//}
void set_weightEntry( long arg );//{
//l_weightEntry = arg;
//s_weightEntryZi= 0;
//return;
//}
void set_weightEntryZi( short arg ) ;//{
//s_weightEntryZi = arg;
//}
long LengthEntry() const;//{
//return((long)l_LengthEntry );
//}
short LengthEntryZi() const;//{
//return( s_LengthEntryZi);
//}
void set_LengthEntry( long arg );//{
//l_LengthEntry = arg;
//s_LengthEntryZi= 0;
//return;
//}
void set_LengthEntryZi( short arg ) ;//{
//s_LengthEntryZi = arg;
//}
long IndiaEntry() const;//{
//return((long)l_IndiaEntry );
//}
short IndiaEntryZi() const;//{
//return( s_IndiaEntryZi);
//}
void set_IndiaEntry( long arg );//{
//l_IndiaEntry = arg;
//s_IndiaEntryZi= 0;
//return;
//}
void set_IndiaEntryZi( short arg ) ;//{
//s_IndiaEntryZi = arg;
//}
long OutdiaEntry() const;//{
//return((long)l_OutdiaEntry );
//}
short OutdiaEntryZi() const;//{
//return( s_OutdiaEntryZi);
//}
void set_OutdiaEntry( long arg );//{
//l_OutdiaEntry = arg;
//s_OutdiaEntryZi= 0;
//return;
//}
void set_OutdiaEntryZi( short arg ) ;//{
//s_OutdiaEntryZi = arg;
//}
char* standard() const;//{
//return((char*)c_standard );
//}
short standardZi() const;//{
//return( s_standardZi);
//}
void set_standard( const char* arg );//{
//strncpy((char*)c_standard , arg , sizeof(c_standard));
//c_standard[sizeof(c_standard)-1] = '\0';
//s_standardZi= 0;
//return;
//}
void set_standardZi( short arg ) ;//{
//s_standardZi = arg;
//}
char* nextProcCode() const;//{
//return((char*)c_nextProcCode );
//}
short nextProcCodeZi() const;//{
//return( s_nextProcCodeZi);
//}
void set_nextProcCode( const char* arg );//{
//strncpy((char*)c_nextProcCode , arg , sizeof(c_nextProcCode));
//c_nextProcCode[sizeof(c_nextProcCode)-1] = '\0';
//s_nextProcCodeZi= 0;
//return;
//}
void set_nextProcCodeZi( short arg ) ;//{
//s_nextProcCodeZi = arg;
//}
char* OrderNo() const;//{
//return((char*)c_OrderNo );
//}
short OrderNoZi() const;//{
//return( s_OrderNoZi);
//}
void set_OrderNo( const char* arg );//{
//strncpy((char*)c_OrderNo , arg , sizeof(c_OrderNo));
//c_OrderNo[sizeof(c_OrderNo)-1] = '\0';
//s_OrderNoZi= 0;
//return;
//}
void set_OrderNoZi( short arg ) ;//{
//s_OrderNoZi = arg;
//}
char* SpecChange() const;//{
//return((char*)c_SpecChange );
//}
short SpecChangeZi() const;//{
//return( s_SpecChangeZi);
//}
void set_SpecChange( const char* arg );//{
//strncpy((char*)c_SpecChange , arg , sizeof(c_SpecChange));
//c_SpecChange[sizeof(c_SpecChange)-1] = '\0';
//s_SpecChangeZi= 0;
//return;
//}
void set_SpecChangeZi( short arg ) ;//{
//s_SpecChangeZi = arg;
//}
double ExitCoilTargetWidth() const;//{
//return((double)d_ExitCoilTargetWidth );
//}
short ExitCoilTargetWidthZi() const;//{
//return( s_ExitCoilTargetWidthZi);
//}
void set_ExitCoilTargetWidth( double arg );//{
//d_ExitCoilTargetWidth = arg;
//s_ExitCoilTargetWidthZi= 0;
//return;
//}
void set_ExitCoilTargetWidthZi( short arg ) ;//{
//s_ExitCoilTargetWidthZi = arg;
//}
double ExitCoilThickness() const;//{
//return((double)d_ExitCoilThickness );
//}
short ExitCoilThicknessZi() const;//{
//return( s_ExitCoilThicknessZi);
//}
void set_ExitCoilThickness( double arg );//{
//d_ExitCoilThickness = arg;
//s_ExitCoilThicknessZi= 0;
//return;
//}
void set_ExitCoilThicknessZi( short arg ) ;//{
//s_ExitCoilThicknessZi = arg;
//}
double ExitCoilThickMin() const;//{
//return((double)d_ExitCoilThickMin );
//}
short ExitCoilThickMinZi() const;//{
//return( s_ExitCoilThickMinZi);
//}
void set_ExitCoilThickMin( double arg );//{
//d_ExitCoilThickMin = arg;
//s_ExitCoilThickMinZi= 0;
//return;
//}
void set_ExitCoilThickMinZi( short arg ) ;//{
//s_ExitCoilThickMinZi = arg;
//}
double ExitCoilThickMax() const;//{
//return((double)d_ExitCoilThickMax );
//}
short ExitCoilThickMaxZi() const;//{
//return( s_ExitCoilThickMaxZi);
//}
void set_ExitCoilThickMax( double arg );//{
//d_ExitCoilThickMax = arg;
//s_ExitCoilThickMaxZi= 0;
//return;
//}
void set_ExitCoilThickMaxZi( short arg ) ;//{
//s_ExitCoilThickMaxZi = arg;
//}
double ExitCoilWidth() const;//{
//return((double)d_ExitCoilWidth );
//}
short ExitCoilWidthZi() const;//{
//return( s_ExitCoilWidthZi);
//}
void set_ExitCoilWidth( double arg );//{
//d_ExitCoilWidth = arg;
//s_ExitCoilWidthZi= 0;
//return;
//}
void set_ExitCoilWidthZi( short arg ) ;//{
//s_ExitCoilWidthZi = arg;
//}
double ExitCoilWidthMin() const;//{
//return((double)d_ExitCoilWidthMin );
//}
short ExitCoilWidthMinZi() const;//{
//return( s_ExitCoilWidthMinZi);
//}
void set_ExitCoilWidthMin( double arg );//{
//d_ExitCoilWidthMin = arg;
//s_ExitCoilWidthMinZi= 0;
//return;
//}
void set_ExitCoilWidthMinZi( short arg ) ;//{
//s_ExitCoilWidthMinZi = arg;
//}
double ExitCoilWidthMax() const;//{
//return((double)d_ExitCoilWidthMax );
//}
short ExitCoilWidthMaxZi() const;//{
//return( s_ExitCoilWidthMaxZi);
//}
void set_ExitCoilWidthMax( double arg );//{
//d_ExitCoilWidthMax = arg;
//s_ExitCoilWidthMaxZi= 0;
//return;
//}
void set_ExitCoilWidthMaxZi( short arg ) ;//{
//s_ExitCoilWidthMaxZi = arg;
//}
char* TrimFlag() const;//{
//return((char*)c_TrimFlag );
//}
short TrimFlagZi() const;//{
//return( s_TrimFlagZi);
//}
void set_TrimFlag( const char* arg );//{
//strncpy((char*)c_TrimFlag , arg , sizeof(c_TrimFlag));
//c_TrimFlag[sizeof(c_TrimFlag)-1] = '\0';
//s_TrimFlagZi= 0;
//return;
//}
void set_TrimFlagZi( short arg ) ;//{
//s_TrimFlagZi = arg;
//}
short ActTrimWidth() const;//{
//return((short)s_ActTrimWidth );
//}
short ActTrimWidthZi() const;//{
//return( s_ActTrimWidthZi);
//}
void set_ActTrimWidth( short arg );//{
//s_ActTrimWidth = arg;
//s_ActTrimWidthZi= 0;
//return;
//}
void set_ActTrimWidthZi( short arg ) ;//{
//s_ActTrimWidthZi = arg;
//}
short EntScrapHeadLenth() const;//{
//return((short)s_EntScrapHeadLenth );
//}
short EntScrapHeadLenthZi() const;//{
//return( s_EntScrapHeadLenthZi);
//}
void set_EntScrapHeadLenth( short arg );//{
//s_EntScrapHeadLenth = arg;
//s_EntScrapHeadLenthZi= 0;
//return;
//}
void set_EntScrapHeadLenthZi( short arg ) ;//{
//s_EntScrapHeadLenthZi = arg;
//}
short EntScrapTailLenth() const;//{
//return((short)s_EntScrapTailLenth );
//}
short EntScrapTailLenthZi() const;//{
//return( s_EntScrapTailLenthZi);
//}
void set_EntScrapTailLenth( short arg );//{
//s_EntScrapTailLenth = arg;
//s_EntScrapTailLenthZi= 0;
//return;
//}
void set_EntScrapTailLenthZi( short arg ) ;//{
//s_EntScrapTailLenthZi = arg;
//}
short ExtScrapHeadLenth() const;//{
//return((short)s_ExtScrapHeadLenth );
//}
short ExtScrapHeadLenthZi() const;//{
//return( s_ExtScrapHeadLenthZi);
//}
void set_ExtScrapHeadLenth( short arg );//{
//s_ExtScrapHeadLenth = arg;
//s_ExtScrapHeadLenthZi= 0;
//return;
//}
void set_ExtScrapHeadLenthZi( short arg ) ;//{
//s_ExtScrapHeadLenthZi = arg;
//}
short ExtScrapTailLenth() const;//{
//return((short)s_ExtScrapTailLenth );
//}
short ExtScrapTailLenthZi() const;//{
//return( s_ExtScrapTailLenthZi);
//}
void set_ExtScrapTailLenth( short arg );//{
//s_ExtScrapTailLenth = arg;
//s_ExtScrapTailLenthZi= 0;
//return;
//}
void set_ExtScrapTailLenthZi( short arg ) ;//{
//s_ExtScrapTailLenthZi = arg;
//}
char* CoilCombinationFlag() const;//{
//return((char*)c_CoilCombinationFlag );
//}
short CoilCombinationFlagZi() const;//{
//return( s_CoilCombinationFlagZi);
//}
void set_CoilCombinationFlag( const char* arg );//{
//strncpy((char*)c_CoilCombinationFlag , arg , sizeof(c_CoilCombinationFlag));
//c_CoilCombinationFlag[sizeof(c_CoilCombinationFlag)-1] = '\0';
//s_CoilCombinationFlagZi= 0;
//return;
//}
void set_CoilCombinationFlagZi( short arg ) ;//{
//s_CoilCombinationFlagZi = arg;
//}
char* EntCoilNo1() const;//{
//return((char*)c_EntCoilNo1 );
//}
short EntCoilNo1Zi() const;//{
//return( s_EntCoilNo1Zi);
//}
void set_EntCoilNo1( const char* arg );//{
//strncpy((char*)c_EntCoilNo1 , arg , sizeof(c_EntCoilNo1));
//c_EntCoilNo1[sizeof(c_EntCoilNo1)-1] = '\0';
//s_EntCoilNo1Zi= 0;
//return;
//}
void set_EntCoilNo1Zi( short arg ) ;//{
//s_EntCoilNo1Zi = arg;
//}
long EntCoilUsedWeight1() const;//{
//return((long)l_EntCoilUsedWeight1 );
//}
short EntCoilUsedWeight1Zi() const;//{
//return( s_EntCoilUsedWeight1Zi);
//}
void set_EntCoilUsedWeight1( long arg );//{
//l_EntCoilUsedWeight1 = arg;
//s_EntCoilUsedWeight1Zi= 0;
//return;
//}
void set_EntCoilUsedWeight1Zi( short arg ) ;//{
//s_EntCoilUsedWeight1Zi = arg;
//}
char* EntCoilNo2() const;//{
//return((char*)c_EntCoilNo2 );
//}
short EntCoilNo2Zi() const;//{
//return( s_EntCoilNo2Zi);
//}
void set_EntCoilNo2( const char* arg );//{
//strncpy((char*)c_EntCoilNo2 , arg , sizeof(c_EntCoilNo2));
//c_EntCoilNo2[sizeof(c_EntCoilNo2)-1] = '\0';
//s_EntCoilNo2Zi= 0;
//return;
//}
void set_EntCoilNo2Zi( short arg ) ;//{
//s_EntCoilNo2Zi = arg;
//}
long EntCoilUsedWeight2() const;//{
//return((long)l_EntCoilUsedWeight2 );
//}
short EntCoilUsedWeight2Zi() const;//{
//return( s_EntCoilUsedWeight2Zi);
//}
void set_EntCoilUsedWeight2( long arg );//{
//l_EntCoilUsedWeight2 = arg;
//s_EntCoilUsedWeight2Zi= 0;
//return;
//}
void set_EntCoilUsedWeight2Zi( short arg ) ;//{
//s_EntCoilUsedWeight2Zi = arg;
//}
char* EntCoilNo3() const;//{
//return((char*)c_EntCoilNo3 );
//}
short EntCoilNo3Zi() const;//{
//return( s_EntCoilNo3Zi);
//}
void set_EntCoilNo3( const char* arg );//{
//strncpy((char*)c_EntCoilNo3 , arg , sizeof(c_EntCoilNo3));
//c_EntCoilNo3[sizeof(c_EntCoilNo3)-1] = '\0';
//s_EntCoilNo3Zi= 0;
//return;
//}
void set_EntCoilNo3Zi( short arg ) ;//{
//s_EntCoilNo3Zi = arg;
//}
long EntCoilUsedWeight3() const;//{
//return((long)l_EntCoilUsedWeight3 );
//}
short EntCoilUsedWeight3Zi() const;//{
//return( s_EntCoilUsedWeight3Zi);
//}
void set_EntCoilUsedWeight3( long arg );//{
//l_EntCoilUsedWeight3 = arg;
//s_EntCoilUsedWeight3Zi= 0;
//return;
//}
void set_EntCoilUsedWeight3Zi( short arg ) ;//{
//s_EntCoilUsedWeight3Zi = arg;
//}
short WeldPoints() const;//{
//return((short)s_WeldPoints );
//}
short WeldPointsZi() const;//{
//return( s_WeldPointsZi);
//}
void set_WeldPoints( short arg );//{
//s_WeldPoints = arg;
//s_WeldPointsZi= 0;
//return;
//}
void set_WeldPointsZi( short arg ) ;//{
//s_WeldPointsZi = arg;
//}
char* Weldtype1() const;//{
//return((char*)c_Weldtype1 );
//}
short Weldtype1Zi() const;//{
//return( s_Weldtype1Zi);
//}
void set_Weldtype1( const char* arg );//{
//strncpy((char*)c_Weldtype1 , arg , sizeof(c_Weldtype1));
//c_Weldtype1[sizeof(c_Weldtype1)-1] = '\0';
//s_Weldtype1Zi= 0;
//return;
//}
void set_Weldtype1Zi( short arg ) ;//{
//s_Weldtype1Zi = arg;
//}
long Weldposition1() const;//{
//return((long)l_Weldposition1 );
//}
short Weldposition1Zi() const;//{
//return( s_Weldposition1Zi);
//}
void set_Weldposition1( long arg );//{
//l_Weldposition1 = arg;
//s_Weldposition1Zi= 0;
//return;
//}
void set_Weldposition1Zi( short arg ) ;//{
//s_Weldposition1Zi = arg;
//}
char* Weldtype2() const;//{
//return((char*)c_Weldtype2 );
//}
short Weldtype2Zi() const;//{
//return( s_Weldtype2Zi);
//}
void set_Weldtype2( const char* arg );//{
//strncpy((char*)c_Weldtype2 , arg , sizeof(c_Weldtype2));
//c_Weldtype2[sizeof(c_Weldtype2)-1] = '\0';
//s_Weldtype2Zi= 0;
//return;
//}
void set_Weldtype2Zi( short arg ) ;//{
//s_Weldtype2Zi = arg;
//}
long Weldposition2() const;//{
//return((long)l_Weldposition2 );
//}
short Weldposition2Zi() const;//{
//return( s_Weldposition2Zi);
//}
void set_Weldposition2( long arg );//{
//l_Weldposition2 = arg;
//s_Weldposition2Zi= 0;
//return;
//}
void set_Weldposition2Zi( short arg ) ;//{
//s_Weldposition2Zi = arg;
//}
char* Weldtype3() const;//{
//return((char*)c_Weldtype3 );
//}
short Weldtype3Zi() const;//{
//return( s_Weldtype3Zi);
//}
void set_Weldtype3( const char* arg );//{
//strncpy((char*)c_Weldtype3 , arg , sizeof(c_Weldtype3));
//c_Weldtype3[sizeof(c_Weldtype3)-1] = '\0';
//s_Weldtype3Zi= 0;
//return;
//}
void set_Weldtype3Zi( short arg ) ;//{
//s_Weldtype3Zi = arg;
//}
long Weldposition3() const;//{
//return((long)l_Weldposition3 );
//}
short Weldposition3Zi() const;//{
//return( s_Weldposition3Zi);
//}
void set_Weldposition3( long arg );//{
//l_Weldposition3 = arg;
//s_Weldposition3Zi= 0;
//return;
//}
void set_Weldposition3Zi( short arg ) ;//{
//s_Weldposition3Zi = arg;
//}
char* CoatingCode() const;//{
//return((char*)c_CoatingCode );
//}
short CoatingCodeZi() const;//{
//return( s_CoatingCodeZi);
//}
void set_CoatingCode( const char* arg );//{
//strncpy((char*)c_CoatingCode , arg , sizeof(c_CoatingCode));
//c_CoatingCode[sizeof(c_CoatingCode)-1] = '\0';
//s_CoatingCodeZi= 0;
//return;
//}
void set_CoatingCodeZi( short arg ) ;//{
//s_CoatingCodeZi = arg;
//}
short TopCoatingAmount() const;//{
//return((short)s_TopCoatingAmount );
//}
short TopCoatingAmountZi() const;//{
//return( s_TopCoatingAmountZi);
//}
void set_TopCoatingAmount( short arg );//{
//s_TopCoatingAmount = arg;
//s_TopCoatingAmountZi= 0;
//return;
//}
void set_TopCoatingAmountZi( short arg ) ;//{
//s_TopCoatingAmountZi = arg;
//}
short BotCoatingAmount() const;//{
//return((short)s_BotCoatingAmount );
//}
short BotCoatingAmountZi() const;//{
//return( s_BotCoatingAmountZi);
//}
void set_BotCoatingAmount( short arg );//{
//s_BotCoatingAmount = arg;
//s_BotCoatingAmountZi= 0;
//return;
//}
void set_BotCoatingAmountZi( short arg ) ;//{
//s_BotCoatingAmountZi = arg;
//}
short PreClearLiquidPitPos() const;//{
//return((short)s_PreClearLiquidPitPos );
//}
short PreClearLiquidPitPosZi() const;//{
//return( s_PreClearLiquidPitPosZi);
//}
void set_PreClearLiquidPitPos( short arg );//{
//s_PreClearLiquidPitPos = arg;
//s_PreClearLiquidPitPosZi= 0;
//return;
//}
void set_PreClearLiquidPitPosZi( short arg ) ;//{
//s_PreClearLiquidPitPosZi = arg;
//}
long muId() const;//{
//return((long)l_muId );
//}
void set_muId( long arg );//{
//l_muId = arg;
//return;
//}
char* muCreator() const;//{
//return((char*)c_muCreator );
//}
void set_muCreator( const char* arg );//{
//strncpy((char*)c_muCreator , arg , sizeof(c_muCreator));
//c_muCreator[sizeof(c_muCreator)-1] = '\0';
//return;
//}
short musId() const;//{
//return((short)s_musId );
//}
void set_musId( short arg );//{
//s_musId = arg;
//return;
//}
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_muId();//{
//return((long)l_k_muId );
//}
void set_k_muId( long arg );//{
//l_k_muId = arg;
//return;
//}
char* k_muCreator();//{
//return((char*)c_k_muCreator );
//}
void set_k_muCreator( char* arg );//{
//strncpy((char*)c_k_muCreator , arg , sizeof(c_k_muCreator));
//c_k_muCreator[sizeof(c_k_muCreator)-1] = '\0';
//return;
//}
short k_musId();//{
//return((short)s_k_musId );
//}
void set_k_musId( short arg );//{
//s_k_musId = arg;
//return;
//}
char* k_source();//{
//return((char*)c_k_source );
//}
void set_k_source( char* arg );//{
//strncpy((char*)c_k_source , arg , sizeof(c_k_source));
//c_k_source[sizeof(c_k_source)-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_PDO_PH");
//}
///////////////////////////////////////////////////
int getSqlCode();//{
//return( db.dbSqlCode);
//}
///////////////////////////////////////////////////
int getRowsProcessed();//{
//return( db.dbRowsProcessed);
//}
};
#endif