Subversion Repositories HomeAutomation

Rev

Go to most recent revision | Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
15 arune 1
/*
2
 * File created by Jimmy
3
 * at 2004-jan-12 16:03:55
4
 */
5
package Macbeth.Modules.modControlMP;
6
 
7
/**
8
 * A representation of a RemoteMedia function. Each function
9
 * has a unique ID string and a corresponding remote control
10
 * button name.
11
 * @author Jimmy
12
 */
13
public class RemoteMediaFunction {
14
 
15
    /**
16
     * The ID string of this function. This is what should
17
     * be sent to the TCP server in RemoteMedia.
18
     */
19
    public String id;
20
 
21
    /**
22
     * The remote control button associated with this function.
23
     */
24
    public String remoteButton;
25
 
26
    /**
27
     * Creates a new instance of RoomObject.
28
     * @param id The ID of this function.
29
     * @param remotebutton The name of the remote button associated with this function.
30
     */
31
    public RemoteMediaFunction(String id, String remotebutton) {
32
        this.id = id;
33
        this.id = id;
34
        this.remoteButton = remotebutton;
35
    }
36
 
37
}