diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.tool.editor.endpoint/model | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.tool.editor.endpoint/model')
-rw-r--r-- | rba.tool.editor.endpoint/model/all.rba | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/rba.tool.editor.endpoint/model/all.rba b/rba.tool.editor.endpoint/model/all.rba new file mode 100644 index 0000000..41725f9 --- /dev/null +++ b/rba.tool.editor.endpoint/model/all.rba @@ -0,0 +1,145 @@ +Package SampleDisplays { + Display Sample_METER{ + Size Sample_METER_FULLSCREEN { + width: 500 + height: 400 + } + CompositeArea Sample_METER_Root { + layout: FixedPositionLayout { + PositionContainer { + x:100 + y:100 + basePoint: LEFT_TOP + areaReference: A + } + PositionContainer { + x: 50 + y: 250 + basePoint: LEFT_TOP + areaReference: B + } + PositionContainer { + x: 50 + y: 250 + basePoint: LEFT_TOP + areaReference: C + } + PositionContainer { + x: 100 + y: 300 + basePoint: LEFT_TOP + areaReference: X + } + PositionContainer { + x: 100 + y: 300 + basePoint: LEFT_TOP + areaReference: Y + } + } + } + } + Size サイズ { + width:100 + height:100 + } + Area A { + sizeReference:サイズ + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area B { + sizeReference:サイズ + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area C { + sizeReference:サイズ + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area X { + sizeReference:サイズ + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area Y { + sizeReference:サイズ + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + ViewContent A1{ + allocatable: [ + A + ] + State NORMAL { + priority: 10 + } + sizeReference:サイズ + } + ViewContent B1 { + allocatable: [ + B + ] + State NORMAL { + priority: 10 + } + State WARNING { + priority: 11 + } + sizeReference:サイズ + } + ViewContent C1{ + allocatable: [ + C + ] + State NORMAL { + priority: 11 + } + sizeReference:サイズ + } + ViewContent X1 { + allocatable: [ + X + ] + State NORMAL { + priority: STANDARD_VALUE + } + sizeReference:サイズ + } + ViewContent Y1 { + allocatable: [ + Y + ] + State NORMAL { + priority: STANDARD_VALUE + } + State WARNING { + priority: STANDARD_VALUE + 1 + } + sizeReference:サイズ + } + Scene S1{} + Scene S2{} + Constraint HA1209_SelectOperator_1 { + runtime: true + let sele = ALL_AREAS.select{x|x.contentValue() > 10 } + S1.isOn() -> For-All {sele}{x|x.isHidden()} + } + Constraint HA1209_SelectOperator_2 { + runtime: true + let sele = ALL_AREAS.select{x|x.contentValue() > 10 } + Exists {sele}{x| x == B} -> X.isHidden() + } + Constraint HA1209_SelectOperator_3 { + runtime: true + let sele = {{A1}.select{x|x.stateValue() = 10}} + S2.isOn() -> For-All sele{x|!x.isVisible()} + } + Constraint HA1209_SelectOperator_4 { + runtime: true + let sele1 = ALL_VIEWCONTENTS.select{x|x.stateValue() > 10} + let sele2 = Y.displayingContent().allocatables().select{y|y.contentValue() > 10} + Exists {sele1}{x| x == C1} -> For-All {sele2}{z|z.isHidden()} + } +}
\ No newline at end of file |