psdi.app.asset

Class FldMeterReadingDelta

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldMeterReadingDelta
    extends FldDelta
    Behaviors of the persistent Delta attribute in the MeterReading object.
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        calls super.validate(). If MXApplicationException("meter",""addRead_ExceedsPrevRead") or MXApplicationException("meter",""updRead_ExceedsPrevRead") is returned, resets the previous reading information and clears any new readings.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldDelta
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.DeployedMeter#getIsReadingUpdate()
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        calls addAdjustedDeltaForRollDownId(String rollId,String value) on the AssetMeter so that the adjusted delta will be rolled to all readings that were part of the original rolldown.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldDelta
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        addAdjustedDeltaForRollDownId(String rollId,String value)