Skip to content
Snippets Groups Projects
Commit d7ddc761 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

use ifm16 rather than ifm18 model of R5 of landing gear

parent 5fc8aaba
No related branches found
No related tags found
No related merge requests found
......@@ -3,16 +3,34 @@
"model":"Ref5_Switch",
"items":[
{
"repeat": ["fr", "lt", "rt"],
"id":"door_%0",
"id":"door_fr",
"attr":"xlink:href",
"value":"IF door = open THEN \"img/door_open.png\" ELSIF door = closed THEN \"img/door_closed.png\" ELSE \"img/door_door_moving.png\" END"
"value":"IF door_open(`front`)(1) = TRUE THEN \"img/door_open.png\" ELSIF door_closed(`front`)(1)=TRUE THEN \"img/door_closed.png\" ELSE \"img/door_door_moving.png\" END"
},
{
"repeat": ["fr", "lt", "rt"],
"id":"gear_%0",
"id":"door_lt",
"attr":"xlink:href",
"value":"IF gear = extended THEN \"img/gear_extended.png\" ELSIF gear = retracted THEN \"img/gear_retracted.png\" ELSE \"img/gear_gear_moving.png\" END"
"value":"IF door_open(`left`)(1) = TRUE THEN \"img/door_open.png\" ELSIF door_closed(`left`)(1)=TRUE THEN \"img/door_closed.png\" ELSE \"img/door_door_moving.png\" END"
},
{
"id":"door_rt",
"attr":"xlink:href",
"value":"IF door_open(`right`)(1) = TRUE THEN \"img/door_open.png\" ELSIF door_closed(`right`)(1)=TRUE THEN \"img/door_closed.png\" ELSE \"img/door_door_moving.png\" END"
},
{
"id":"gear_fr",
"attr":"xlink:href",
"value":"IF gear_extended(`front`)(1)=TRUE THEN \"img/gear_extended.png\" ELSIF gear_retracted(`front`)(1)=TRUE THEN \"img/gear_retracted.png\" ELSE \"img/gear_gear_moving.png\" END"
},
{
"id":"gear_rt",
"attr":"xlink:href",
"value":"IF gear_extended(`right`)(1)=TRUE THEN \"img/gear_extended.png\" ELSIF gear_retracted(`right`)(1)=TRUE THEN \"img/gear_retracted.png\" ELSE \"img/gear_gear_moving.png\" END"
},
{
"id":"gear_lt",
"attr":"xlink:href",
"value":"IF gear_extended(`left`)(1)=TRUE THEN \"img/gear_extended.png\" ELSIF gear_retracted(`left`)(1)=TRUE THEN \"img/gear_retracted.png\" ELSE \"img/gear_gear_moving.png\" END"
}
],
"events": []
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment