]> git.basschouten.com Git - openhab-addons.git/blob
ffdc85268902f57ba09b5648b9cd8d47f7162f77
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.hyperion.internal.protocol.v1;
14
15 import org.openhab.binding.hyperion.internal.protocol.HyperionCommand;
16
17 /**
18  * The {@link TransformCommand} is a POJO for sending transform commands
19  * to the Hyperion server.
20  *
21  * @author Daniel Walters - Initial contribution
22  */
23 public class TransformCommand extends HyperionCommand {
24
25     private static final String NAME = "transform";
26     private Transform transform;
27
28     public TransformCommand(Transform transform) {
29         super(NAME);
30         setTransform(transform);
31     }
32
33     public Transform getTransform() {
34         return transform;
35     }
36
37     public void setTransform(Transform transform) {
38         this.transform = transform;
39     }
40 }