21 lines
442 B
Text
21 lines
442 B
Text
|
/*@!Encoding:1252*/
|
||
|
includes
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
variables
|
||
|
{
|
||
|
}
|
||
|
|
||
|
on message aaaMsg
|
||
|
{
|
||
|
putValue(aaaIndicator_A, this.switch_1A | this.switch_2A);
|
||
|
write("1A = %d, 2A = %d, A = %d", this.switch_1A, this.switch_2A, this.switch_1A | this.switch_2A);
|
||
|
}
|
||
|
|
||
|
on message bbbMsg
|
||
|
{
|
||
|
putValue(bbbIndicator_B, this.switch_1B | this.switch_2B);
|
||
|
write("1B = %d, 2B = %d, B = %d", this.switch_1B, this.switch_2B, this.switch_1B | this.switch_2B);
|
||
|
}
|