KDOT PMS Replacement Project

R-PMS System Use Cases : Model . KDOT PMS Process and Data Flow Overview : Pool . PMS Modeling Processes : Choreography Sub-Process . Prediction Modeling : Activity . PMS Modeling Swimlanes : Swimlane . Identify the Road Categories : Activity . validate for consistency : Activity

Action - Determine Old or New link

Properties
Name Value
Description

Determine if the roadway segment is Old or New by the currently assigned value of Road Category from the GEOM table.

Print out the value of the segment Roadway category and the New/Old status values.

If old then determine if the roadway has had significant (major) or minor changes.

Print out the value of the segment Roadway category and the nature of the changes as major/minor.

The printed values represent a report output of this entire process.

Must Isolate false
Leaf false
Visibility public
Action Type
Name Value
Name Operation
Synchronous true
Visibility public
Operation
 ActionType : Operation
Effect 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);
}

Relationships Summary
Name Begin End
  : Anchor
 Determine Old or New : Action
  : Note
  : Control Flow
 Determine Old or New : Action
 Validate Calculated Road Category versus Last Major Action Category : Action
  : Control Flow
 Determine Old or New : Action
 SQL Error : Send Signal Action
 T (changed) : Control Flow
 calcrc!=geom.rdcat : Decision Node
 Determine Old or New : Action

Relationships Detail
Name Value
Name
From
 Determine Old or New : Action
To
  : Note

Name Value
Name
From
 Determine Old or New : Action
To
 Validate Calculated Road Category versus Last Major Action Category : Action
Guard
Weight
Visibility Unspecified

Name Value
Name
From
 Determine Old or New : Action
To
 SQL Error : Send Signal Action
Guard
Weight
Visibility Unspecified

Name Value
Name T (changed)
From
 calcrc!=geom.rdcat : Decision Node
To
 Determine Old or New : Action
Guard
Weight
Visibility Unspecified

Appears In
Diagram
 R-PMS System - validate for consistency : Activity Diagram
KDOT PMS Replacement Project