diff options
author | Kenji Hosokawa <khosokawa@jp.adit-jv.com> | 2021-09-27 17:23:10 +0900 |
---|---|---|
committer | Kenji Hosokawa <khosokawa@jp.adit-jv.com> | 2021-09-27 17:23:10 +0900 |
commit | 05417f782cb2377a4105969f910d2ed0416a8c47 (patch) | |
tree | 245300cbb1d501035de708ab93f174e7093c2f4c /tool_bin/sample_model/sample.rba | |
parent | 44a3da18a257cc46aa0dbfd01947deeb377ab049 (diff) |
push pre-built toolneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.2lamprey_12.1.1lamprey_12.1.0lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.2lamprey/12.1.1lamprey/12.1.0koi_11.0.5koi/11.0.513.93.012.93.012.92.012.91.012.90.112.1.612.1.512.1.412.1.312.1.212.1.112.1.011.0.5
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'tool_bin/sample_model/sample.rba')
-rw-r--r-- | tool_bin/sample_model/sample.rba | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/tool_bin/sample_model/sample.rba b/tool_bin/sample_model/sample.rba new file mode 100644 index 0000000..db34aa8 --- /dev/null +++ b/tool_bin/sample_model/sample.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 size_1 { + width:100 + height:100 + } + Area A { + sizeReference:size_1 + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area B { + sizeReference:size_1 + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area C { + sizeReference:size_1 + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area X { + sizeReference:size_1 + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + Area Y { + sizeReference:size_1 + visibility: STANDARD_VALUE + zorder: STANDARD_VALUE + } + ViewContent A1{ + allocatable: [ + A + ] + State NORMAL { + priority: 10 + } + sizeReference:size_1 + } + ViewContent B1 { + allocatable: [ + B + ] + State NORMAL { + priority: 10 + } + State WARNING { + priority: 11 + } + sizeReference:size_1 + } + ViewContent C1{ + allocatable: [ + C + ] + State NORMAL { + priority: 11 + } + sizeReference:size_1 + } + ViewContent X1 { + allocatable: [ + X + ] + State NORMAL { + priority: STANDARD_VALUE + } + sizeReference:size_1 + } + ViewContent Y1 { + allocatable: [ + Y + ] + State NORMAL { + priority: STANDARD_VALUE + } + State WARNING { + priority: STANDARD_VALUE + 1 + } + sizeReference:size_1 + } + 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()} + } +} |