|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.smf.AcceleratorNode
|
+--gov.sns.xal.smf.impl.Magnet
|
+--gov.sns.xal.smf.impl.Electromagnet
|
+--gov.sns.xal.smf.impl.Quadrupole
|
+--gov.sns.xal.smf.impl.TrimmedQuadrupole
TrimmedQuadrupole is a subclass of Quadrupole that has a trim power supply in addition to a main power supply.
| Field Summary | |
static java.lang.String |
HORIZONTAL_TYPE
|
static java.lang.String |
s_strType
|
protected java.lang.String |
trimSupplyId
|
static java.lang.String |
VERTICAL_TYPE
|
| Fields inherited from class gov.sns.xal.smf.impl.Quadrupole |
type |
| Fields inherited from class gov.sns.xal.smf.impl.Electromagnet |
FIELD_RB_HANDLE, mainSupplyId |
| Fields inherited from class gov.sns.xal.smf.impl.Magnet |
leff, m_bucMagnet |
| Fields inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_mapAttrs, m_objAccel, m_seqParent, m_strId |
| Fields inherited from interface gov.sns.xal.smf.impl.qualify.MagnetType |
DIPOLE, HORIZONTAL, NO_ORIENTATION, OCT, OCTUPOLE, poles, QUAD, QUADRUPOLE, SEXT, SEXTUPOLE, VERTICAL |
| Constructor Summary | |
TrimmedQuadrupole(java.lang.String strId)
TrimmedQuadrupole constructor. |
|
| Method Summary | |
Channel |
getChannel(java.lang.String handle)
Get the channel corresponding to the specified handle. |
java.util.Collection |
getHandles()
Get the channel handles. |
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType. |
double |
getTrimCurrent()
Get the trim power supply current in this electromagnet via ca (A) |
MagnetTrimSupply |
getTrimSupply()
Get the trim power supply for this magnet. |
void |
setTrimCurrent(double newCurrent)
set the trim power supply current in the magnet (A) |
void |
setTrimField(double newField)
Set the trim power supply field contribution in the magnet. |
protected void |
updatePowerSupplies(DataAdaptor powerSupplyAdaptor)
Update data from the power supply data adaptor. |
protected void |
writePowerSupplies(DataAdaptor powerSupplyAdaptor)
Write data to the power supply data adaptor. |
| Methods inherited from class gov.sns.xal.smf.impl.Quadrupole |
getField, getType, isKindOf, isPole, lowerFieldLimit, setField, update, upperFieldLimit |
| Methods inherited from class gov.sns.xal.smf.impl.Electromagnet |
getCurrent, getCycleState, getFieldInt, getMainSupply, isPermanent, lowerCurrentLimit, setCurrent, setCycleEnable, upperCurrentLimit, write |
| Methods inherited from class gov.sns.xal.smf.impl.Magnet |
addBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isSkew, isVertical, setMagBucket |
| Methods inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, clear, dataLabel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getId, getLength, getParent, getPosition, getStatus, getTwiss, getValid, hasBucket, hasParent, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPosition, setStatus, setTwiss, setValid, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String s_strType
public static final java.lang.String HORIZONTAL_TYPE
public static final java.lang.String VERTICAL_TYPE
protected java.lang.String trimSupplyId
| Constructor Detail |
public TrimmedQuadrupole(java.lang.String strId)
| Method Detail |
protected void updatePowerSupplies(DataAdaptor powerSupplyAdaptor)
updatePowerSupplies in class ElectromagnetpowerSupplyAdaptor - The data provider of power supply information.protected void writePowerSupplies(DataAdaptor powerSupplyAdaptor)
writePowerSupplies in class ElectromagnetpowerSupplyAdaptor - The data sink for the power supply informationpublic java.util.Collection getHandles()
getHandles in class Electromagnet
public Channel getChannel(java.lang.String handle)
throws NoSuchChannelException
getChannel in class Electromagnethandle - The handle for the channel to get.
NoSuchChannelException - if no such channel as specified by the handle is associated with this node.public MagnetTrimSupply getTrimSupply()
public void setTrimField(double newField)
throws ConnectionException,
PutException
ConnectionException
PutException
public double getTrimCurrent()
throws ConnectionException,
GetException
ConnectionException
GetException
public void setTrimCurrent(double newCurrent)
throws ConnectionException,
PutException
newCurrent - is the new current (A)
ConnectionException
PutExceptionpublic int getOrientation()
getOrientation in interface MagnetTypegetOrientation in class Quadrupole
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||