Skip to main content

L_PitBaseUnitTab

Written by Julien

Column Name

Description

Data Type

Length

Allow Nulls

Default

PBU_RID

RID number of the pit base unit

Integer

4

0
​

PBU_DESC

Description of the pit base unit

VarWChar

50

✓

PBU_SUB_DESC

Sub-description of the pit base unit for detailed information

VarWChar

50

✓

PBU_MF_RID

ID-No. of the manufacturer
​
ID-No.=RID number of the manufacturer (MF_RID)

Integer

4

✓

0
​

PBU_PG_GRP

ID-No. of the profile-group.

[ ] Parameter — Description
[0] — DBG of the related frame
[1] — GD_H_1 of the related guide rail
[5] — PBU_DY
[6] — PBU_DZ
[15] — Car frame pulley beam deflection sheave diameter - if PBU is related to the car frame AND - if deflection sheave is available and active
[15] option 2 — Yoke guide deflection sheave diameter - if PBU is related to a car frame (!!) AND - if yoke guide has an active deflection sheave AND - the car frame deflection sheave is not active
[20] — DBG of CWT, if CWT is available
[21] — GD_H_1 of teh CWT guide rails
[22] — DX between CWT and PBU
[23] — DY between CWT and PBU
[25] — PBU_DY of CWT-PBU
[26] — PBU_DZ of CWT-PBU
[50]..[57] — PBU_USER_PG_50 ... PBU_USER_PG_57

/*

[0]: Stichmaß

[1]: Schienenhöhe

[2]: X-Pos. Heberstütze

[3]: Y-Pos. Heberstütze

[4]: X-Pos. Puffer

[5]: Y-Pos. Puffer

[6]: PBU_DZ

[7]: Länge der Heberstütze

*/

void

CGrPitBaseUnitComp::SetProfilGruppenParameter(double *pData)

