Subversion Repositories HomeAutomation

Rev

Rev 1852 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1852 Rev 1859
Line 176... Line 176...
176
    var msg = new CanMessage("sns", "To_Owner", this.myName, this.myId, "IrProntoContinue");
176
    var msg = new CanMessage("sns", "To_Owner", this.myName, this.myId, "IrProntoContinue");
177
    msg.setData("Channel", channel);
177
    msg.setData("Channel", channel);
178
    sendMessage(msg);
178
    sendMessage(msg);
179
}
179
}
180
 
180
 
181
function prontoTest()
181
function prontoStart(repeats)
182
{
182
{
183
    var ir = ServiceManager.getService("Can","irTransceive",1);
183
    var ir = ServiceManager.getService("Can","irTransceive",1);
184
    ir.sendProntoHex(1, 10, "0000 006d 0022 0002 0156 00ad 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 05ed 0156 0056 0016 0e62");
184
    ir.sendProntoHex(1, repeats, "0000 006d 0022 0002 0156 00ad 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 05ed 0156 0056 0016 0e62");
185
    //ir.sendProntoHex(1, "0000 006d 0022 0000 0156 00A9 0015 0014 0015 003D 0016 003D 0015 003F 0015 0015 0015 003E 0015 003D 0016 003D 0016 003E 0015 003E 0016 003E 0015 0014 0016 0014 0017 0013 0017 0013 0017 003C 0016 0014 0017 003C 0017 0013 0016 003D 0017 0013 0016 0014 0017 0013 0017 0013 0016 0014 0017 003C 0017 0013 0017 0013 0016 003D 0018 003B 0017 003C 0017 003D 0017 01CD");
185
}
186
   
186
 
-
 
187
function prontoStop()
-
 
188
{
-
 
189
    var ir = ServiceManager.getService("Can","irTransceive",1);
187
    //ir.sendProntoContinue(1);
190
    ir.sendProntoStop(1);
-
 
191
}
188
   
192
 
-
 
193
function prontoContinue()
-
 
194
{
-
 
195
    var ir = ServiceManager.getService("Can","irTransceive",1);
189
    //ir.sendProntoStop(1);
196
    ir.sendProntoContinue(1);
190
}
197
}