blob: a7978a088bf50022d0162d0554f0db45a5400580 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2016 Orange.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.om2m.sdt.home.types;
import org.eclipse.om2m.sdt.datapoints.EnumDataPoint;
public abstract class DoorState extends EnumDataPoint<DoorState.Values> {
static public enum Values {
closed, open, opening, closing, stopped
}
public DoorState() {
this(DatapointType.doorState);
}
public DoorState(DatapointType dt) {
super(dt, HomeDataType.DoorState);
setValidValues(Values.values());
}
}