2021-03-16 22:02:09 -04:00
|
|
|
|
export class RoomSessionDimmerPresetsEventPresetItem
|
|
|
|
|
{
|
|
|
|
|
private _id: number;
|
2021-09-15 18:56:48 -04:00
|
|
|
|
private _type: number;
|
|
|
|
|
private _color: number;
|
2021-09-14 02:56:25 -03:00
|
|
|
|
private _brightness: number;
|
2021-03-16 22:02:09 -04:00
|
|
|
|
|
2021-09-15 18:56:48 -04:00
|
|
|
|
constructor(id: number, type: number, color: number, brightness: number)
|
2021-03-16 22:02:09 -04:00
|
|
|
|
{
|
2021-09-14 02:56:25 -03:00
|
|
|
|
this._id = id;
|
2021-09-15 18:56:48 -04:00
|
|
|
|
this._type = type;
|
2021-09-14 02:56:25 -03:00
|
|
|
|
this._color = color;
|
|
|
|
|
this._brightness = brightness;
|
2021-03-16 22:02:09 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public get id(): number
|
|
|
|
|
{
|
|
|
|
|
return this._id;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-15 18:56:48 -04:00
|
|
|
|
public get type(): number
|
2021-03-16 22:02:09 -04:00
|
|
|
|
{
|
2021-09-15 18:56:48 -04:00
|
|
|
|
return this._type;
|
2021-03-16 22:02:09 -04:00
|
|
|
|
}
|
|
|
|
|
|
2021-09-15 18:56:48 -04:00
|
|
|
|
public get color(): number
|
2021-03-16 22:02:09 -04:00
|
|
|
|
{
|
|
|
|
|
return this._color;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-14 02:56:25 -03:00
|
|
|
|
public get brightness(): number
|
2021-03-16 22:02:09 -04:00
|
|
|
|
{
|
2021-09-14 02:56:25 -03:00
|
|
|
|
return this._brightness;
|
2021-03-16 22:02:09 -04:00
|
|
|
|
}
|
2021-06-08 17:37:36 -05:00
|
|
|
|
}
|