psdi.app.meter

Class FldDeployedMeterAvgCalcInfo

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldDeployedMeterAvgCalcInfo
    extends MboValueAdapter
    Behaviors of the DeployedMeter's non-persistent AvgCalcInfo attribute. This attribute serves as an intermediary between itself and either the persistent AvgCalcValue or SlidingWindowSize attributes depending on the persistent AvgCalcMethod. For a STATIC average calculation method, this attribute is the static average for this value's DeployedMeter. For a SLIDING average calculation method, this attribute is the size of the window to be used in calculating the average for this value's DeployedMeter. For example, a window size of five indicates that the five most recent meter readings are used to calculate the average when the average calculation method is SLIDING-READINGS, or that all meter readings taken in the previous five weeks will be used when the average calculation method is SLIDING-WEEKS.
    • Constructor Detail

    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        sets the AVGCALCMETHOD-dependent persistent attribute. If the AVGCALCMETHOD is STATIC, then AvgCalcValue is set to this value. If the AVGCALCMETHOD is one of the SLIDING methods, then SlidingWindowSize is set to this value.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException