Canvas EFIS framework: Difference between revisions

m
wiki formating issue
mNo edit summary
m (wiki formating issue)
Line 570: Line 570:
The optional ''aural'' element can be any key of the aural configuration hash passed to MessageSystem.addAuralAlerts(). If the  
The optional ''aural'' element can be any key of the aural configuration hash passed to MessageSystem.addAuralAlerts(). If the  


<nowiki>
{{#tag:syntaxhighlight|
{
{
     msg: "Message Text",
     msg: "Message Text",
Line 585: Line 585:
var EICASMessages = [
var EICASMessages = [
     {msg: "APU FIRE", prop: "engines/engine[2]/on-fire", aural: "firebell"},
     {msg: "APU FIRE", prop: "engines/engine[2]/on-fire", aural: "firebell"},
     {msg: "AC 1 AUTOXFER", prop: "systems/AC/system[1]/serviceable", condition: {eq: 0}},
     {msg: "AC 1 AUTOXFER", prop: "systems/AC/system[1]/serviceable", condition: {eq: 0} },
     {msg: "AC BUS 1", prop: "systems/AC/outputs/bus1", condition: {lt: 100}},
     {msg: "AC BUS 1", prop: "systems/AC/outputs/bus1", condition: {lt: 100} },
     {msg: "ELT ON", prop: ""},
     {msg: "ELT ON", prop: ""},
];
];
</nowiki>
|lang="nasal"}}
 


==== Class MessageClass ====
==== Class MessageClass ====
252

edits