-
Notifications
You must be signed in to change notification settings - Fork 0
/
Declare_QuarterlyReports.xml
5 lines (5 loc) · 5.12 KB
/
Declare_QuarterlyReports.xml
1
2
3
4
5
<?xml version="1.0" encoding="UTF-8" standalone="no"?><model><assignment language="ConDec" name="new model"><activitydefinitions><activity id="1" name="First_activity_report"><authorization/><datamodel/></activity><activity id="2" name="Second_activity_report"><authorization/><datamodel/></activity><activity id="3" name="Third_activity_report"><authorization/><datamodel/></activity><activity id="4" name="Fourth_activity_report"><authorization/><datamodel/></activity></activitydefinitions><constraintdefinitions><constraint id="5" mandatory="true"><condition>(CTE_Year < 2 && Company_Type == "CTE") || (Company_Type == "NONCTE" && Qtr_Counter < ASX_Mandated_Qtrs) || (Company_Type == "Mining_Explore")</condition><name>chain precedence</name><template><description>B can be executed only directly after A.</description><display/><name>chain precedence</name><text>[]( ( X( "B.started" ) -> "A") )</text><parameters><parameter branchable="true" id="1" name="A"><graphical><style number="3"/><begin fill="false" style="0"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter><parameter branchable="true" id="2" name="B"><graphical><style number="3"/><begin fill="true" style="10"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter></parameters><statemessages><message state="VIOLATED">VIOLATED undefined</message><message state="SATISFIED">SATISFIED undefined</message><message state="VIOLATED_TEMPORARY">VIOLATED_TEMPORARY undefined</message></statemessages></template><constraintparameters><parameter templateparameter="1"><branches><branch name="Fourth_activity_report"/></branches></parameter><parameter templateparameter="2"><branches><branch name="First_activity_report"/></branches></parameter></constraintparameters></constraint><constraint id="6" mandatory="false"><level><group id="1"><name>HOSPITAL POLICY</name><description>Rules defined in the hospital internally.</description></group><priority>1</priority><message/></level><condition>Company_Type == "NONCTE" && Qtr_Counter < ASX_Mandated_Qtrs</condition><name>alternate precedence</name><template><description>B cannot happen before A. After it happens, it can not happen before the next A again.</description><display/><name>alternate precedence</name><text>( ( !( ( ( "B.started" \/ "B.completed" ) \/ "B.cancelled" ) ) W "A" ) /\ [] ( ( "B" -> X( ( !( ( ( "B.started" \/ "B.completed" ) \/ "B.cancelled" ) ) W "A" ) ) ) ) )</text><parameters><parameter branchable="true" id="1" name="A"><graphical><style number="2"/><begin fill="true" style="0"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter><parameter branchable="true" id="2" name="B"><graphical><style number="2"/><begin fill="true" style="10"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter></parameters><statemessages><message state="VIOLATED">VIOLATED undefined</message><message state="SATISFIED">SATISFIED undefined</message><message state="VIOLATED_TEMPORARY">VIOLATED_TEMPORARY undefined</message></statemessages></template><constraintparameters><parameter templateparameter="1"><branches><branch name="First_activity_report"/></branches></parameter><parameter templateparameter="2"><branches><branch name="Second_activity_report"/></branches></parameter></constraintparameters></constraint><constraint id="7" mandatory="true"><condition>Company_Type == "CTE" || Company_Type == "Mining_Explore"</condition><name>precedence</name><template><description><b>Second_activity_report</b> has to be preceded by <b>First_activity_report</b>. <b>Second_activity_report</b> can happen only after <b>First_activity_report</b> had happened.</description><display/><name>precedence</name><text> ( ! ((( "B.started" \/ "B.completed") \/ "B.cancelled" )) W "A" ) </text><parameters><parameter branchable="true" id="1" name="A"><graphical><style number="1"/><begin fill="true" style="0"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter><parameter branchable="true" id="2" name="B"><graphical><style number="1"/><begin fill="true" style="10"/><middle fill="false" style="0"/><end fill="false" style="0"/></graphical></parameter></parameters><statemessages><message state="VIOLATED"><html>This constraint is violated because task &quot;B&quot; was executed before task &quot;A&quot;.</html></message><message state="SATISFIED"><html>This constraint is satisfied because either:
<ul>
<li>task &quot;B&quot; was never executed, or</li>
<li>first task &quot;A&quot; was executed, and then task &quot;B&quot; was executed. </li>
</ul></html></message><message state="VIOLATED_TEMPORARY"><html>This should never happen!</html></message></statemessages></template><constraintparameters><parameter templateparameter="1"><branches><branch name="First_activity_report"/></branches></parameter><parameter templateparameter="2"><branches><branch name="Second_activity_report"/></branches></parameter></constraintparameters></constraint>