1260 lines
24 KiB
C++
1260 lines
24 KiB
C++
// Version: 2015.3.11 11:10:5
|
|
|
|
#ifndef _T_CYC_DAT_H
|
|
#define _T_CYC_DAT_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_CYC_DATDBAX.h"
|
|
class T_CYC_DAT{
|
|
friend class T_CYC_DATDBAX;
|
|
private:
|
|
//aggregation to DB Class
|
|
T_CYC_DATDBAX 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_seqno;
|
|
char c_EnCoilId[20+1];
|
|
short s_EnCoilIdZi;
|
|
char c_ExCoilId[20+1];
|
|
short s_ExCoilIdZi;
|
|
double d_PorTension;
|
|
short s_PorTensionZi;
|
|
double d_PorCurrent;
|
|
short s_PorCurrentZi;
|
|
double d_PorTorque;
|
|
short s_PorTorqueZi;
|
|
double d_PorSpeed;
|
|
short s_PorSpeedZi;
|
|
double d_PorDiameter;
|
|
short s_PorDiameterZi;
|
|
double d_EntSPMTension;
|
|
short s_EntSPMTensionZi;
|
|
double d_EntTopRollCurrent;
|
|
short s_EntTopRollCurrentZi;
|
|
double d_EntTopRollTorque;
|
|
short s_EntTopRollTorqueZi;
|
|
double d_EntTopRollSpeed;
|
|
short s_EntTopRollSpeedZi;
|
|
double d_EntBotRollCurrent;
|
|
short s_EntBotRollCurrentZi;
|
|
double d_EntBotRollTorque;
|
|
short s_EntBotRollTorqueZi;
|
|
double d_EntBotRollSpeed;
|
|
short s_EntBotRollSpeedZi;
|
|
double d_MillCurrent;
|
|
short s_MillCurrentZi;
|
|
double d_MillTorque;
|
|
short s_MillTorqueZi;
|
|
double d_MillSpeed;
|
|
short s_MillSpeedZi;
|
|
double d_ExitSPMTension;
|
|
short s_ExitSPMTensionZi;
|
|
double d_ExitTopRollCurrent;
|
|
short s_ExitTopRollCurrentZi;
|
|
double d_ExitTopRollTorque;
|
|
short s_ExitTopRollTorqueZi;
|
|
double d_ExitTopRollSpeed;
|
|
short s_ExitTopRollSpeedZi;
|
|
double d_ExitBotRollCurrent;
|
|
short s_ExitBotRollCurrentZi;
|
|
double d_ExitBotRollTorque;
|
|
short s_ExitBotRollTorqueZi;
|
|
double d_ExitBotRollSpeed;
|
|
short s_ExitBotRollSpeedZi;
|
|
double d_MillDriveSideRollPosition;
|
|
short s_MillDriveSideRollPositionZi;
|
|
double d_MillOperatorSideRollPosition;
|
|
short s_MillOperatorSideRollPositionZi;
|
|
double d_MillActualAveragePosition;
|
|
short s_MillActualAveragePositionZi;
|
|
double d_MillActualTilt;
|
|
short s_MillActualTiltZi;
|
|
double d_MillActualRollForce;
|
|
short s_MillActualRollForceZi;
|
|
double d_MillActualDifferentRollForce;
|
|
short s_MillActualDifferentRollForceZi;
|
|
double d_ActualElongation;
|
|
short s_ActualElongationZi;
|
|
double d_TRTension;
|
|
short s_TRTensionZi;
|
|
double d_TRCurrent;
|
|
short s_TRCurrentZi;
|
|
double d_TRTorque;
|
|
short s_TRTorqueZi;
|
|
double d_TRSpeed;
|
|
short s_TRSpeedZi;
|
|
double d_TRDiameter;
|
|
short s_TRDiameterZi;
|
|
double d_Spare1;
|
|
short s_Spare1Zi;
|
|
double d_Spare2;
|
|
short s_Spare2Zi;
|
|
double d_Spare3;
|
|
short s_Spare3Zi;
|
|
double d_Spare4;
|
|
short s_Spare4Zi;
|
|
double d_Spare5;
|
|
short s_Spare5Zi;
|
|
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;
|
|
long l_k_seqno;
|
|
public:
|
|
//
|
|
// LTA Structure
|
|
struct STR_T_CYC_DAT{
|
|
int seqno;
|
|
char EnCoilId[20+1];
|
|
char ExCoilId[20+1];
|
|
double PorTension;
|
|
double PorCurrent;
|
|
double PorTorque;
|
|
double PorSpeed;
|
|
double PorDiameter;
|
|
double EntSPMTension;
|
|
double EntTopRollCurrent;
|
|
double EntTopRollTorque;
|
|
double EntTopRollSpeed;
|
|
double EntBotRollCurrent;
|
|
double EntBotRollTorque;
|
|
double EntBotRollSpeed;
|
|
double MillCurrent;
|
|
double MillTorque;
|
|
double MillSpeed;
|
|
double ExitSPMTension;
|
|
double ExitTopRollCurrent;
|
|
double ExitTopRollTorque;
|
|
double ExitTopRollSpeed;
|
|
double ExitBotRollCurrent;
|
|
double ExitBotRollTorque;
|
|
double ExitBotRollSpeed;
|
|
double MillDriveSideRollPosition;
|
|
double MillOperatorSideRollPosition;
|
|
double MillActualAveragePosition;
|
|
double MillActualTilt;
|
|
double MillActualRollForce;
|
|
double MillActualDifferentRollForce;
|
|
double ActualElongation;
|
|
double TRTension;
|
|
double TRCurrent;
|
|
double TRTorque;
|
|
double TRSpeed;
|
|
double TRDiameter;
|
|
double Spare1;
|
|
double Spare2;
|
|
double Spare3;
|
|
double Spare4;
|
|
double Spare5;
|
|
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_CYC_DATZi{
|
|
short EnCoilIdZi;
|
|
short ExCoilIdZi;
|
|
short PorTensionZi;
|
|
short PorCurrentZi;
|
|
short PorTorqueZi;
|
|
short PorSpeedZi;
|
|
short PorDiameterZi;
|
|
short EntSPMTensionZi;
|
|
short EntTopRollCurrentZi;
|
|
short EntTopRollTorqueZi;
|
|
short EntTopRollSpeedZi;
|
|
short EntBotRollCurrentZi;
|
|
short EntBotRollTorqueZi;
|
|
short EntBotRollSpeedZi;
|
|
short MillCurrentZi;
|
|
short MillTorqueZi;
|
|
short MillSpeedZi;
|
|
short ExitSPMTensionZi;
|
|
short ExitTopRollCurrentZi;
|
|
short ExitTopRollTorqueZi;
|
|
short ExitTopRollSpeedZi;
|
|
short ExitBotRollCurrentZi;
|
|
short ExitBotRollTorqueZi;
|
|
short ExitBotRollSpeedZi;
|
|
short MillDriveSideRollPositionZi;
|
|
short MillOperatorSideRollPositionZi;
|
|
short MillActualAveragePositionZi;
|
|
short MillActualTiltZi;
|
|
short MillActualRollForceZi;
|
|
short MillActualDifferentRollForceZi;
|
|
short ActualElongationZi;
|
|
short TRTensionZi;
|
|
short TRCurrentZi;
|
|
short TRTorqueZi;
|
|
short TRSpeedZi;
|
|
short TRDiameterZi;
|
|
short Spare1Zi;
|
|
short Spare2Zi;
|
|
short Spare3Zi;
|
|
short Spare4Zi;
|
|
short Spare5Zi;
|
|
short tocZi;
|
|
short tomZi;
|
|
short mopZi;
|
|
short mouZi;
|
|
}structTableZi;
|
|
//
|
|
//C O N S T R U C T O R S
|
|
//=======================
|
|
//
|
|
public:
|
|
T_CYC_DAT();
|
|
//D E S T R U C T O R S
|
|
//=======================
|
|
//
|
|
virtual ~T_CYC_DAT();
|
|
//
|
|
//C O P Y - C O N S T R U C T O R
|
|
//=======================
|
|
T_CYC_DAT(const T_CYC_DAT &inst);
|
|
// For Constructors with parameters the flag dbAccess
|
|
// informs you if the access was successfully or not
|
|
T_CYC_DAT( MU_CODE muCode , long arg1);
|
|
|
|
//methods
|
|
public:
|
|
char* getCreationTime() {return "2015.3.11 11:10:5";};
|
|
//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 , long arg4 );
|
|
|
|
void setPrimKey( MU_CODE muCode , long arg1 );
|
|
|
|
// public methode initInsertKeys
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void initInsertKeys( long arg1 , const char* arg2 , short arg3 , long arg4 );
|
|
|
|
void initInsertKeys( MU_CODE muCode , long 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_CYC_DAT operator+(const T_CYC_DAT &inst) const;
|
|
|
|
//
|
|
//O P E R A T O R =
|
|
//===================
|
|
//
|
|
public:
|
|
const T_CYC_DAT& operator=(const T_CYC_DAT &inst);
|
|
long seqno() const;//{
|
|
//return((long)l_seqno );
|
|
//}
|
|
|
|
|
|
void set_seqno( long arg );//{
|
|
//l_seqno = arg;
|
|
//return;
|
|
//}
|
|
|
|
|
|
char* EnCoilId() const;//{
|
|
//return((char*)c_EnCoilId );
|
|
//}
|
|
|
|
short EnCoilIdZi() const;//{
|
|
//return( s_EnCoilIdZi);
|
|
//}
|
|
|
|
void set_EnCoilId( const char* arg );//{
|
|
//strncpy((char*)c_EnCoilId , arg , sizeof(c_EnCoilId));
|
|
//c_EnCoilId[sizeof(c_EnCoilId)-1] = '\0';
|
|
//s_EnCoilIdZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EnCoilIdZi( short arg ) ;//{
|
|
//s_EnCoilIdZi = 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;
|
|
//}
|
|
|
|
double PorTension() const;//{
|
|
//return((double)d_PorTension );
|
|
//}
|
|
|
|
short PorTensionZi() const;//{
|
|
//return( s_PorTensionZi);
|
|
//}
|
|
|
|
void set_PorTension( double arg );//{
|
|
//d_PorTension = arg;
|
|
//s_PorTensionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_PorTensionZi( short arg ) ;//{
|
|
//s_PorTensionZi = arg;
|
|
//}
|
|
|
|
double PorCurrent() const;//{
|
|
//return((double)d_PorCurrent );
|
|
//}
|
|
|
|
short PorCurrentZi() const;//{
|
|
//return( s_PorCurrentZi);
|
|
//}
|
|
|
|
void set_PorCurrent( double arg );//{
|
|
//d_PorCurrent = arg;
|
|
//s_PorCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_PorCurrentZi( short arg ) ;//{
|
|
//s_PorCurrentZi = arg;
|
|
//}
|
|
|
|
double PorTorque() const;//{
|
|
//return((double)d_PorTorque );
|
|
//}
|
|
|
|
short PorTorqueZi() const;//{
|
|
//return( s_PorTorqueZi);
|
|
//}
|
|
|
|
void set_PorTorque( double arg );//{
|
|
//d_PorTorque = arg;
|
|
//s_PorTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_PorTorqueZi( short arg ) ;//{
|
|
//s_PorTorqueZi = arg;
|
|
//}
|
|
|
|
double PorSpeed() const;//{
|
|
//return((double)d_PorSpeed );
|
|
//}
|
|
|
|
short PorSpeedZi() const;//{
|
|
//return( s_PorSpeedZi);
|
|
//}
|
|
|
|
void set_PorSpeed( double arg );//{
|
|
//d_PorSpeed = arg;
|
|
//s_PorSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_PorSpeedZi( short arg ) ;//{
|
|
//s_PorSpeedZi = arg;
|
|
//}
|
|
|
|
double PorDiameter() const;//{
|
|
//return((double)d_PorDiameter );
|
|
//}
|
|
|
|
short PorDiameterZi() const;//{
|
|
//return( s_PorDiameterZi);
|
|
//}
|
|
|
|
void set_PorDiameter( double arg );//{
|
|
//d_PorDiameter = arg;
|
|
//s_PorDiameterZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_PorDiameterZi( short arg ) ;//{
|
|
//s_PorDiameterZi = arg;
|
|
//}
|
|
|
|
double EntSPMTension() const;//{
|
|
//return((double)d_EntSPMTension );
|
|
//}
|
|
|
|
short EntSPMTensionZi() const;//{
|
|
//return( s_EntSPMTensionZi);
|
|
//}
|
|
|
|
void set_EntSPMTension( double arg );//{
|
|
//d_EntSPMTension = arg;
|
|
//s_EntSPMTensionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntSPMTensionZi( short arg ) ;//{
|
|
//s_EntSPMTensionZi = arg;
|
|
//}
|
|
|
|
double EntTopRollCurrent() const;//{
|
|
//return((double)d_EntTopRollCurrent );
|
|
//}
|
|
|
|
short EntTopRollCurrentZi() const;//{
|
|
//return( s_EntTopRollCurrentZi);
|
|
//}
|
|
|
|
void set_EntTopRollCurrent( double arg );//{
|
|
//d_EntTopRollCurrent = arg;
|
|
//s_EntTopRollCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntTopRollCurrentZi( short arg ) ;//{
|
|
//s_EntTopRollCurrentZi = arg;
|
|
//}
|
|
|
|
double EntTopRollTorque() const;//{
|
|
//return((double)d_EntTopRollTorque );
|
|
//}
|
|
|
|
short EntTopRollTorqueZi() const;//{
|
|
//return( s_EntTopRollTorqueZi);
|
|
//}
|
|
|
|
void set_EntTopRollTorque( double arg );//{
|
|
//d_EntTopRollTorque = arg;
|
|
//s_EntTopRollTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntTopRollTorqueZi( short arg ) ;//{
|
|
//s_EntTopRollTorqueZi = arg;
|
|
//}
|
|
|
|
double EntTopRollSpeed() const;//{
|
|
//return((double)d_EntTopRollSpeed );
|
|
//}
|
|
|
|
short EntTopRollSpeedZi() const;//{
|
|
//return( s_EntTopRollSpeedZi);
|
|
//}
|
|
|
|
void set_EntTopRollSpeed( double arg );//{
|
|
//d_EntTopRollSpeed = arg;
|
|
//s_EntTopRollSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntTopRollSpeedZi( short arg ) ;//{
|
|
//s_EntTopRollSpeedZi = arg;
|
|
//}
|
|
|
|
double EntBotRollCurrent() const;//{
|
|
//return((double)d_EntBotRollCurrent );
|
|
//}
|
|
|
|
short EntBotRollCurrentZi() const;//{
|
|
//return( s_EntBotRollCurrentZi);
|
|
//}
|
|
|
|
void set_EntBotRollCurrent( double arg );//{
|
|
//d_EntBotRollCurrent = arg;
|
|
//s_EntBotRollCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntBotRollCurrentZi( short arg ) ;//{
|
|
//s_EntBotRollCurrentZi = arg;
|
|
//}
|
|
|
|
double EntBotRollTorque() const;//{
|
|
//return((double)d_EntBotRollTorque );
|
|
//}
|
|
|
|
short EntBotRollTorqueZi() const;//{
|
|
//return( s_EntBotRollTorqueZi);
|
|
//}
|
|
|
|
void set_EntBotRollTorque( double arg );//{
|
|
//d_EntBotRollTorque = arg;
|
|
//s_EntBotRollTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntBotRollTorqueZi( short arg ) ;//{
|
|
//s_EntBotRollTorqueZi = arg;
|
|
//}
|
|
|
|
double EntBotRollSpeed() const;//{
|
|
//return((double)d_EntBotRollSpeed );
|
|
//}
|
|
|
|
short EntBotRollSpeedZi() const;//{
|
|
//return( s_EntBotRollSpeedZi);
|
|
//}
|
|
|
|
void set_EntBotRollSpeed( double arg );//{
|
|
//d_EntBotRollSpeed = arg;
|
|
//s_EntBotRollSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_EntBotRollSpeedZi( short arg ) ;//{
|
|
//s_EntBotRollSpeedZi = arg;
|
|
//}
|
|
|
|
double MillCurrent() const;//{
|
|
//return((double)d_MillCurrent );
|
|
//}
|
|
|
|
short MillCurrentZi() const;//{
|
|
//return( s_MillCurrentZi);
|
|
//}
|
|
|
|
void set_MillCurrent( double arg );//{
|
|
//d_MillCurrent = arg;
|
|
//s_MillCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillCurrentZi( short arg ) ;//{
|
|
//s_MillCurrentZi = arg;
|
|
//}
|
|
|
|
double MillTorque() const;//{
|
|
//return((double)d_MillTorque );
|
|
//}
|
|
|
|
short MillTorqueZi() const;//{
|
|
//return( s_MillTorqueZi);
|
|
//}
|
|
|
|
void set_MillTorque( double arg );//{
|
|
//d_MillTorque = arg;
|
|
//s_MillTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillTorqueZi( short arg ) ;//{
|
|
//s_MillTorqueZi = arg;
|
|
//}
|
|
|
|
double MillSpeed() const;//{
|
|
//return((double)d_MillSpeed );
|
|
//}
|
|
|
|
short MillSpeedZi() const;//{
|
|
//return( s_MillSpeedZi);
|
|
//}
|
|
|
|
void set_MillSpeed( double arg );//{
|
|
//d_MillSpeed = arg;
|
|
//s_MillSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillSpeedZi( short arg ) ;//{
|
|
//s_MillSpeedZi = arg;
|
|
//}
|
|
|
|
double ExitSPMTension() const;//{
|
|
//return((double)d_ExitSPMTension );
|
|
//}
|
|
|
|
short ExitSPMTensionZi() const;//{
|
|
//return( s_ExitSPMTensionZi);
|
|
//}
|
|
|
|
void set_ExitSPMTension( double arg );//{
|
|
//d_ExitSPMTension = arg;
|
|
//s_ExitSPMTensionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitSPMTensionZi( short arg ) ;//{
|
|
//s_ExitSPMTensionZi = arg;
|
|
//}
|
|
|
|
double ExitTopRollCurrent() const;//{
|
|
//return((double)d_ExitTopRollCurrent );
|
|
//}
|
|
|
|
short ExitTopRollCurrentZi() const;//{
|
|
//return( s_ExitTopRollCurrentZi);
|
|
//}
|
|
|
|
void set_ExitTopRollCurrent( double arg );//{
|
|
//d_ExitTopRollCurrent = arg;
|
|
//s_ExitTopRollCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitTopRollCurrentZi( short arg ) ;//{
|
|
//s_ExitTopRollCurrentZi = arg;
|
|
//}
|
|
|
|
double ExitTopRollTorque() const;//{
|
|
//return((double)d_ExitTopRollTorque );
|
|
//}
|
|
|
|
short ExitTopRollTorqueZi() const;//{
|
|
//return( s_ExitTopRollTorqueZi);
|
|
//}
|
|
|
|
void set_ExitTopRollTorque( double arg );//{
|
|
//d_ExitTopRollTorque = arg;
|
|
//s_ExitTopRollTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitTopRollTorqueZi( short arg ) ;//{
|
|
//s_ExitTopRollTorqueZi = arg;
|
|
//}
|
|
|
|
double ExitTopRollSpeed() const;//{
|
|
//return((double)d_ExitTopRollSpeed );
|
|
//}
|
|
|
|
short ExitTopRollSpeedZi() const;//{
|
|
//return( s_ExitTopRollSpeedZi);
|
|
//}
|
|
|
|
void set_ExitTopRollSpeed( double arg );//{
|
|
//d_ExitTopRollSpeed = arg;
|
|
//s_ExitTopRollSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitTopRollSpeedZi( short arg ) ;//{
|
|
//s_ExitTopRollSpeedZi = arg;
|
|
//}
|
|
|
|
double ExitBotRollCurrent() const;//{
|
|
//return((double)d_ExitBotRollCurrent );
|
|
//}
|
|
|
|
short ExitBotRollCurrentZi() const;//{
|
|
//return( s_ExitBotRollCurrentZi);
|
|
//}
|
|
|
|
void set_ExitBotRollCurrent( double arg );//{
|
|
//d_ExitBotRollCurrent = arg;
|
|
//s_ExitBotRollCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitBotRollCurrentZi( short arg ) ;//{
|
|
//s_ExitBotRollCurrentZi = arg;
|
|
//}
|
|
|
|
double ExitBotRollTorque() const;//{
|
|
//return((double)d_ExitBotRollTorque );
|
|
//}
|
|
|
|
short ExitBotRollTorqueZi() const;//{
|
|
//return( s_ExitBotRollTorqueZi);
|
|
//}
|
|
|
|
void set_ExitBotRollTorque( double arg );//{
|
|
//d_ExitBotRollTorque = arg;
|
|
//s_ExitBotRollTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitBotRollTorqueZi( short arg ) ;//{
|
|
//s_ExitBotRollTorqueZi = arg;
|
|
//}
|
|
|
|
double ExitBotRollSpeed() const;//{
|
|
//return((double)d_ExitBotRollSpeed );
|
|
//}
|
|
|
|
short ExitBotRollSpeedZi() const;//{
|
|
//return( s_ExitBotRollSpeedZi);
|
|
//}
|
|
|
|
void set_ExitBotRollSpeed( double arg );//{
|
|
//d_ExitBotRollSpeed = arg;
|
|
//s_ExitBotRollSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ExitBotRollSpeedZi( short arg ) ;//{
|
|
//s_ExitBotRollSpeedZi = arg;
|
|
//}
|
|
|
|
double MillDriveSideRollPosition() const;//{
|
|
//return((double)d_MillDriveSideRollPosition );
|
|
//}
|
|
|
|
short MillDriveSideRollPositionZi() const;//{
|
|
//return( s_MillDriveSideRollPositionZi);
|
|
//}
|
|
|
|
void set_MillDriveSideRollPosition( double arg );//{
|
|
//d_MillDriveSideRollPosition = arg;
|
|
//s_MillDriveSideRollPositionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillDriveSideRollPositionZi( short arg ) ;//{
|
|
//s_MillDriveSideRollPositionZi = arg;
|
|
//}
|
|
|
|
double MillOperatorSideRollPosition() const;//{
|
|
//return((double)d_MillOperatorSideRollPosition );
|
|
//}
|
|
|
|
short MillOperatorSideRollPositionZi() const;//{
|
|
//return( s_MillOperatorSideRollPositionZi);
|
|
//}
|
|
|
|
void set_MillOperatorSideRollPosition( double arg );//{
|
|
//d_MillOperatorSideRollPosition = arg;
|
|
//s_MillOperatorSideRollPositionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillOperatorSideRollPositionZi( short arg ) ;//{
|
|
//s_MillOperatorSideRollPositionZi = arg;
|
|
//}
|
|
|
|
double MillActualAveragePosition() const;//{
|
|
//return((double)d_MillActualAveragePosition );
|
|
//}
|
|
|
|
short MillActualAveragePositionZi() const;//{
|
|
//return( s_MillActualAveragePositionZi);
|
|
//}
|
|
|
|
void set_MillActualAveragePosition( double arg );//{
|
|
//d_MillActualAveragePosition = arg;
|
|
//s_MillActualAveragePositionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillActualAveragePositionZi( short arg ) ;//{
|
|
//s_MillActualAveragePositionZi = arg;
|
|
//}
|
|
|
|
double MillActualTilt() const;//{
|
|
//return((double)d_MillActualTilt );
|
|
//}
|
|
|
|
short MillActualTiltZi() const;//{
|
|
//return( s_MillActualTiltZi);
|
|
//}
|
|
|
|
void set_MillActualTilt( double arg );//{
|
|
//d_MillActualTilt = arg;
|
|
//s_MillActualTiltZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillActualTiltZi( short arg ) ;//{
|
|
//s_MillActualTiltZi = arg;
|
|
//}
|
|
|
|
double MillActualRollForce() const;//{
|
|
//return((double)d_MillActualRollForce );
|
|
//}
|
|
|
|
short MillActualRollForceZi() const;//{
|
|
//return( s_MillActualRollForceZi);
|
|
//}
|
|
|
|
void set_MillActualRollForce( double arg );//{
|
|
//d_MillActualRollForce = arg;
|
|
//s_MillActualRollForceZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillActualRollForceZi( short arg ) ;//{
|
|
//s_MillActualRollForceZi = arg;
|
|
//}
|
|
|
|
double MillActualDifferentRollForce() const;//{
|
|
//return((double)d_MillActualDifferentRollForce );
|
|
//}
|
|
|
|
short MillActualDifferentRollForceZi() const;//{
|
|
//return( s_MillActualDifferentRollForceZi);
|
|
//}
|
|
|
|
void set_MillActualDifferentRollForce( double arg );//{
|
|
//d_MillActualDifferentRollForce = arg;
|
|
//s_MillActualDifferentRollForceZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_MillActualDifferentRollForceZi( short arg ) ;//{
|
|
//s_MillActualDifferentRollForceZi = arg;
|
|
//}
|
|
|
|
double ActualElongation() const;//{
|
|
//return((double)d_ActualElongation );
|
|
//}
|
|
|
|
short ActualElongationZi() const;//{
|
|
//return( s_ActualElongationZi);
|
|
//}
|
|
|
|
void set_ActualElongation( double arg );//{
|
|
//d_ActualElongation = arg;
|
|
//s_ActualElongationZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_ActualElongationZi( short arg ) ;//{
|
|
//s_ActualElongationZi = arg;
|
|
//}
|
|
|
|
double TRTension() const;//{
|
|
//return((double)d_TRTension );
|
|
//}
|
|
|
|
short TRTensionZi() const;//{
|
|
//return( s_TRTensionZi);
|
|
//}
|
|
|
|
void set_TRTension( double arg );//{
|
|
//d_TRTension = arg;
|
|
//s_TRTensionZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TRTensionZi( short arg ) ;//{
|
|
//s_TRTensionZi = arg;
|
|
//}
|
|
|
|
double TRCurrent() const;//{
|
|
//return((double)d_TRCurrent );
|
|
//}
|
|
|
|
short TRCurrentZi() const;//{
|
|
//return( s_TRCurrentZi);
|
|
//}
|
|
|
|
void set_TRCurrent( double arg );//{
|
|
//d_TRCurrent = arg;
|
|
//s_TRCurrentZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TRCurrentZi( short arg ) ;//{
|
|
//s_TRCurrentZi = arg;
|
|
//}
|
|
|
|
double TRTorque() const;//{
|
|
//return((double)d_TRTorque );
|
|
//}
|
|
|
|
short TRTorqueZi() const;//{
|
|
//return( s_TRTorqueZi);
|
|
//}
|
|
|
|
void set_TRTorque( double arg );//{
|
|
//d_TRTorque = arg;
|
|
//s_TRTorqueZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TRTorqueZi( short arg ) ;//{
|
|
//s_TRTorqueZi = arg;
|
|
//}
|
|
|
|
double TRSpeed() const;//{
|
|
//return((double)d_TRSpeed );
|
|
//}
|
|
|
|
short TRSpeedZi() const;//{
|
|
//return( s_TRSpeedZi);
|
|
//}
|
|
|
|
void set_TRSpeed( double arg );//{
|
|
//d_TRSpeed = arg;
|
|
//s_TRSpeedZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TRSpeedZi( short arg ) ;//{
|
|
//s_TRSpeedZi = arg;
|
|
//}
|
|
|
|
double TRDiameter() const;//{
|
|
//return((double)d_TRDiameter );
|
|
//}
|
|
|
|
short TRDiameterZi() const;//{
|
|
//return( s_TRDiameterZi);
|
|
//}
|
|
|
|
void set_TRDiameter( double arg );//{
|
|
//d_TRDiameter = arg;
|
|
//s_TRDiameterZi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_TRDiameterZi( short arg ) ;//{
|
|
//s_TRDiameterZi = arg;
|
|
//}
|
|
|
|
double Spare1() const;//{
|
|
//return((double)d_Spare1 );
|
|
//}
|
|
|
|
short Spare1Zi() const;//{
|
|
//return( s_Spare1Zi);
|
|
//}
|
|
|
|
void set_Spare1( double arg );//{
|
|
//d_Spare1 = arg;
|
|
//s_Spare1Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Spare1Zi( short arg ) ;//{
|
|
//s_Spare1Zi = arg;
|
|
//}
|
|
|
|
double Spare2() const;//{
|
|
//return((double)d_Spare2 );
|
|
//}
|
|
|
|
short Spare2Zi() const;//{
|
|
//return( s_Spare2Zi);
|
|
//}
|
|
|
|
void set_Spare2( double arg );//{
|
|
//d_Spare2 = arg;
|
|
//s_Spare2Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Spare2Zi( short arg ) ;//{
|
|
//s_Spare2Zi = arg;
|
|
//}
|
|
|
|
double Spare3() const;//{
|
|
//return((double)d_Spare3 );
|
|
//}
|
|
|
|
short Spare3Zi() const;//{
|
|
//return( s_Spare3Zi);
|
|
//}
|
|
|
|
void set_Spare3( double arg );//{
|
|
//d_Spare3 = arg;
|
|
//s_Spare3Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Spare3Zi( short arg ) ;//{
|
|
//s_Spare3Zi = arg;
|
|
//}
|
|
|
|
double Spare4() const;//{
|
|
//return((double)d_Spare4 );
|
|
//}
|
|
|
|
short Spare4Zi() const;//{
|
|
//return( s_Spare4Zi);
|
|
//}
|
|
|
|
void set_Spare4( double arg );//{
|
|
//d_Spare4 = arg;
|
|
//s_Spare4Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Spare4Zi( short arg ) ;//{
|
|
//s_Spare4Zi = arg;
|
|
//}
|
|
|
|
double Spare5() const;//{
|
|
//return((double)d_Spare5 );
|
|
//}
|
|
|
|
short Spare5Zi() const;//{
|
|
//return( s_Spare5Zi);
|
|
//}
|
|
|
|
void set_Spare5( double arg );//{
|
|
//d_Spare5 = arg;
|
|
//s_Spare5Zi= 0;
|
|
//return;
|
|
//}
|
|
|
|
void set_Spare5Zi( short arg ) ;//{
|
|
//s_Spare5Zi = 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;
|
|
//}
|
|
|
|
long k_seqno();//{
|
|
//return((long)l_k_seqno );
|
|
//}
|
|
|
|
void set_k_seqno( long arg );//{
|
|
//l_k_seqno = 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("T_CYC_DAT");
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getSqlCode();//{
|
|
//return( db.dbSqlCode);
|
|
//}
|
|
///////////////////////////////////////////////////
|
|
int getRowsProcessed();//{
|
|
//return( db.dbRowsProcessed);
|
|
//}
|
|
};
|
|
#endif
|