1008 lines
21 KiB
C++
1008 lines
21 KiB
C++
// Version: 2019.5.13 12:9:21
|
|
|
|
#ifndef _T_DPDO_DATA_H
|
|
#define _T_DPDO_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_DPDO_DATADBAX.h"
|
|
class T_DPDO_DATA{
|
|
friend class T_DPDO_DATADBAX;
|
|
private:
|
|
//aggregation to DB Class
|
|
T_DPDO_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_entId[20+1];
|
|
short s_entIdZi;
|
|
char c_extId[20+1];
|
|
char c_process_start_time[17+1];
|
|
short s_process_start_timeZi;
|
|
char c_process_end_time[17+1];
|
|
short s_process_end_timeZi;
|
|
char c_crew[1+1];
|
|
short s_crewZi;
|
|
char c_shift[1+1];
|
|
short s_shiftZi;
|
|
double d_deliver_thick;
|
|
short s_deliver_thickZi;
|
|
long l_deliver_length;
|
|
short s_deliver_lengthZi;
|
|
long l_deliver_weight_cal;
|
|
short s_deliver_weight_calZi;
|
|
long l_deliver_weight_act;
|
|
short s_deliver_weight_actZi;
|
|
long l_deliver_diameter_out;
|
|
short s_deliver_diameter_outZi;
|
|
long l_deliver_diameter_in;
|
|
short s_deliver_diameter_inZi;
|
|
long l_trimmer_weight;
|
|
short s_trimmer_weightZi;
|
|
double d_deliver_thick_act;
|
|
short s_deliver_thick_actZi;
|
|
double d_deliver_width_act;
|
|
short s_deliver_width_actZi;
|
|
double d_Entry_width_act;
|
|
short s_Entry_width_actZi;
|
|
double d_product_eff_1;
|
|
short s_product_eff_1Zi;
|
|
double d_product_eff_2;
|
|
short s_product_eff_2Zi;
|
|
double d_coate_weight_t_max;
|
|
short s_coate_weight_t_maxZi;
|
|
double d_coate_weight_t_min;
|
|
short s_coate_weight_t_minZi;
|
|
double d_coate_weight_t_ave;
|
|
short s_coate_weight_t_aveZi;
|
|
double d_coate_weight_b_max;
|
|
short s_coate_weight_b_maxZi;
|
|
double d_coate_weight_b_min;
|
|
short s_coate_weight_b_minZi;
|
|
double d_coate_weight_b_ave;
|
|
short s_coate_weight_b_aveZi;
|
|
double d_coate_weight_t_ds_ave;
|
|
short s_coate_weight_t_ds_aveZi;
|
|
double d_coate_weight_t_ce_ave;
|
|
short s_coate_weight_t_ce_aveZi;
|
|
double d_coate_weight_t_ws_ave;
|
|
short s_coate_weight_t_ws_aveZi;
|
|
double d_coate_weight_t_total_ave;
|
|
short s_coate_weight_t_total_aveZi;
|
|
double d_coate_weight_b_ds_ave;
|
|
short s_coate_weight_b_ds_aveZi;
|
|
double d_coate_weight_b_ce_ave;
|
|
short s_coate_weight_b_ce_aveZi;
|
|
double d_coate_weight_b_ws_ave;
|
|
short s_coate_weight_b_ws_aveZi;
|
|
double d_coate_weight_b_total_ave;
|
|
short s_coate_weight_b_total_aveZi;
|
|
double d_startposi_in_entrycoil;
|
|
short s_startposi_in_entrycoilZi;
|
|
double d_endposi_in_entrycoil;
|
|
short s_endposi_in_entrycoilZi;
|
|
long l_tr_no;
|
|
short s_tr_noZi;
|
|
long l_wind_direction;
|
|
short s_wind_directionZi;
|
|
char c_c_Reserve[20+1];
|
|
short s_c_ReserveZi;
|
|
char c_TC[27];
|
|
short s_TCZi;
|
|
// arguments for Primary key
|
|
char c_k_extId[20+1];
|
|
public:
|
|
//
|
|
// LTA Structure
|
|
struct STR_T_DPDO_DATA{
|
|
char entId[20+1];
|
|
char extId[20+1];
|
|
char process_start_time[17+1];
|
|
char process_end_time[17+1];
|
|
char crew[1+1];
|
|
char shift[1+1];
|
|
double deliver_thick;
|
|
int deliver_length;
|
|
int deliver_weight_cal;
|
|
int deliver_weight_act;
|
|
int deliver_diameter_out;
|
|
int deliver_diameter_in;
|
|
int trimmer_weight;
|
|
double deliver_thick_act;
|
|
double deliver_width_act;
|
|
double Entry_width_act;
|
|
double product_eff_1;
|
|
double product_eff_2;
|
|
double coate_weight_t_max;
|
|
double coate_weight_t_min;
|
|
double coate_weight_t_ave;
|
|
double coate_weight_b_max;
|
|
double coate_weight_b_min;
|
|
double coate_weight_b_ave;
|
|
double coate_weight_t_ds_ave;
|
|
double coate_weight_t_ce_ave;
|
|
double coate_weight_t_ws_ave;
|
|
double coate_weight_t_total_ave;
|
|
double coate_weight_b_ds_ave;
|
|
double coate_weight_b_ce_ave;
|
|
double coate_weight_b_ws_ave;
|
|
double coate_weight_b_total_ave;
|
|
double startposi_in_entrycoil;
|
|
double endposi_in_entrycoil;
|
|
int tr_no;
|
|
int wind_direction;
|
|
char c_Reserve[20+1];
|
|
char TC[27];
|
|
}structTable;
|
|
// LTA Structure Zi
|
|
struct STR_T_DPDO_DATAZi{
|
|
short entIdZi;
|
|
short process_start_timeZi;
|
|
short process_end_timeZi;
|
|
short crewZi;
|
|
short shiftZi;
|
|
short deliver_thickZi;
|
|
short deliver_lengthZi;
|
|
short deliver_weight_calZi;
|
|
short deliver_weight_actZi;
|
|
short deliver_diameter_outZi;
|
|
short deliver_diameter_inZi;
|
|
short trimmer_weightZi;
|
|
short deliver_thick_actZi;
|
|
short deliver_width_actZi;
|
|
short Entry_width_actZi;
|
|
short product_eff_1Zi;
|
|
short product_eff_2Zi;
|
|
short coate_weight_t_maxZi;
|
|
short coate_weight_t_minZi;
|
|
short coate_weight_t_aveZi;
|
|
short coate_weight_b_maxZi;
|
|
short coate_weight_b_minZi;
|
|
short coate_weight_b_aveZi;
|
|
short coate_weight_t_ds_aveZi;
|
|
short coate_weight_t_ce_aveZi;
|
|
short coate_weight_t_ws_aveZi;
|
|
short coate_weight_t_total_aveZi;
|
|
short coate_weight_b_ds_aveZi;
|
|
short coate_weight_b_ce_aveZi;
|
|
short coate_weight_b_ws_aveZi;
|
|
short coate_weight_b_total_aveZi;
|
|
short startposi_in_entrycoilZi;
|
|
short endposi_in_entrycoilZi;
|
|
short tr_noZi;
|
|
short wind_directionZi;
|
|
short c_ReserveZi;
|
|
short TCZi;
|
|
}structTableZi;
|
|
//
|
|
//C O N S T R U C T O R S
|
|
//=======================
|
|
//
|
|
public:
|
|
T_DPDO_DATA();
|
|
//D E S T R U C T O R S
|
|
//=======================
|
|
//
|
|
virtual ~T_DPDO_DATA();
|
|
//
|
|
//C O P Y - C O N S T R U C T O R
|
|
//=======================
|
|
T_DPDO_DATA(const T_DPDO_DATA &inst);
|
|
// For Constructors with parameters the flag dbAccess
|
|
// informs you if the access was successfully or not
|
|
T_DPDO_DATA( const 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(const char* arg1 );
|
|
|
|
|
|
// public methode initInsertKeys
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void initInsertKeys( 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_DPDO_DATA operator+(const T_DPDO_DATA &inst) const;
|
|
|
|
//
|
|
//O P E R A T O R =
|
|
//===================
|
|
//
|
|
public:
|
|
const T_DPDO_DATA& operator=(const T_DPDO_DATA &inst);
|
|
char* entId() const;//{
|
|
//return((char*)c_entId );
|
|
//}
|
|
|
|
short entIdZi() const;//{
|
|
//return( s_entIdZi);
|
|
//}
|
|
|
|
void set_entId( const char* arg );//{
|
|
//strncpy((char*)c_entId , arg , sizeof(c_entId));
|
|
//c_entId[sizeof(c_entId)-1] = '\0';
|
|
//s_entIdZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_entIdZi( short arg ) ;//{
|
|
//s_entIdZi = arg;
|
|
//}
|
|
|
|
char* extId() const;//{
|
|
//return((char*)c_extId );
|
|
//}
|
|
|
|
|
|
void set_extId( const char* arg );//{
|
|
//strncpy((char*)c_extId , arg , sizeof(c_extId));
|
|
//c_extId[sizeof(c_extId)-1] = '\0';
|
|
//return;
|
|
//}
|
|
|
|
|
|
char* process_start_time() const;//{
|
|
//return((char*)c_process_start_time );
|
|
//}
|
|
|
|
short process_start_timeZi() const;//{
|
|
//return( s_process_start_timeZi);
|
|
//}
|
|
|
|
void set_process_start_time( const char* arg );//{
|
|
//strncpy((char*)c_process_start_time , arg , sizeof(c_process_start_time));
|
|
//c_process_start_time[sizeof(c_process_start_time)-1] = '\0';
|
|
//s_process_start_timeZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_process_start_timeZi( short arg ) ;//{
|
|
//s_process_start_timeZi = arg;
|
|
//}
|
|
|
|
char* process_end_time() const;//{
|
|
//return((char*)c_process_end_time );
|
|
//}
|
|
|
|
short process_end_timeZi() const;//{
|
|
//return( s_process_end_timeZi);
|
|
//}
|
|
|
|
void set_process_end_time( const char* arg );//{
|
|
//strncpy((char*)c_process_end_time , arg , sizeof(c_process_end_time));
|
|
//c_process_end_time[sizeof(c_process_end_time)-1] = '\0';
|
|
//s_process_end_timeZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_process_end_timeZi( short arg ) ;//{
|
|
//s_process_end_timeZi = arg;
|
|
//}
|
|
|
|
char* crew() const;//{
|
|
//return((char*)c_crew );
|
|
//}
|
|
|
|
short crewZi() const;//{
|
|
//return( s_crewZi);
|
|
//}
|
|
|
|
void set_crew( const char* arg );//{
|
|
//strncpy((char*)c_crew , arg , sizeof(c_crew));
|
|
//c_crew[sizeof(c_crew)-1] = '\0';
|
|
//s_crewZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_crewZi( short arg ) ;//{
|
|
//s_crewZi = 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;
|
|
//}
|
|
|
|
double deliver_thick() const;//{
|
|
//return((double)d_deliver_thick );
|
|
//}
|
|
|
|
short deliver_thickZi() const;//{
|
|
//return( s_deliver_thickZi);
|
|
//}
|
|
|
|
void set_deliver_thick( double arg );//{
|
|
//d_deliver_thick = arg;
|
|
//s_deliver_thickZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_thickZi( short arg ) ;//{
|
|
//s_deliver_thickZi = arg;
|
|
//}
|
|
|
|
long deliver_length() const;//{
|
|
//return((long)l_deliver_length );
|
|
//}
|
|
|
|
short deliver_lengthZi() const;//{
|
|
//return( s_deliver_lengthZi);
|
|
//}
|
|
|
|
void set_deliver_length( long arg );//{
|
|
//l_deliver_length = arg;
|
|
//s_deliver_lengthZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_lengthZi( short arg ) ;//{
|
|
//s_deliver_lengthZi = arg;
|
|
//}
|
|
|
|
long deliver_weight_cal() const;//{
|
|
//return((long)l_deliver_weight_cal );
|
|
//}
|
|
|
|
short deliver_weight_calZi() const;//{
|
|
//return( s_deliver_weight_calZi);
|
|
//}
|
|
|
|
void set_deliver_weight_cal( long arg );//{
|
|
//l_deliver_weight_cal = arg;
|
|
//s_deliver_weight_calZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_weight_calZi( short arg ) ;//{
|
|
//s_deliver_weight_calZi = arg;
|
|
//}
|
|
|
|
long deliver_weight_act() const;//{
|
|
//return((long)l_deliver_weight_act );
|
|
//}
|
|
|
|
short deliver_weight_actZi() const;//{
|
|
//return( s_deliver_weight_actZi);
|
|
//}
|
|
|
|
void set_deliver_weight_act( long arg );//{
|
|
//l_deliver_weight_act = arg;
|
|
//s_deliver_weight_actZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_weight_actZi( short arg ) ;//{
|
|
//s_deliver_weight_actZi = arg;
|
|
//}
|
|
|
|
long deliver_diameter_out() const;//{
|
|
//return((long)l_deliver_diameter_out );
|
|
//}
|
|
|
|
short deliver_diameter_outZi() const;//{
|
|
//return( s_deliver_diameter_outZi);
|
|
//}
|
|
|
|
void set_deliver_diameter_out( long arg );//{
|
|
//l_deliver_diameter_out = arg;
|
|
//s_deliver_diameter_outZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_diameter_outZi( short arg ) ;//{
|
|
//s_deliver_diameter_outZi = arg;
|
|
//}
|
|
|
|
long deliver_diameter_in() const;//{
|
|
//return((long)l_deliver_diameter_in );
|
|
//}
|
|
|
|
short deliver_diameter_inZi() const;//{
|
|
//return( s_deliver_diameter_inZi);
|
|
//}
|
|
|
|
void set_deliver_diameter_in( long arg );//{
|
|
//l_deliver_diameter_in = arg;
|
|
//s_deliver_diameter_inZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_diameter_inZi( short arg ) ;//{
|
|
//s_deliver_diameter_inZi = arg;
|
|
//}
|
|
|
|
long trimmer_weight() const;//{
|
|
//return((long)l_trimmer_weight );
|
|
//}
|
|
|
|
short trimmer_weightZi() const;//{
|
|
//return( s_trimmer_weightZi);
|
|
//}
|
|
|
|
void set_trimmer_weight( long arg );//{
|
|
//l_trimmer_weight = arg;
|
|
//s_trimmer_weightZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_trimmer_weightZi( short arg ) ;//{
|
|
//s_trimmer_weightZi = arg;
|
|
//}
|
|
|
|
double deliver_thick_act() const;//{
|
|
//return((double)d_deliver_thick_act );
|
|
//}
|
|
|
|
short deliver_thick_actZi() const;//{
|
|
//return( s_deliver_thick_actZi);
|
|
//}
|
|
|
|
void set_deliver_thick_act( double arg );//{
|
|
//d_deliver_thick_act = arg;
|
|
//s_deliver_thick_actZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_thick_actZi( short arg ) ;//{
|
|
//s_deliver_thick_actZi = arg;
|
|
//}
|
|
|
|
double deliver_width_act() const;//{
|
|
//return((double)d_deliver_width_act );
|
|
//}
|
|
|
|
short deliver_width_actZi() const;//{
|
|
//return( s_deliver_width_actZi);
|
|
//}
|
|
|
|
void set_deliver_width_act( double arg );//{
|
|
//d_deliver_width_act = arg;
|
|
//s_deliver_width_actZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_deliver_width_actZi( short arg ) ;//{
|
|
//s_deliver_width_actZi = arg;
|
|
//}
|
|
|
|
double Entry_width_act() const;//{
|
|
//return((double)d_Entry_width_act );
|
|
//}
|
|
|
|
short Entry_width_actZi() const;//{
|
|
//return( s_Entry_width_actZi);
|
|
//}
|
|
|
|
void set_Entry_width_act( double arg );//{
|
|
//d_Entry_width_act = arg;
|
|
//s_Entry_width_actZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Entry_width_actZi( short arg ) ;//{
|
|
//s_Entry_width_actZi = arg;
|
|
//}
|
|
|
|
double product_eff_1() const;//{
|
|
//return((double)d_product_eff_1 );
|
|
//}
|
|
|
|
short product_eff_1Zi() const;//{
|
|
//return( s_product_eff_1Zi);
|
|
//}
|
|
|
|
void set_product_eff_1( double arg );//{
|
|
//d_product_eff_1 = arg;
|
|
//s_product_eff_1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_product_eff_1Zi( short arg ) ;//{
|
|
//s_product_eff_1Zi = arg;
|
|
//}
|
|
|
|
double product_eff_2() const;//{
|
|
//return((double)d_product_eff_2 );
|
|
//}
|
|
|
|
short product_eff_2Zi() const;//{
|
|
//return( s_product_eff_2Zi);
|
|
//}
|
|
|
|
void set_product_eff_2( double arg );//{
|
|
//d_product_eff_2 = arg;
|
|
//s_product_eff_2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_product_eff_2Zi( short arg ) ;//{
|
|
//s_product_eff_2Zi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_max() const;//{
|
|
//return((double)d_coate_weight_t_max );
|
|
//}
|
|
|
|
short coate_weight_t_maxZi() const;//{
|
|
//return( s_coate_weight_t_maxZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_max( double arg );//{
|
|
//d_coate_weight_t_max = arg;
|
|
//s_coate_weight_t_maxZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_maxZi( short arg ) ;//{
|
|
//s_coate_weight_t_maxZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_min() const;//{
|
|
//return((double)d_coate_weight_t_min );
|
|
//}
|
|
|
|
short coate_weight_t_minZi() const;//{
|
|
//return( s_coate_weight_t_minZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_min( double arg );//{
|
|
//d_coate_weight_t_min = arg;
|
|
//s_coate_weight_t_minZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_minZi( short arg ) ;//{
|
|
//s_coate_weight_t_minZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_ave() const;//{
|
|
//return((double)d_coate_weight_t_ave );
|
|
//}
|
|
|
|
short coate_weight_t_aveZi() const;//{
|
|
//return( s_coate_weight_t_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_ave( double arg );//{
|
|
//d_coate_weight_t_ave = arg;
|
|
//s_coate_weight_t_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_aveZi( short arg ) ;//{
|
|
//s_coate_weight_t_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_max() const;//{
|
|
//return((double)d_coate_weight_b_max );
|
|
//}
|
|
|
|
short coate_weight_b_maxZi() const;//{
|
|
//return( s_coate_weight_b_maxZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_max( double arg );//{
|
|
//d_coate_weight_b_max = arg;
|
|
//s_coate_weight_b_maxZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_maxZi( short arg ) ;//{
|
|
//s_coate_weight_b_maxZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_min() const;//{
|
|
//return((double)d_coate_weight_b_min );
|
|
//}
|
|
|
|
short coate_weight_b_minZi() const;//{
|
|
//return( s_coate_weight_b_minZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_min( double arg );//{
|
|
//d_coate_weight_b_min = arg;
|
|
//s_coate_weight_b_minZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_minZi( short arg ) ;//{
|
|
//s_coate_weight_b_minZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_ave() const;//{
|
|
//return((double)d_coate_weight_b_ave );
|
|
//}
|
|
|
|
short coate_weight_b_aveZi() const;//{
|
|
//return( s_coate_weight_b_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_ave( double arg );//{
|
|
//d_coate_weight_b_ave = arg;
|
|
//s_coate_weight_b_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_aveZi( short arg ) ;//{
|
|
//s_coate_weight_b_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_ds_ave() const;//{
|
|
//return((double)d_coate_weight_t_ds_ave );
|
|
//}
|
|
|
|
short coate_weight_t_ds_aveZi() const;//{
|
|
//return( s_coate_weight_t_ds_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_ds_ave( double arg );//{
|
|
//d_coate_weight_t_ds_ave = arg;
|
|
//s_coate_weight_t_ds_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_ds_aveZi( short arg ) ;//{
|
|
//s_coate_weight_t_ds_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_ce_ave() const;//{
|
|
//return((double)d_coate_weight_t_ce_ave );
|
|
//}
|
|
|
|
short coate_weight_t_ce_aveZi() const;//{
|
|
//return( s_coate_weight_t_ce_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_ce_ave( double arg );//{
|
|
//d_coate_weight_t_ce_ave = arg;
|
|
//s_coate_weight_t_ce_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_ce_aveZi( short arg ) ;//{
|
|
//s_coate_weight_t_ce_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_ws_ave() const;//{
|
|
//return((double)d_coate_weight_t_ws_ave );
|
|
//}
|
|
|
|
short coate_weight_t_ws_aveZi() const;//{
|
|
//return( s_coate_weight_t_ws_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_ws_ave( double arg );//{
|
|
//d_coate_weight_t_ws_ave = arg;
|
|
//s_coate_weight_t_ws_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_ws_aveZi( short arg ) ;//{
|
|
//s_coate_weight_t_ws_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_t_total_ave() const;//{
|
|
//return((double)d_coate_weight_t_total_ave );
|
|
//}
|
|
|
|
short coate_weight_t_total_aveZi() const;//{
|
|
//return( s_coate_weight_t_total_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_t_total_ave( double arg );//{
|
|
//d_coate_weight_t_total_ave = arg;
|
|
//s_coate_weight_t_total_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_t_total_aveZi( short arg ) ;//{
|
|
//s_coate_weight_t_total_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_ds_ave() const;//{
|
|
//return((double)d_coate_weight_b_ds_ave );
|
|
//}
|
|
|
|
short coate_weight_b_ds_aveZi() const;//{
|
|
//return( s_coate_weight_b_ds_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_ds_ave( double arg );//{
|
|
//d_coate_weight_b_ds_ave = arg;
|
|
//s_coate_weight_b_ds_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_ds_aveZi( short arg ) ;//{
|
|
//s_coate_weight_b_ds_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_ce_ave() const;//{
|
|
//return((double)d_coate_weight_b_ce_ave );
|
|
//}
|
|
|
|
short coate_weight_b_ce_aveZi() const;//{
|
|
//return( s_coate_weight_b_ce_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_ce_ave( double arg );//{
|
|
//d_coate_weight_b_ce_ave = arg;
|
|
//s_coate_weight_b_ce_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_ce_aveZi( short arg ) ;//{
|
|
//s_coate_weight_b_ce_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_ws_ave() const;//{
|
|
//return((double)d_coate_weight_b_ws_ave );
|
|
//}
|
|
|
|
short coate_weight_b_ws_aveZi() const;//{
|
|
//return( s_coate_weight_b_ws_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_ws_ave( double arg );//{
|
|
//d_coate_weight_b_ws_ave = arg;
|
|
//s_coate_weight_b_ws_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_ws_aveZi( short arg ) ;//{
|
|
//s_coate_weight_b_ws_aveZi = arg;
|
|
//}
|
|
|
|
double coate_weight_b_total_ave() const;//{
|
|
//return((double)d_coate_weight_b_total_ave );
|
|
//}
|
|
|
|
short coate_weight_b_total_aveZi() const;//{
|
|
//return( s_coate_weight_b_total_aveZi);
|
|
//}
|
|
|
|
void set_coate_weight_b_total_ave( double arg );//{
|
|
//d_coate_weight_b_total_ave = arg;
|
|
//s_coate_weight_b_total_aveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_coate_weight_b_total_aveZi( short arg ) ;//{
|
|
//s_coate_weight_b_total_aveZi = arg;
|
|
//}
|
|
|
|
double startposi_in_entrycoil() const;//{
|
|
//return((double)d_startposi_in_entrycoil );
|
|
//}
|
|
|
|
short startposi_in_entrycoilZi() const;//{
|
|
//return( s_startposi_in_entrycoilZi);
|
|
//}
|
|
|
|
void set_startposi_in_entrycoil( double arg );//{
|
|
//d_startposi_in_entrycoil = arg;
|
|
//s_startposi_in_entrycoilZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_startposi_in_entrycoilZi( short arg ) ;//{
|
|
//s_startposi_in_entrycoilZi = arg;
|
|
//}
|
|
|
|
double endposi_in_entrycoil() const;//{
|
|
//return((double)d_endposi_in_entrycoil );
|
|
//}
|
|
|
|
short endposi_in_entrycoilZi() const;//{
|
|
//return( s_endposi_in_entrycoilZi);
|
|
//}
|
|
|
|
void set_endposi_in_entrycoil( double arg );//{
|
|
//d_endposi_in_entrycoil = arg;
|
|
//s_endposi_in_entrycoilZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_endposi_in_entrycoilZi( short arg ) ;//{
|
|
//s_endposi_in_entrycoilZi = arg;
|
|
//}
|
|
|
|
long tr_no() const;//{
|
|
//return((long)l_tr_no );
|
|
//}
|
|
|
|
short tr_noZi() const;//{
|
|
//return( s_tr_noZi);
|
|
//}
|
|
|
|
void set_tr_no( long arg );//{
|
|
//l_tr_no = arg;
|
|
//s_tr_noZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_tr_noZi( short arg ) ;//{
|
|
//s_tr_noZi = arg;
|
|
//}
|
|
|
|
long wind_direction() const;//{
|
|
//return((long)l_wind_direction );
|
|
//}
|
|
|
|
short wind_directionZi() const;//{
|
|
//return( s_wind_directionZi);
|
|
//}
|
|
|
|
void set_wind_direction( long arg );//{
|
|
//l_wind_direction = arg;
|
|
//s_wind_directionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_wind_directionZi( short arg ) ;//{
|
|
//s_wind_directionZi = arg;
|
|
//}
|
|
|
|
char* c_Reserve() const;//{
|
|
//return((char*)c_c_Reserve );
|
|
//}
|
|
|
|
short c_ReserveZi() const;//{
|
|
//return( s_c_ReserveZi);
|
|
//}
|
|
|
|
void set_c_Reserve( const char* arg );//{
|
|
//strncpy((char*)c_c_Reserve , arg , sizeof(c_c_Reserve));
|
|
//c_c_Reserve[sizeof(c_c_Reserve)-1] = '\0';
|
|
//s_c_ReserveZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_c_ReserveZi( short arg ) ;//{
|
|
//s_c_ReserveZi = 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_extId();//{
|
|
//return((char*)c_k_extId );
|
|
//}
|
|
|
|
void set_k_extId( char* arg );//{
|
|
//strncpy((char*)c_k_extId , arg , sizeof(c_k_extId));
|
|
//c_k_extId[sizeof(c_k_extId)-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_DPDO_DATA");
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getSqlCode();//{
|
|
//return( db.dbSqlCode);
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getRowsProcessed();//{
|
|
//return( db.dbRowsProcessed);
|
|
//}
|
|
};
|
|
#endif
|