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 |
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, |
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 |
|
185 | } |
| 186 | 186 | ||
| - | 187 | function prontoStop() |
|
| - | 188 | { |
|
| - | 189 | var ir = ServiceManager.getService("Can","irTransceive",1); |
|
| 187 |
|
190 | ir.sendProntoStop(1); |
| - | 191 | } |
|
| 188 | 192 | ||
| - | 193 | function prontoContinue() |
|
| - | 194 | { |
|
| - | 195 | var ir = ServiceManager.getService("Can","irTransceive",1); |
|
| 189 |
|
196 | ir.sendProntoContinue(1); |
| 190 | } |
197 | } |