-
In the
\win_b64\resources\knowledge\scripts directory,
copy the business logic in the following two files:
-
DELPPRIsSystemAStation.CATRule
/*---------------------------------------------------------------------------------
-----------------------------------------------*/
/* DELPPRIsSystemAStation.CATRule */
/* */
/* Input parameters : A System Occurrence */
/* Output parameters : Integer */
/*------------------------------------------------------------------------------------------
--------------------------------------*/
/*---- INPUT PARAMETERS -----*/Let Status(Boolean)
Let SystemDescription(String)
if (ThisObject->HasAttribute("V_description") == true)
{
SystemDescription = ThisObject->GetAttributeString("V_description")
Trace (1, "Description=", SystemDescription)
if(0 <= SystemDescription.Search("STATION", 0, true))
{
set Status = true
}
else
{
set Status = false
}
}
else
{
set Status = false
}
if(true == Status)
{
Validation = true
Parameters.Severity = 0
Parameters.Message = "System is a Station"
Trace (1, "System is a Station")
}
else
{
Validation = false
Parameters.Severity = 0
Parameters.Message = "System is not a Station"
}
-
DELPPRIsSystemAStation.CATRuleExit
<Scripts>
<Script OpeningID="DELPLMSystemOccurrence_IsAStationID"
Type="ProdSystemOccurrence" ScriptName="DELPPRIsSystemAStation"/>
</Scripts>
For more information, see
Is Workplan/Sytem a Station (DELPLMSystemOccurrence_IsAStationID).
-
Open your data in
Process Planning.
-
Right-click a system you want to specify as leaf system, then
click
Properties
.
The
Properties dialog box for the system appears.
-
In the
Description box, enter
STATION, then click
OK to validate.
-
Select the parent system, then click
Workload Balancing
from the
Authoring section of the action bar.
The
Workload Balancing panel opens with the bar
chart.
Systems specified as
STATION appear in the bar chart as columns, and
their child systems as blocks. You can balance the child systems by dragging
blocks from one column to another.