import ch.psi.pshell.device.AccessType; import ch.psi.pshell.epics.ChannelDouble; import ch.psi.utils.Convert; /* * Copyright (c) 2014 Paul Scherrer Institute. All rights reserved. */ /** * */ public class RotationReadback extends ChannelDouble { public RotationReadback(String name, String channelName) { super(name, channelName); setAccessType(AccessType.Read); } @Override protected Double convertFromRead(Double value) { return Convert.toDegrees0To360(value); } }