1104 lines
34 KiB
C++
1104 lines
34 KiB
C++
// Version: 2016.4.15 15:33:10
|
|
|
|
// File: T_CYC_CNTSEG082.cpp
|
|
|
|
#include "T_CYC_CNTSEG082.h"
|
|
|
|
T_CYC_CNTSEG082::T_CYC_CNTSEG082(){
|
|
// initialise all membervariables
|
|
initial();
|
|
}
|
|
T_CYC_CNTSEG082::~T_CYC_CNTSEG082(){
|
|
}
|
|
void T_CYC_CNTSEG082::initial(){
|
|
// initialise all membervariables
|
|
set_SeqNo(0);
|
|
set_EnCoilId("");
|
|
set_EnCoilIdZi(-1);
|
|
set_ExCoilId("");
|
|
set_ExCoilIdZi(-1);
|
|
set_AcidTen(0.0);
|
|
set_AcidTenZi(-1);
|
|
set_DensityAcid(0.0);
|
|
set_DensityAcidZi(-1);
|
|
set_TempRinsing(0.0);
|
|
set_TempRinsingZi(-1);
|
|
set_LevelCondenseTank(0.0);
|
|
set_LevelCondenseTankZi(-1);
|
|
set_CondCondenseTank(0.0);
|
|
set_CondCondenseTankZi(-1);
|
|
set_LevelScruber(0.0);
|
|
set_LevelScruberZi(-1);
|
|
set_CondScruber(0.0);
|
|
set_CondScruberZi(-1);
|
|
set_LevelWaste(0.0);
|
|
set_LevelWasteZi(-1);
|
|
set_TempDryer(0.0);
|
|
set_TempDryerZi(-1);
|
|
set_ElecDensity(0.0);
|
|
set_ElecDensityZi(-1);
|
|
set_ElecTemperature(0.0);
|
|
set_ElecTemperatureZi(-1);
|
|
set_ElecSectionCurrent(0.0);
|
|
set_ElecSectionCurrentZi(-1);
|
|
set_Seg1BCConcentration(0.0);
|
|
set_Seg1BCConcentrationZi(-1);
|
|
set_Seg1HSConcentration(0.0);
|
|
set_Seg1HSConcentrationZi(-1);
|
|
set_Seg1Temperature(0.0);
|
|
set_Seg1TemperatureZi(-1);
|
|
set_Seg1MeConcentration(0.0);
|
|
set_Seg1MeConcentrationZi(-1);
|
|
set_Seg2BCConcentration(0.0);
|
|
set_Seg2BCConcentrationZi(-1);
|
|
set_Seg2HSConcentration(0.0);
|
|
set_Seg2HSConcentrationZi(-1);
|
|
set_Seg2Temperature(0.0);
|
|
set_Seg2TemperatureZi(-1);
|
|
set_Seg2MeConcentration(0.0);
|
|
set_Seg2MeConcentrationZi(-1);
|
|
set_TC("");
|
|
set_TCZi(-1);
|
|
set_muId(0);
|
|
set_muCreator("");
|
|
set_musId(0);
|
|
// initialies Primary key members
|
|
set_k_muId(0);
|
|
set_k_muCreator("");
|
|
set_k_musId(0);
|
|
set_k_SeqNo(0);
|
|
}
|
|
T_CYC_CNTSEG082::T_CYC_CNTSEG082(MU_CODE muCode , long arg1)
|
|
{
|
|
initial();
|
|
setPrimKey (muCode , arg1);
|
|
//read DB record
|
|
dbAccess = true;
|
|
dbMessage = readDB();
|
|
if ( dbMessage != NULL ) {dbAccess = false;}
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082:: execute(const char* sql , long* count){
|
|
return( db.execute( sql , count ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082:: dbCommit(){
|
|
return( db.dbCommit( ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082:: dbRollback(){
|
|
return( db.dbRollback( ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::readDB(){
|
|
// DB Trace is off
|
|
return( db.readDB(*this) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::updateDB(){
|
|
// DB Trace is off
|
|
return( db.updateDB(*this) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::insertDB(){
|
|
// DB Trace is off
|
|
return( db.insertDB(*this) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::deleteDB(){
|
|
// DB Trace is off
|
|
return( db.deleteDB(*this) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::deleteDB(const char * where, long* count){
|
|
// DB Trace is off
|
|
return( db.deleteDB( where , count ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::openSetDB(const char * where,const char* order){
|
|
// DB Trace is off
|
|
return( db.openSetDB( where , order ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::countDB(const char * where, long* count){
|
|
// DB Trace is off
|
|
return( db.countDB( where , count ) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::getSetDB(){
|
|
// DB Trace is off
|
|
return( db.getSetDB(*this) );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::closeSetDB(){
|
|
// DB Trace is off
|
|
return( db.closeSetDB() );
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::storeDB(){
|
|
char* ret = NULL;
|
|
setKeysFromRecord();
|
|
ret=db.updateDB(*this);
|
|
if(ret != NULL){
|
|
ret=db.insertDB(*this);
|
|
if(ret != NULL){
|
|
dbAccess = false;
|
|
return(ret);
|
|
}
|
|
}
|
|
return(ret);
|
|
}
|
|
|
|
// public methode setPrimKey T_CYC_CNTSEG082
|
|
//
|
|
// this methode stores the unique key attributes
|
|
//
|
|
void T_CYC_CNTSEG082::setPrimKey( long arg1 , const char* arg2 , short arg3 , long arg4 ){
|
|
l_k_muId = arg1;
|
|
strncpy( (char*)c_k_muCreator , arg2 , sizeof(c_k_muCreator) );
|
|
c_k_muCreator[sizeof(c_k_muCreator)-1] = '\0';
|
|
s_k_musId = arg3;
|
|
l_k_SeqNo = arg4;
|
|
} // end of methode
|
|
void T_CYC_CNTSEG082::setPrimKey( MU_CODE muCode , long arg1 ){
|
|
setPrimKey ( muCode.actual.muId , muCode.actual.muCreator , muCode.actual.musId , arg1);
|
|
} // end of methode
|
|
|
|
void T_CYC_CNTSEG082::initInsertKeys( long arg1 , const char* arg2 , short arg3 , long arg4 ){
|
|
setPrimKey ( arg1 , arg2 , arg3 , arg4);
|
|
l_muId = arg1;
|
|
strncpy( (char*)c_muCreator , arg2 , sizeof(c_muCreator) );
|
|
c_muCreator[sizeof(c_muCreator)-1] = '\0';
|
|
s_musId = arg3;
|
|
l_SeqNo = arg4;
|
|
} // end of methode
|
|
void T_CYC_CNTSEG082::initInsertKeys( MU_CODE muCode , long arg1 ){
|
|
initInsertKeys ( muCode.actual.muId , muCode.actual.muCreator , muCode.actual.musId , arg1);
|
|
} // end of methode
|
|
void T_CYC_CNTSEG082::setKeysFromRecord(){
|
|
set_k_muId( muId() );
|
|
set_k_muCreator( muCreator() );
|
|
set_k_musId( musId() );
|
|
set_k_SeqNo( SeqNo() );
|
|
} // end of methode
|
|
//
|
|
//O P E R A T O R +
|
|
//===================
|
|
//
|
|
T_CYC_CNTSEG082 T_CYC_CNTSEG082::operator+(const T_CYC_CNTSEG082 &inst) const{
|
|
T_CYC_CNTSEG082 ptrT_CYC_CNTSEG082(*this);
|
|
//----------------------------------------------------------
|
|
ptrT_CYC_CNTSEG082.set_SeqNo(inst.SeqNo());
|
|
//----------------------------------------------------------
|
|
if(inst.EnCoilIdZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_EnCoilId(inst.EnCoilId());
|
|
ptrT_CYC_CNTSEG082.set_EnCoilIdZi(inst.EnCoilIdZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.ExCoilIdZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_ExCoilId(inst.ExCoilId());
|
|
ptrT_CYC_CNTSEG082.set_ExCoilIdZi(inst.ExCoilIdZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.AcidTenZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_AcidTen(inst.AcidTen());
|
|
ptrT_CYC_CNTSEG082.set_AcidTenZi(inst.AcidTenZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.DensityAcidZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_DensityAcid(inst.DensityAcid());
|
|
ptrT_CYC_CNTSEG082.set_DensityAcidZi(inst.DensityAcidZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.TempRinsingZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_TempRinsing(inst.TempRinsing());
|
|
ptrT_CYC_CNTSEG082.set_TempRinsingZi(inst.TempRinsingZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.LevelCondenseTankZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_LevelCondenseTank(inst.LevelCondenseTank());
|
|
ptrT_CYC_CNTSEG082.set_LevelCondenseTankZi(inst.LevelCondenseTankZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.CondCondenseTankZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_CondCondenseTank(inst.CondCondenseTank());
|
|
ptrT_CYC_CNTSEG082.set_CondCondenseTankZi(inst.CondCondenseTankZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.LevelScruberZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_LevelScruber(inst.LevelScruber());
|
|
ptrT_CYC_CNTSEG082.set_LevelScruberZi(inst.LevelScruberZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.CondScruberZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_CondScruber(inst.CondScruber());
|
|
ptrT_CYC_CNTSEG082.set_CondScruberZi(inst.CondScruberZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.LevelWasteZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_LevelWaste(inst.LevelWaste());
|
|
ptrT_CYC_CNTSEG082.set_LevelWasteZi(inst.LevelWasteZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.TempDryerZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_TempDryer(inst.TempDryer());
|
|
ptrT_CYC_CNTSEG082.set_TempDryerZi(inst.TempDryerZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.ElecDensityZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_ElecDensity(inst.ElecDensity());
|
|
ptrT_CYC_CNTSEG082.set_ElecDensityZi(inst.ElecDensityZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.ElecTemperatureZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_ElecTemperature(inst.ElecTemperature());
|
|
ptrT_CYC_CNTSEG082.set_ElecTemperatureZi(inst.ElecTemperatureZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.ElecSectionCurrentZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_ElecSectionCurrent(inst.ElecSectionCurrent());
|
|
ptrT_CYC_CNTSEG082.set_ElecSectionCurrentZi(inst.ElecSectionCurrentZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg1BCConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg1BCConcentration(inst.Seg1BCConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg1BCConcentrationZi(inst.Seg1BCConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg1HSConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg1HSConcentration(inst.Seg1HSConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg1HSConcentrationZi(inst.Seg1HSConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg1TemperatureZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg1Temperature(inst.Seg1Temperature());
|
|
ptrT_CYC_CNTSEG082.set_Seg1TemperatureZi(inst.Seg1TemperatureZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg1MeConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg1MeConcentration(inst.Seg1MeConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg1MeConcentrationZi(inst.Seg1MeConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg2BCConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg2BCConcentration(inst.Seg2BCConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg2BCConcentrationZi(inst.Seg2BCConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg2HSConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg2HSConcentration(inst.Seg2HSConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg2HSConcentrationZi(inst.Seg2HSConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg2TemperatureZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg2Temperature(inst.Seg2Temperature());
|
|
ptrT_CYC_CNTSEG082.set_Seg2TemperatureZi(inst.Seg2TemperatureZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.Seg2MeConcentrationZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_Seg2MeConcentration(inst.Seg2MeConcentration());
|
|
ptrT_CYC_CNTSEG082.set_Seg2MeConcentrationZi(inst.Seg2MeConcentrationZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
if(inst.TCZi() != -1){
|
|
ptrT_CYC_CNTSEG082.set_TC(inst.TC());
|
|
ptrT_CYC_CNTSEG082.set_TCZi(inst.TCZi());
|
|
}
|
|
//----------------------------------------------------------
|
|
ptrT_CYC_CNTSEG082.set_muId(inst.muId());
|
|
//----------------------------------------------------------
|
|
ptrT_CYC_CNTSEG082.set_muCreator(inst.muCreator());
|
|
//----------------------------------------------------------
|
|
ptrT_CYC_CNTSEG082.set_musId(inst.musId());
|
|
return (ptrT_CYC_CNTSEG082);
|
|
}
|
|
|
|
//
|
|
//O P E R A T O R =
|
|
//===================
|
|
//
|
|
const T_CYC_CNTSEG082& T_CYC_CNTSEG082::operator=(const T_CYC_CNTSEG082 &inst){
|
|
//----------------------------------------------------------
|
|
this->set_SeqNo(inst.SeqNo());
|
|
//----------------------------------------------------------
|
|
this->set_EnCoilId(inst.EnCoilId());
|
|
this->set_EnCoilIdZi(inst.EnCoilIdZi());
|
|
//----------------------------------------------------------
|
|
this->set_ExCoilId(inst.ExCoilId());
|
|
this->set_ExCoilIdZi(inst.ExCoilIdZi());
|
|
//----------------------------------------------------------
|
|
this->set_AcidTen(inst.AcidTen());
|
|
this->set_AcidTenZi(inst.AcidTenZi());
|
|
//----------------------------------------------------------
|
|
this->set_DensityAcid(inst.DensityAcid());
|
|
this->set_DensityAcidZi(inst.DensityAcidZi());
|
|
//----------------------------------------------------------
|
|
this->set_TempRinsing(inst.TempRinsing());
|
|
this->set_TempRinsingZi(inst.TempRinsingZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelCondenseTank(inst.LevelCondenseTank());
|
|
this->set_LevelCondenseTankZi(inst.LevelCondenseTankZi());
|
|
//----------------------------------------------------------
|
|
this->set_CondCondenseTank(inst.CondCondenseTank());
|
|
this->set_CondCondenseTankZi(inst.CondCondenseTankZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelScruber(inst.LevelScruber());
|
|
this->set_LevelScruberZi(inst.LevelScruberZi());
|
|
//----------------------------------------------------------
|
|
this->set_CondScruber(inst.CondScruber());
|
|
this->set_CondScruberZi(inst.CondScruberZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelWaste(inst.LevelWaste());
|
|
this->set_LevelWasteZi(inst.LevelWasteZi());
|
|
//----------------------------------------------------------
|
|
this->set_TempDryer(inst.TempDryer());
|
|
this->set_TempDryerZi(inst.TempDryerZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecDensity(inst.ElecDensity());
|
|
this->set_ElecDensityZi(inst.ElecDensityZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecTemperature(inst.ElecTemperature());
|
|
this->set_ElecTemperatureZi(inst.ElecTemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecSectionCurrent(inst.ElecSectionCurrent());
|
|
this->set_ElecSectionCurrentZi(inst.ElecSectionCurrentZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1BCConcentration(inst.Seg1BCConcentration());
|
|
this->set_Seg1BCConcentrationZi(inst.Seg1BCConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1HSConcentration(inst.Seg1HSConcentration());
|
|
this->set_Seg1HSConcentrationZi(inst.Seg1HSConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1Temperature(inst.Seg1Temperature());
|
|
this->set_Seg1TemperatureZi(inst.Seg1TemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1MeConcentration(inst.Seg1MeConcentration());
|
|
this->set_Seg1MeConcentrationZi(inst.Seg1MeConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2BCConcentration(inst.Seg2BCConcentration());
|
|
this->set_Seg2BCConcentrationZi(inst.Seg2BCConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2HSConcentration(inst.Seg2HSConcentration());
|
|
this->set_Seg2HSConcentrationZi(inst.Seg2HSConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2Temperature(inst.Seg2Temperature());
|
|
this->set_Seg2TemperatureZi(inst.Seg2TemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2MeConcentration(inst.Seg2MeConcentration());
|
|
this->set_Seg2MeConcentrationZi(inst.Seg2MeConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_TC(inst.TC());
|
|
this->set_TCZi(inst.TCZi());
|
|
//----------------------------------------------------------
|
|
this->set_muId(inst.muId());
|
|
//----------------------------------------------------------
|
|
this->set_muCreator(inst.muCreator());
|
|
//----------------------------------------------------------
|
|
this->set_musId(inst.musId());
|
|
return (*this);
|
|
}
|
|
//
|
|
//C O P Y - C O N S T R U C T O R
|
|
//===================
|
|
//
|
|
T_CYC_CNTSEG082::T_CYC_CNTSEG082(const T_CYC_CNTSEG082 &inst){
|
|
//----------------------------------------------------------
|
|
this->set_SeqNo(inst.SeqNo());
|
|
//----------------------------------------------------------
|
|
this->set_EnCoilId(inst.EnCoilId());
|
|
this->set_EnCoilIdZi(inst.EnCoilIdZi());
|
|
//----------------------------------------------------------
|
|
this->set_ExCoilId(inst.ExCoilId());
|
|
this->set_ExCoilIdZi(inst.ExCoilIdZi());
|
|
//----------------------------------------------------------
|
|
this->set_AcidTen(inst.AcidTen());
|
|
this->set_AcidTenZi(inst.AcidTenZi());
|
|
//----------------------------------------------------------
|
|
this->set_DensityAcid(inst.DensityAcid());
|
|
this->set_DensityAcidZi(inst.DensityAcidZi());
|
|
//----------------------------------------------------------
|
|
this->set_TempRinsing(inst.TempRinsing());
|
|
this->set_TempRinsingZi(inst.TempRinsingZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelCondenseTank(inst.LevelCondenseTank());
|
|
this->set_LevelCondenseTankZi(inst.LevelCondenseTankZi());
|
|
//----------------------------------------------------------
|
|
this->set_CondCondenseTank(inst.CondCondenseTank());
|
|
this->set_CondCondenseTankZi(inst.CondCondenseTankZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelScruber(inst.LevelScruber());
|
|
this->set_LevelScruberZi(inst.LevelScruberZi());
|
|
//----------------------------------------------------------
|
|
this->set_CondScruber(inst.CondScruber());
|
|
this->set_CondScruberZi(inst.CondScruberZi());
|
|
//----------------------------------------------------------
|
|
this->set_LevelWaste(inst.LevelWaste());
|
|
this->set_LevelWasteZi(inst.LevelWasteZi());
|
|
//----------------------------------------------------------
|
|
this->set_TempDryer(inst.TempDryer());
|
|
this->set_TempDryerZi(inst.TempDryerZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecDensity(inst.ElecDensity());
|
|
this->set_ElecDensityZi(inst.ElecDensityZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecTemperature(inst.ElecTemperature());
|
|
this->set_ElecTemperatureZi(inst.ElecTemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_ElecSectionCurrent(inst.ElecSectionCurrent());
|
|
this->set_ElecSectionCurrentZi(inst.ElecSectionCurrentZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1BCConcentration(inst.Seg1BCConcentration());
|
|
this->set_Seg1BCConcentrationZi(inst.Seg1BCConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1HSConcentration(inst.Seg1HSConcentration());
|
|
this->set_Seg1HSConcentrationZi(inst.Seg1HSConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1Temperature(inst.Seg1Temperature());
|
|
this->set_Seg1TemperatureZi(inst.Seg1TemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg1MeConcentration(inst.Seg1MeConcentration());
|
|
this->set_Seg1MeConcentrationZi(inst.Seg1MeConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2BCConcentration(inst.Seg2BCConcentration());
|
|
this->set_Seg2BCConcentrationZi(inst.Seg2BCConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2HSConcentration(inst.Seg2HSConcentration());
|
|
this->set_Seg2HSConcentrationZi(inst.Seg2HSConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2Temperature(inst.Seg2Temperature());
|
|
this->set_Seg2TemperatureZi(inst.Seg2TemperatureZi());
|
|
//----------------------------------------------------------
|
|
this->set_Seg2MeConcentration(inst.Seg2MeConcentration());
|
|
this->set_Seg2MeConcentrationZi(inst.Seg2MeConcentrationZi());
|
|
//----------------------------------------------------------
|
|
this->set_TC(inst.TC());
|
|
this->set_TCZi(inst.TCZi());
|
|
//----------------------------------------------------------
|
|
this->set_muId(inst.muId());
|
|
//----------------------------------------------------------
|
|
this->set_muCreator(inst.muCreator());
|
|
//----------------------------------------------------------
|
|
this->set_musId(inst.musId());
|
|
}
|
|
long T_CYC_CNTSEG082::SeqNo() const{
|
|
return((long)l_SeqNo );
|
|
}
|
|
|
|
|
|
void T_CYC_CNTSEG082::set_SeqNo( long arg ){
|
|
l_SeqNo = arg;
|
|
return;
|
|
}
|
|
|
|
|
|
char* T_CYC_CNTSEG082::EnCoilId() const{
|
|
return((char*)c_EnCoilId );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::EnCoilIdZi() const{
|
|
return( s_EnCoilIdZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::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 T_CYC_CNTSEG082::set_EnCoilIdZi( short arg ) {
|
|
s_EnCoilIdZi = arg;
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::ExCoilId() const{
|
|
return((char*)c_ExCoilId );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::ExCoilIdZi() const{
|
|
return( s_ExCoilIdZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::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 T_CYC_CNTSEG082::set_ExCoilIdZi( short arg ) {
|
|
s_ExCoilIdZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::AcidTen() const{
|
|
return((double)d_AcidTen );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::AcidTenZi() const{
|
|
return( s_AcidTenZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_AcidTen( double arg ){
|
|
d_AcidTen = arg;
|
|
s_AcidTenZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_AcidTenZi( short arg ) {
|
|
s_AcidTenZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::DensityAcid() const{
|
|
return((double)d_DensityAcid );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::DensityAcidZi() const{
|
|
return( s_DensityAcidZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_DensityAcid( double arg ){
|
|
d_DensityAcid = arg;
|
|
s_DensityAcidZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_DensityAcidZi( short arg ) {
|
|
s_DensityAcidZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::TempRinsing() const{
|
|
return((double)d_TempRinsing );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::TempRinsingZi() const{
|
|
return( s_TempRinsingZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TempRinsing( double arg ){
|
|
d_TempRinsing = arg;
|
|
s_TempRinsingZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TempRinsingZi( short arg ) {
|
|
s_TempRinsingZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::LevelCondenseTank() const{
|
|
return((double)d_LevelCondenseTank );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::LevelCondenseTankZi() const{
|
|
return( s_LevelCondenseTankZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelCondenseTank( double arg ){
|
|
d_LevelCondenseTank = arg;
|
|
s_LevelCondenseTankZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelCondenseTankZi( short arg ) {
|
|
s_LevelCondenseTankZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::CondCondenseTank() const{
|
|
return((double)d_CondCondenseTank );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::CondCondenseTankZi() const{
|
|
return( s_CondCondenseTankZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_CondCondenseTank( double arg ){
|
|
d_CondCondenseTank = arg;
|
|
s_CondCondenseTankZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_CondCondenseTankZi( short arg ) {
|
|
s_CondCondenseTankZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::LevelScruber() const{
|
|
return((double)d_LevelScruber );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::LevelScruberZi() const{
|
|
return( s_LevelScruberZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelScruber( double arg ){
|
|
d_LevelScruber = arg;
|
|
s_LevelScruberZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelScruberZi( short arg ) {
|
|
s_LevelScruberZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::CondScruber() const{
|
|
return((double)d_CondScruber );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::CondScruberZi() const{
|
|
return( s_CondScruberZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_CondScruber( double arg ){
|
|
d_CondScruber = arg;
|
|
s_CondScruberZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_CondScruberZi( short arg ) {
|
|
s_CondScruberZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::LevelWaste() const{
|
|
return((double)d_LevelWaste );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::LevelWasteZi() const{
|
|
return( s_LevelWasteZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelWaste( double arg ){
|
|
d_LevelWaste = arg;
|
|
s_LevelWasteZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_LevelWasteZi( short arg ) {
|
|
s_LevelWasteZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::TempDryer() const{
|
|
return((double)d_TempDryer );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::TempDryerZi() const{
|
|
return( s_TempDryerZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TempDryer( double arg ){
|
|
d_TempDryer = arg;
|
|
s_TempDryerZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TempDryerZi( short arg ) {
|
|
s_TempDryerZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::ElecDensity() const{
|
|
return((double)d_ElecDensity );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::ElecDensityZi() const{
|
|
return( s_ElecDensityZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecDensity( double arg ){
|
|
d_ElecDensity = arg;
|
|
s_ElecDensityZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecDensityZi( short arg ) {
|
|
s_ElecDensityZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::ElecTemperature() const{
|
|
return((double)d_ElecTemperature );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::ElecTemperatureZi() const{
|
|
return( s_ElecTemperatureZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecTemperature( double arg ){
|
|
d_ElecTemperature = arg;
|
|
s_ElecTemperatureZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecTemperatureZi( short arg ) {
|
|
s_ElecTemperatureZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::ElecSectionCurrent() const{
|
|
return((double)d_ElecSectionCurrent );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::ElecSectionCurrentZi() const{
|
|
return( s_ElecSectionCurrentZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecSectionCurrent( double arg ){
|
|
d_ElecSectionCurrent = arg;
|
|
s_ElecSectionCurrentZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_ElecSectionCurrentZi( short arg ) {
|
|
s_ElecSectionCurrentZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg1BCConcentration() const{
|
|
return((double)d_Seg1BCConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg1BCConcentrationZi() const{
|
|
return( s_Seg1BCConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1BCConcentration( double arg ){
|
|
d_Seg1BCConcentration = arg;
|
|
s_Seg1BCConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1BCConcentrationZi( short arg ) {
|
|
s_Seg1BCConcentrationZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg1HSConcentration() const{
|
|
return((double)d_Seg1HSConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg1HSConcentrationZi() const{
|
|
return( s_Seg1HSConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1HSConcentration( double arg ){
|
|
d_Seg1HSConcentration = arg;
|
|
s_Seg1HSConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1HSConcentrationZi( short arg ) {
|
|
s_Seg1HSConcentrationZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg1Temperature() const{
|
|
return((double)d_Seg1Temperature );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg1TemperatureZi() const{
|
|
return( s_Seg1TemperatureZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1Temperature( double arg ){
|
|
d_Seg1Temperature = arg;
|
|
s_Seg1TemperatureZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1TemperatureZi( short arg ) {
|
|
s_Seg1TemperatureZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg1MeConcentration() const{
|
|
return((double)d_Seg1MeConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg1MeConcentrationZi() const{
|
|
return( s_Seg1MeConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1MeConcentration( double arg ){
|
|
d_Seg1MeConcentration = arg;
|
|
s_Seg1MeConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg1MeConcentrationZi( short arg ) {
|
|
s_Seg1MeConcentrationZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg2BCConcentration() const{
|
|
return((double)d_Seg2BCConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg2BCConcentrationZi() const{
|
|
return( s_Seg2BCConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2BCConcentration( double arg ){
|
|
d_Seg2BCConcentration = arg;
|
|
s_Seg2BCConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2BCConcentrationZi( short arg ) {
|
|
s_Seg2BCConcentrationZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg2HSConcentration() const{
|
|
return((double)d_Seg2HSConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg2HSConcentrationZi() const{
|
|
return( s_Seg2HSConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2HSConcentration( double arg ){
|
|
d_Seg2HSConcentration = arg;
|
|
s_Seg2HSConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2HSConcentrationZi( short arg ) {
|
|
s_Seg2HSConcentrationZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg2Temperature() const{
|
|
return((double)d_Seg2Temperature );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg2TemperatureZi() const{
|
|
return( s_Seg2TemperatureZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2Temperature( double arg ){
|
|
d_Seg2Temperature = arg;
|
|
s_Seg2TemperatureZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2TemperatureZi( short arg ) {
|
|
s_Seg2TemperatureZi = arg;
|
|
}
|
|
|
|
double T_CYC_CNTSEG082::Seg2MeConcentration() const{
|
|
return((double)d_Seg2MeConcentration );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::Seg2MeConcentrationZi() const{
|
|
return( s_Seg2MeConcentrationZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2MeConcentration( double arg ){
|
|
d_Seg2MeConcentration = arg;
|
|
s_Seg2MeConcentrationZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_Seg2MeConcentrationZi( short arg ) {
|
|
s_Seg2MeConcentrationZi = arg;
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::TC() const{
|
|
return((char*)c_TC );
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::TCZi() const{
|
|
return( s_TCZi);
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TC( char* arg ){
|
|
strncpy((char*)c_TC , arg , sizeof(c_TC));
|
|
c_TC[sizeof(c_TC)-1] = '\0';
|
|
s_TCZi= 0;
|
|
return;
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_TCZi( short arg ) {
|
|
s_TCZi = arg;
|
|
}
|
|
|
|
long T_CYC_CNTSEG082::muId() const{
|
|
return((long)l_muId );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_muId( long arg ){
|
|
l_muId = arg;
|
|
return;
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::muCreator() const{
|
|
return((char*)c_muCreator );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_muCreator( const char* arg ){
|
|
strncpy((char*)c_muCreator , arg , sizeof(c_muCreator));
|
|
c_muCreator[sizeof(c_muCreator)-1] = '\0';
|
|
return;
|
|
}
|
|
|
|
short T_CYC_CNTSEG082::musId() const{
|
|
return((short)s_musId );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_musId( short arg ){
|
|
s_musId = arg;
|
|
return;
|
|
}
|
|
|
|
// methodes for Primary key
|
|
long T_CYC_CNTSEG082::k_muId(){
|
|
return((long)l_k_muId );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_k_muId( long arg ){
|
|
l_k_muId = arg;
|
|
return;
|
|
}
|
|
|
|
char* T_CYC_CNTSEG082::k_muCreator(){
|
|
return((char*)c_k_muCreator );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::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 T_CYC_CNTSEG082::k_musId(){
|
|
return((short)s_k_musId );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_k_musId( short arg ){
|
|
s_k_musId = arg;
|
|
return;
|
|
}
|
|
|
|
long T_CYC_CNTSEG082::k_SeqNo(){
|
|
return((long)l_k_SeqNo );
|
|
}
|
|
|
|
void T_CYC_CNTSEG082::set_k_SeqNo( long arg ){
|
|
l_k_SeqNo = arg;
|
|
return;
|
|
}
|
|
|
|
//
|
|
// public methode fillStructure
|
|
//
|
|
// this methode filles the classstructue with the private attributes
|
|
//
|
|
void T_CYC_CNTSEG082::fillStructure(){
|
|
structTable.SeqNo = SeqNo();
|
|
strncpy ( structTable.EnCoilId , EnCoilId(),sizeof(structTable.EnCoilId));
|
|
strncpy ( structTable.ExCoilId , ExCoilId(),sizeof(structTable.ExCoilId));
|
|
structTable.AcidTen = AcidTen();
|
|
structTable.DensityAcid = DensityAcid();
|
|
structTable.TempRinsing = TempRinsing();
|
|
structTable.LevelCondenseTank = LevelCondenseTank();
|
|
structTable.CondCondenseTank = CondCondenseTank();
|
|
structTable.LevelScruber = LevelScruber();
|
|
structTable.CondScruber = CondScruber();
|
|
structTable.LevelWaste = LevelWaste();
|
|
structTable.TempDryer = TempDryer();
|
|
structTable.ElecDensity = ElecDensity();
|
|
structTable.ElecTemperature = ElecTemperature();
|
|
structTable.ElecSectionCurrent = ElecSectionCurrent();
|
|
structTable.Seg1BCConcentration = Seg1BCConcentration();
|
|
structTable.Seg1HSConcentration = Seg1HSConcentration();
|
|
structTable.Seg1Temperature = Seg1Temperature();
|
|
structTable.Seg1MeConcentration = Seg1MeConcentration();
|
|
structTable.Seg2BCConcentration = Seg2BCConcentration();
|
|
structTable.Seg2HSConcentration = Seg2HSConcentration();
|
|
structTable.Seg2Temperature = Seg2Temperature();
|
|
structTable.Seg2MeConcentration = Seg2MeConcentration();
|
|
strncpy ( structTable.TC , TC(),sizeof(structTable.TC));
|
|
structTable.muId = muId();
|
|
strncpy ( structTable.muCreator , muCreator(),sizeof(structTable.muCreator));
|
|
structTable.musId = musId();
|
|
return;
|
|
}
|
|
///////////////////////////////////////////////////
|
|
void T_CYC_CNTSEG082::fillStructureZi(){
|
|
structTableZi.EnCoilIdZi = EnCoilIdZi();
|
|
structTableZi.ExCoilIdZi = ExCoilIdZi();
|
|
structTableZi.AcidTenZi = AcidTenZi();
|
|
structTableZi.DensityAcidZi = DensityAcidZi();
|
|
structTableZi.TempRinsingZi = TempRinsingZi();
|
|
structTableZi.LevelCondenseTankZi = LevelCondenseTankZi();
|
|
structTableZi.CondCondenseTankZi = CondCondenseTankZi();
|
|
structTableZi.LevelScruberZi = LevelScruberZi();
|
|
structTableZi.CondScruberZi = CondScruberZi();
|
|
structTableZi.LevelWasteZi = LevelWasteZi();
|
|
structTableZi.TempDryerZi = TempDryerZi();
|
|
structTableZi.ElecDensityZi = ElecDensityZi();
|
|
structTableZi.ElecTemperatureZi = ElecTemperatureZi();
|
|
structTableZi.ElecSectionCurrentZi = ElecSectionCurrentZi();
|
|
structTableZi.Seg1BCConcentrationZi = Seg1BCConcentrationZi();
|
|
structTableZi.Seg1HSConcentrationZi = Seg1HSConcentrationZi();
|
|
structTableZi.Seg1TemperatureZi = Seg1TemperatureZi();
|
|
structTableZi.Seg1MeConcentrationZi = Seg1MeConcentrationZi();
|
|
structTableZi.Seg2BCConcentrationZi = Seg2BCConcentrationZi();
|
|
structTableZi.Seg2HSConcentrationZi = Seg2HSConcentrationZi();
|
|
structTableZi.Seg2TemperatureZi = Seg2TemperatureZi();
|
|
structTableZi.Seg2MeConcentrationZi = Seg2MeConcentrationZi();
|
|
structTableZi.TCZi = TCZi();
|
|
return;
|
|
}
|
|
///////////////////////////////////////////////////
|
|
void T_CYC_CNTSEG082::setStructure() {
|
|
set_EnCoilId( structTable.EnCoilId);
|
|
set_ExCoilId( structTable.ExCoilId);
|
|
set_AcidTen( structTable.AcidTen);
|
|
set_DensityAcid( structTable.DensityAcid);
|
|
set_TempRinsing( structTable.TempRinsing);
|
|
set_LevelCondenseTank( structTable.LevelCondenseTank);
|
|
set_CondCondenseTank( structTable.CondCondenseTank);
|
|
set_LevelScruber( structTable.LevelScruber);
|
|
set_CondScruber( structTable.CondScruber);
|
|
set_LevelWaste( structTable.LevelWaste);
|
|
set_TempDryer( structTable.TempDryer);
|
|
set_ElecDensity( structTable.ElecDensity);
|
|
set_ElecTemperature( structTable.ElecTemperature);
|
|
set_ElecSectionCurrent( structTable.ElecSectionCurrent);
|
|
set_Seg1BCConcentration( structTable.Seg1BCConcentration);
|
|
set_Seg1HSConcentration( structTable.Seg1HSConcentration);
|
|
set_Seg1Temperature( structTable.Seg1Temperature);
|
|
set_Seg1MeConcentration( structTable.Seg1MeConcentration);
|
|
set_Seg2BCConcentration( structTable.Seg2BCConcentration);
|
|
set_Seg2HSConcentration( structTable.Seg2HSConcentration);
|
|
set_Seg2Temperature( structTable.Seg2Temperature);
|
|
set_Seg2MeConcentration( structTable.Seg2MeConcentration);
|
|
set_TC( structTable.TC);
|
|
return;
|
|
}
|
|
///////////////////////////////////////////////////
|
|
void T_CYC_CNTSEG082::setStructureZi() {
|
|
set_EnCoilIdZi( structTableZi.EnCoilIdZi);
|
|
set_ExCoilIdZi( structTableZi.ExCoilIdZi);
|
|
set_AcidTenZi( structTableZi.AcidTenZi);
|
|
set_DensityAcidZi( structTableZi.DensityAcidZi);
|
|
set_TempRinsingZi( structTableZi.TempRinsingZi);
|
|
set_LevelCondenseTankZi( structTableZi.LevelCondenseTankZi);
|
|
set_CondCondenseTankZi( structTableZi.CondCondenseTankZi);
|
|
set_LevelScruberZi( structTableZi.LevelScruberZi);
|
|
set_CondScruberZi( structTableZi.CondScruberZi);
|
|
set_LevelWasteZi( structTableZi.LevelWasteZi);
|
|
set_TempDryerZi( structTableZi.TempDryerZi);
|
|
set_ElecDensityZi( structTableZi.ElecDensityZi);
|
|
set_ElecTemperatureZi( structTableZi.ElecTemperatureZi);
|
|
set_ElecSectionCurrentZi( structTableZi.ElecSectionCurrentZi);
|
|
set_Seg1BCConcentrationZi( structTableZi.Seg1BCConcentrationZi);
|
|
set_Seg1HSConcentrationZi( structTableZi.Seg1HSConcentrationZi);
|
|
set_Seg1TemperatureZi( structTableZi.Seg1TemperatureZi);
|
|
set_Seg1MeConcentrationZi( structTableZi.Seg1MeConcentrationZi);
|
|
set_Seg2BCConcentrationZi( structTableZi.Seg2BCConcentrationZi);
|
|
set_Seg2HSConcentrationZi( structTableZi.Seg2HSConcentrationZi);
|
|
set_Seg2TemperatureZi( structTableZi.Seg2TemperatureZi);
|
|
set_Seg2MeConcentrationZi( structTableZi.Seg2MeConcentrationZi);
|
|
set_TCZi( structTableZi.TCZi);
|
|
return;
|
|
}
|
|
///////////////////////////////////////////////////
|
|
char* T_CYC_CNTSEG082::getName(){
|
|
return("T_CYC_CNTSEG082");
|
|
}
|
|
///////////////////////////////////////////////////
|
|
long T_CYC_CNTSEG082::getSqlCode(){
|
|
return( db.dbSqlCode);
|
|
}
|
|
long T_CYC_CNTSEG082::getRowsProcessed(){
|
|
return( db.dbRowsProcessed);
|
|
}
|