blob: 0bfe22e93652b838fce2d79c50ba1fcee7fbf007 [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 MachineState extends EnumDataPoint<MachineState.Values> {
static public enum Values {
idle, preActive, active, reserved, stopped, error, diagnostic, test, maintenance, clear, charging
}
public MachineState() {
this(DatapointType.currentMachineState);
}
public MachineState(DatapointType dt) {
super(dt, HomeDataType.MachineState);
setValidValues(Values.values());
}
}