CLASS End Event
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP #-- COLOR DEFINITIONS -- SET colFnt: (rgbval("black")) SET colBrd: (rgbval("$888800")) SET colFFm: (rgbval("white")) SET colFTo: (rgbval("$eeee00")) SET nPenWidth: (0.11cm) AVAL sMes: "Message" AVAL sCan: "Cancel" AVAL sTer: "Terminate" AVAL sSig: "Signal" AVAL sEsc: "Escalation" AVAL sErr: "Error" AVAL sCom: "Compensation" AVAL showName: "Show name" AVAL set-default:"classbar" change_mark: "Object type" #ZMI: workaround to get proper classbar CLIP_ELLIPSE rx:.7cm ry:.7cm GRADIENT_RECT x:-0.9cm y:-.7cm w:2.8cm h:1.4cm style:downdiag color1:(colFFm) color2:(colFTo) CLIP_OFF SHADOW off # visualization for the classbar #IF (change_mark = "classbar") #{ PEN w:(0.20cm) color:(colBrd) #} #ELSE #{ # PEN w:(0.11cm) color:(colBrd) #} ELLIPSE rx:.7cm ry:.7cm PEN w:0.055cm color:(colBrd) # check for multiple triggers IF (((sMes = "Yes") AND ((sTer = "Yes") OR (sCan = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sTer = "Yes") AND ((sMes = "Yes") OR (sCan = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sCan = "Yes") AND ((sTer = "Yes") OR (sMes = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sSig = "Yes") AND ((sTer = "Yes") OR (sCan = "Yes") OR (sMes = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sEsc = "Yes") AND ((sTer = "Yes") OR (sCan = "Yes") OR (sSig = "Yes") OR (sMes = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sErr = "Yes") AND ((sTer = "Yes") OR (sCan = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sMes = "Yes") OR (sCom = "Yes")))) FILL color:(colBrd) POLYGON 5 x1:0.0cm y1:-0.45cm x2:0.45cm y2:-0.1cm x3:0.3cm y3:0.4cm x4:-0.3cm y4:0.4cm x5:-0.45cm y5:-0.1cm ELSE IF (sMes = "Yes") PEN w:0.06cm color:(colBrd) FILL color:(colBrd) RECTANGLE x:-.4cm y:-.3cm w:.8cm h:.6cm PEN color:white w:1pt POLYLINE 3 x1:-.4cm y1:-.3cm x2:.0cm y2:.0cm x3:.4cm y3:-.3cm ELSIF (sTer = "Yes") PEN w:0.15cm color:(colBrd) FILL color:(colBrd) ELLIPSE rx:.4cm ry:.4cm ELSIF (sCan = "Yes") PEN w:0.15cm color:(colBrd) FILL color:(colBrd) LINE x1:-0.3cm y1:-0.3cm x2:0.3cm y2:0.3cm LINE x1:0.3cm y1:-0.3cm x2:-0.3cm y2:0.3cm ELSIF (sSig = "Yes") FILL color:(colBrd) POLYGON 3 x1:0.0cm y1:-0.45cm x2:0.4cm y2:0.3cm x3:-0.4cm y3:0.3cm ELSIF (sEsc = "Yes") FILL color:(colBrd) POLYGON 4 x1:0.0cm y1:-0.40cm x2:0.28cm y2:0.25cm x3:0cm y3:-0.025cm x4:-0.28cm y4:0.25cm ELSIF (sErr = "Yes") PEN w:0.04cm color:(colBrd) FILL color:(colBrd) POLYGON 6 x1:-0.35cm y1:0.35cm x2:-0.15cm y2:-0.25cm x3:0.1cm y3:0cm x4:0.35cm y4:-0.35cm x5:0.15cm y5:0.25cm x6:-0.1cm y6:0cm ELSIF (sCom = "Yes") FILL color:(colBrd) POLYGON 3 x1:0.0cm y1:-0.2cm x2:0.0cm y2:0.2cm x3:-0.32cm y3:0.0cm POLYGON 3 x1:0.32cm y1:-0.2cm x2:0.32cm y2:0.2cm x3:0.0cm y3:0.0cm ENDIF ENDIF IF (showName = "Yes") FONT ATTR "Name" x:0.0cm y:0.8cm w:c:2.0cm h:t line-break:wordss ENDIF AVAL sOpenQuest: "Open questions" IF (LEN sOpenQuest.trim()) FONT "Arial" h:10.0pt bold color:("red") TEXT "?" x:0.60cm y:-0.80cm ENDIF FILL style:null
|
Graphical Representation |
---|
|
2554 Views