Changeset d3227e


Ignore:
Timestamp:
12/30/11 16:43:49 (17 months ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('master', 'a231b56d57a69513303d0061f5fa3e3cd51c85c1')('controller-upgrade', '72b31cc86eeeef18f1371a3067b6e8a5ca21abfc')('windows_service_fixes', 'df6bd2788365991d36d5af2a75833b8de2a5860f')
Children:
dd3504ffb8eaad67a83849e195acf91dba52f9a1
Parents:
ed1dc8b2d32c1a7ab77b21cd27d1c300176319ae
git-author:
Micke Prag <micke.prag@telldus.se>2011-12-30 16:33:12+01:00
git-committer:
Micke Prag <micke.prag@telldus.se>2011-12-30 16:43:49+01:00
Message:

Implement UP/DOWN/STOP in TelldusCenter Live! plugin. This closes #147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telldus-gui/Plugins/Live/__init__.js

    red1dc8 rd3227e  
    6161                } else if (action == "bell") { 
    6262                        com.telldus.core.bell( msg.getInt('id') ); 
     63                } else if (action == "up") { 
     64                        com.telldus.core.up( msg.getInt('id') ); 
     65                } else if (action == "down") { 
     66                        com.telldus.core.down( msg.getInt('id') ); 
     67                } else if (action == "stop") { 
     68                        com.telldus.core.stop( msg.getInt('id') ); 
    6369                } 
    6470        } 
     
    7682                        com.telldus.core.TELLSTICK_TURNOFF | 
    7783                        com.telldus.core.TELLSTICK_DIM | 
    78                         com.telldus.core.TELLSTICK_BELL; 
     84                        com.telldus.core.TELLSTICK_BELL | 
     85                        com.telldus.core.TELLSTICK_UP | 
     86                        com.telldus.core.TELLSTICK_DOWN | 
     87                        com.telldus.core.TELLSTICK_STOP; 
    7988                supportedMethods = supportedMethods & msg.getInt('supportedMethods'); 
    8089                isRegistered = true; 
Note: See TracChangeset for help on using the changeset viewer.