public static OpenhabCommandType.OpenhabCommand.Builder newPercentCommand(final Double value) { return getCommandBuilder().setType(CommandType.PERCENT).setPercent(PercentType.Percent.newBuilder().setValue(value.intValue()).build()); }
public static OpenhabCommandType.OpenhabCommand.Builder newPercentCommand(final Double value) { return getCommandBuilder().setType(CommandType.PERCENT).setPercent(PercentType.Percent.newBuilder().setValue(value.intValue()).build()); }
public static OpenhabCommandType.OpenhabCommand.Builder newStopMoveCommand(final StopMoveHolderType.StopMoveHolder state) { return getCommandBuilder().setType(CommandType.STOPMOVE).setStopMove(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newOnOffCommand(final OnOffHolderType.OnOffHolder state) { return getCommandBuilder().setType(CommandType.ONOFF).setOnOff(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newPercentCommand(final PercentType.Percent percent) { return getCommandBuilder().setType(CommandType.PERCENT).setPercent(percent); }
public static OpenhabCommandType.OpenhabCommand.Builder newHSBCommand(final HSBType.HSB color) { return getCommandBuilder().setType(CommandType.HSB).setHsb(color); }
public static OpenhabCommandType.OpenhabCommand.Builder newPercentCommand(final PercentType.Percent percent) { return getCommandBuilder().setType(CommandType.PERCENT).setPercent(percent); }
public static OpenhabCommandType.OpenhabCommand.Builder newUpDownCommand(final UpDownHolderType.UpDownHolder state) { return getCommandBuilder().setType(CommandType.UPDOWN).setUpDown(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newStopMoveCommand(final StopMoveHolderType.StopMoveHolder state) { return getCommandBuilder().setType(CommandType.STOPMOVE).setStopMove(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newOnOffCommand(final OnOffHolderType.OnOffHolder state) { return getCommandBuilder().setType(CommandType.ONOFF).setOnOff(state); } }
public static OpenhabCommandType.OpenhabCommand.Builder newDecimalCommand(final Double value) { return getCommandBuilder().setType(CommandType.DECIMAL).setDecimal(value); } }
public static OpenhabCommandType.OpenhabCommand.Builder newUpDownCommand(final UpDownHolderType.UpDownHolder state) { return getCommandBuilder().setType(CommandType.UPDOWN).setUpDown(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newOnOffCommand(final OnOffHolderType.OnOffHolder state) { return getCommandBuilder().setType(CommandType.ONOFF).setOnOff(state); }
public static OpenhabCommandType.OpenhabCommand.Builder newHSBCommand(final HSBType.HSB color) { return getCommandBuilder().setType(CommandType.HSB).setHsb(color); }
public static OpenhabCommandType.OpenhabCommand.Builder newOnOffCommand(final OnOffHolderType.OnOffHolder state) { return getCommandBuilder().setType(CommandType.ONOFF).setOnOff(state); } }
public static OpenhabCommandType.OpenhabCommand.Builder newDecimalCommand(final Double value) { return getCommandBuilder().setType(CommandType.DECIMAL).setDecimal(value); } }