The files contained in this repository can be downloaded to your computer using a svn client.
On Linux you simply type the command displayed below.
This URL has Read-Only access.
root / trunk / DomotiGa / CTimerOnOff.class @ 754
History | View | Annotate | Download (525 Bytes)
| 1 | ' Gambas class file |
|---|---|
| 2 | |
| 3 | ' Description: |
| 4 | ' CTimerOnOff.class |
| 5 | ' Provide support for FS20 on-off timers used by CUL class. |
| 6 | |
| 7 | ' Development Status: |
| 8 | ' Just created, can change in future. |
| 9 | |
| 10 | ' DomotiGa - an open source home automation program. |
| 11 | ' Copyright(C) 2008-2011 Ron Klinkien |
| 12 | |
| 13 | ' Read file called COPYING for license details. |
| 14 | |
| 15 | EXPORT |
| 16 | |
| 17 | INHERITS Timer |
| 18 | |
| 19 | PUBLIC DeviceId AS Integer |
| 20 | PUBLIC Duration AS Integer |
| 21 | PUBLIC Command AS String |
| 22 | PUBLIC Started AS Date |
| 23 | |
| 24 | STATIC PRIVATE MyTimer AS Timer |
| 25 | |
| 26 | PUBLIC SUB _new() |
| 27 | |
| 28 | MyTimer = NEW Timer |
| 29 | |
| 30 | END |
