R-PMS System Data : Package . EPMS-Modeling : Subsystem
Class - calcRC_ScopeVars
link
| Properties |
| Name | Value | ||
| Active | false | ||
| Business Key Mutable | true | ||
| Business Model | false | ||
| Visibility | public | ||
| Final Specialization | false | ||
| Abstract | false | ||
| Leaf | false | ||
| Root | false | ||
| Attributes Summary |
| Name | Visibility | Type | Initial Value | Description | |||||
| geom_Cur | public | GEOM | |||||||
| lma_cur | public | LMA | |||||||
| pvmtgrp | public | int | |||||||
| calcrc | private | int | |||||||
| Operations Summary |
| Visibility | Return Type | Name | Description | ||||
| public | string | ActionType | |||||
| public | boolean | ValidatePCCPAction |
Verify the entered value of the road group PCCP and the last major action coding are compatable |
||||
| public | UpdateConstrCodes |
For specific pavement types, update the construction base counter. |
|||||
| public | OutputReport | ||||||
| Attributes Details |
| Name | Value | ||
| Name | geom_Cur | ||
| Type | GEOM | ||
| Allow Empty Name | false | ||
| Has Setter | false | ||
| Has Getter | false | ||
| Abstract | false | ||
| Derived | false | ||
| Visibility | public | ||
| Multiplicity | Unspecified | ||
| Scope | instance | ||
| Visible | true | ||
| Aggregation | None | ||
| Derived Union | false | ||
| Read Only | false | ||
| Is ID | false | ||
| Leaf | false | ||
| Name | Value | ||
| Name | lma_cur | ||
| Type | LMA | ||
| Allow Empty Name | false | ||
| Has Setter | false | ||
| Has Getter | false | ||
| Abstract | false | ||
| Derived | false | ||
| Visibility | public | ||
| Multiplicity | Unspecified | ||
| Scope | instance | ||
| Visible | true | ||
| Aggregation | None | ||
| Derived Union | false | ||
| Read Only | false | ||
| Is ID | false | ||
| Leaf | false | ||
| Name | Value | ||
| Name | pvmtgrp | ||
| Type | int | ||
| Allow Empty Name | false | ||
| Has Setter | false | ||
| Has Getter | false | ||
| Abstract | false | ||
| Derived | false | ||
| Visibility | public | ||
| Multiplicity | Unspecified | ||
| Scope | instance | ||
| Visible | true | ||
| Aggregation | None | ||
| Derived Union | false | ||
| Read Only | false | ||
| Is ID | false | ||
| Leaf | false | ||
| Name | Value | ||
| Name | calcrc | ||
| Type | int | ||
| Allow Empty Name | false | ||
| Has Setter | false | ||
| Has Getter | false | ||
| Abstract | false | ||
| Derived | false | ||
| Visibility | private | ||
| Multiplicity | Unspecified | ||
| Scope | instance | ||
| Visible | true | ||
| Aggregation | None | ||
| Derived Union | false | ||
| Read Only | false | ||
| Is ID | false | ||
| Leaf | false | ||
| Operations Details |
| Name | Value | ||
| Parameters | |||
| Name | ActionType | ||
| Static | false | ||
| Leaf | false | ||
| Visibility | public | ||
| Body Condition |
if (rdcat!=0) /* OLD segment */ { if (((calcrc==1||calcrc==2)&&rdcat!=1&&rdcat!=2)|| ((calcrc==3||calcrc==4)&&rdcat!=3&&rdcat!=4)|| calcrc==5|| ((calcrc==6||calcrc==7||calcrc==8)&& rdcat!=6&&rdcat!=7&&rdcat!=8)|| ((calcrc==9||calcrc==10||calcrc==11)&& rdcat!=9&&rdcat!=10&&rdcat!=11)|| (calcrc>=12&&calcrc<=17&&(rdcat<12||rdcat>17))|| (calcrc>=18&&rdcat<18)) fprintf(O0,"%s RdCat changed from " "%02d --to--> %02d <=== MAJOR change!\n", id,rdcat,calcrc); else fprintf(O0,"%s RdCat changed from " "%02d --to--> %02d .... minor change.\n", id,rdcat,calcrc); } else /* NEW segment */ { fprintf(O0,"%s RdCat " "%02d calculated for the FIRST time!\n",id,calcrc); } |
||
| Visible | true | ||
| Ordered | false | ||
| Unique | true | ||
| Return Type | string | ||
| Visibility | public | ||
| Scope | instance | ||
| Query | false | ||
| Abstract | false | ||
| Name | Value | ||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||
| Name | ValidatePCCPAction | ||||||||||||||||||||||||||
| Description |
Verify the entered value of the road group PCCP and the last major action coding are compatable |
||||||||||||||||||||||||||
| Static | false | ||||||||||||||||||||||||||
| Leaf | false | ||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||
| Body Condition |
if (lastact==201 || lastact==202 || lastact==203) fprintf(O0,"%s RdCat=%02d PCCP but the subBASE's " " id,calcrc,lastact,lastdate); |
||||||||||||||||||||||||||
| Visible | true | ||||||||||||||||||||||||||
| Ordered | false | ||||||||||||||||||||||||||
| Unique | true | ||||||||||||||||||||||||||
| Return Type | boolean | ||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||
| Scope | instance | ||||||||||||||||||||||||||
| Query | false | ||||||||||||||||||||||||||
| Abstract | false | ||||||||||||||||||||||||||
| Name | Value | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | UpdateConstrCodes | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
For specific pavement types, update the construction base counter. |
||||||||||||||||||||||||||||||||||||||||||||||||||
| Static | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Leaf | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Body Condition |
switch (pvmtgrp) { case 1: /* PCCP */ if (lastact==201 || lastact==202 || lastact==203) fprintf(O0,"%s RdCat=%02d PCCP but the subBASE's " " id,calcrc,lastact,lastdate); break; case 2: /* COMP */ if (lastact==200) ++c200; if (lastact>=201&&lastact<=203) ++c201; break; case 3: /* FdBit */ if (lastact==200) ++f200; if (lastact>=202&&lastact<=203) ++f202; break; case 4: /* PdBit */ if (lastact>=200&&lastact<=203) ++p200; break; } |
||||||||||||||||||||||||||||||||||||||||||||||||||
| Visible | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Ordered | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Unique | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Scope | instance | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Query | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Abstract | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Value | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | OutputReport | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Static | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Leaf | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Body Condition |
if (pvmtgrp==2&&c200!=1) fprintf(O0,"%s RdCat=%02d COMP but the subBASE's " " if (pvmtgrp==2&&c201>0) fprintf(O0,"%s RdCat=%02d COMP but the subBASE's " " if (pvmtgrp==3&&f200>0) fprintf(O0,"%s RdCat=%02d FdBit but the subBASE's " " if (pvmtgrp==3&&f202>0) fprintf(O0,"%s RdCat=%02d FdBit but the subBASE's " " if (pvmtgrp==4&&p200>0) fprintf(O0,"%s RdCat=%02d PdBit but the subBASE's " " |
||||||||||||||||||||||||||||||||||||||||||||||||||
| Visible | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Ordered | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Unique | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | public | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Scope | instance | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Query | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Abstract | false | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Appears In |
| Diagram | |||
|
|
|||