- java.lang.Object
-
- org.lsst.ccs.monitor.Channel
-
- org.lsst.ccs.monitor.DerivedChannel
-
- org.lsst.ccs.subsystem.utility.WeightedAverageChannel
-
-
Field Summary
-
Fields inherited from class org.lsst.ccs.monitor.Channel
alarmHi, alarmHiA, alarmLo, alarmLoA, checkHi, checkLo, description, devcName, doNotPublish, doNotTrend, format, hwChan, hysteresis, limitHi, limitLo, offset, pageId, scale, subtype, type, TYPE_DIFF, TYPE_POWER, TYPE_PROD, TYPE_QUOT, TYPE_SUM, TYPE_SWITCH, TYPE_TEMP, TYPE_UNKNOWN, TYPE_VOLTS, typeI, units, warnHi, warnLo
-
Method Summary
-
Methods inherited from class org.lsst.ccs.monitor.Channel
convertRawValue, getAlarmNameHi, getAlarmNameLo, getConfigurationParameterDescription, getDescription, getDevice, getFormat, getGroup, getHysteresisLimitHi, getHysteresisLimitLo, getHysteresisWarnHi, getHysteresisWarnLo, getLastMeasurement, getLimitHi, getLimitLo, getName, getPageId, getPath, getType, getTypeStr, getUnits, getValue, getWarnHi, getWarnLo, hasHysteresis, readValue, setParameterBulk, validateBulkChange
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.lsst.ccs.framework.HasLifecycle
build, postBuild, postInit, postShutdown, postStart, shutdown, start
-
-
Method Detail
-
init
public void init()
- Specified by:
init in interface org.lsst.ccs.framework.HasLifecycle
- Overrides:
init in class org.lsst.ccs.monitor.Channel
-
getChannelWeights
@Command(type=QUERY,
description="Get the channel weights",
level=0)
public Map<String,Double> getChannelWeights()
-
setChannelWeight
@Command(type=ACTION,
description="Set a channel weight")
public void setChannelWeight(@Argument(description="Channel name")
String name,
@Argument(description="Channel weight")
double weight)
throws UtilityException
- Throws:
UtilityException
Copyright © 2022 LSST. All rights reserved.