{

CGrGuideList *pGuideList = NULL;

Assert(m_pOwner ->IsKindOf(RUNTIME_CLASS(CGrMoveFrameComp)));

CGrMoveFrameComp *pMF = (CGrMoveFrameComp *)m_pOwner;

pGuideList = pMF->GetRelatedGuideList();

if(!pGuideList) return;

CGrCWKonsolenComp *cwkonsole = GetShaft()->FindCWKonsolenComp();

pData[0] = pMF->GET_DBG();

pData[1] = pGuideList->m_pGuideSet->m_GD_H_1;

pData[2] = 0;

pData[3] = 0;

pData[4] = 0;

pData[5] = m_pPitBaseUnitSet->m_PBU_DY;

pData[6] = m_pPitBaseUnitSet->m_PBU_DZ;

pData[7] = 0;

pData[8] = 0;

pData[9] = 0;

if(m_pOwner->IsKindOf(RUNTIME_CLASS(CGrCarFrameComp)))

{

// Src stammt von der CGrCarFrameCompif(((CGrCarFrameComp *)m_pOwner)->m_pMovePulleyBeam[0]->m_pPulleySingle[0]->IsOwnerActive())

pData[15] = ((CGrCarFrameComp *)m_pOwner)->m_pMovePulleyBeam[0]->m_pPulleySingle[0]->Get_D();

elseif(((CGrCarFrameComp *)m_pOwner)->m_pYokeGuide[0]->m_pMovePulleyBeam[0]->m_pPulleySingle[0]->IsOwnerActive())

pData[15] = ((CGrCarFrameComp *)m_pOwner)->m_pYokeGuide[0]->m_pMovePulleyBeam[0]->m_pPulleySingle[0]->Get_D();

else

pData[15] = 0;

pData[16] = ((CGrCarFrameComp *)m_pOwner)->m_AX;

}

else

{

pData[15] = 0;

pData[16] = 0;

}

// Falls CWT Unit, deliver the parameters of the car PBU also.if(m_pOwner->IsKindOf(RUNTIME_CLASS(CGrCWFrameComp)))

{

CGrGuideList *pCarGuideList = NULL;

// Src stammt von der CGrCWFrameComp

CGrCarFrameComp *pCarFrame = GetShaft()->m_pCar->m_pFrame;

pData[20] = pCarFrame->GET_DBG();;

pCarGuideList = pCarFrame->GetRelatedGuideList();

if(pCarGuideList)

pData[21] = pCarGuideList->m_pGuideSet->m_GD_H_1;

GPoint Delta;

Delta.Sub(((CGrComp *)m_pOwner)->m_pWorldRoot->m_R0, pCarFrame->m_pWorldRoot->m_R0);

m_pWorldRoot->ReRotate(&Delta);

// DX Abstand zwischen den Mittellinien relativ zur CWT PBU

pData[22] = Delta.m_x;

// DY Abstand zwischen den Mittellinien relativ zur CWT PBU

pData[23] = Delta.m_y;

pData[24] = 0;

pData[25] = pCarFrame->m_pPitBaseUnit->m_pPitBaseUnitSet->m_PBU_DY;

pData[26] = pCarFrame->m_pPitBaseUnit->m_pPitBaseUnitSet->m_PBU_DZ;

pData[27] = 0;

pData[28] = 0;

pData[29] = 0;

}

// Falls CWT Unit, deliver the parameters of the car PBU also.elseif(m_pOwner->IsKindOf(RUNTIME_CLASS(CGrCarFrameComp)) && cwkonsole)

{

CGrGuideList *pCWTGuideList = NULL;

// Src stammt von der CGrCWFrameComp

CGrCWFrameComp *pCWTFrame = cwkonsole->m_pCWSingle;

pData[20] = pCWTFrame->GET_DBG();;

pCWTGuideList = pCWTFrame->GetRelatedGuideList();

if(pCWTGuideList)

pData[21] = pCWTGuideList->m_pGuideSet->m_GD_H_1;

GPoint Delta;

Delta.Sub(((CGrComp *)m_pOwner)->m_pWorldRoot->m_R0, pCWTFrame->m_pWorldRoot->m_R0);

m_pWorldRoot->ReRotate(&Delta);

// DX Abstand zwischen den Mittellinien relativ zur CWT PBU

pData[22] = Delta.m_x;

// DY Abstand zwischen den Mittellinien relativ zur CWT PBU

pData[23] = Delta.m_y;

pData[24] = 0;

pData[25] = pCWTFrame->m_pPitBaseUnit->m_pPitBaseUnitSet->m_PBU_DY;

pData[26] = pCWTFrame->m_pPitBaseUnit->m_pPitBaseUnitSet->m_PBU_DZ;

pData[27] = 0;

pData[28] = 0;

pData[29] = 0;

}

else

{

pData[20] = 0;

pData[21] = 0;

pData[22] = 0;

pData[23] = 0;

pData[24] = 0;

pData[25] = 0;

pData[26] = 0;

pData[27] = 0;

pData[28] = 0;

pData[29] = 0;

}

pData[50] = m_pPitBaseUnitSet->m_PBU_USER_PG_50;

pData[51] = m_pPitBaseUnitSet->m_PBU_USER_PG_51;

pData[52] = m_pPitBaseUnitSet->m_PBU_USER_PG_52;

pData[53] = m_pPitBaseUnitSet->m_PBU_USER_PG_53;

pData[54] = m_pPitBaseUnitSet->m_PBU_USER_PG_54;

pData[55] = m_pPitBaseUnitSet->m_PBU_USER_PG_55;

pData[56] = m_pPitBaseUnitSet->m_PBU_USER_PG_56;

pData[57] = m_pPitBaseUnitSet->m_PBU_USER_PG_57;

}

Integer

4

✓

0
​

PBU_DZ

Height of the pit base unit

Double

9

✓

0
​

PBU_DY

Width of the pit base unit

Double

9

✓

0
​

PBU_MODE

Integer

4

✓

0
​

PBU_USER_PG_50

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_51

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_52

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_53

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_54

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_55

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_56

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_57

Variable for a free selection

Double

9

✓

0
​

PBU_USER_PG_58

Double

9

✓

0
​

PBU_USER_PG_59

Double

9

✓

0
​

PBU_USER_PG_60

Double

9

✓

0
​

PBU_USER_PG_61

Double

9

✓

0
​

PBU_USER_PG_62

Double

9

✓

0
​

PBU_USER_PG_63

Double

9

✓

0
​

PBU_USER_PG_64

Double

9

✓

0
​

PBU_USER_PG_65

Double

9

✓

0
​

PBU_USER_PG_66

Double

9

✓

0
​

PBU_USER_PG_67

Double

9

✓

0
​

PBU_USER_PG_68

Double

9

✓

0
​

PBU_USER_PG_69

Double

9

✓

0
​

PBU_PART_NO

Number of the supplier, part number or ordering number

VarWChar

50

✓

Did this answer your question?