Package appeng.me.energy

Examples of appeng.me.energy.EnergyThreshold


    if ( !interests.isEmpty() )
    {
      double oldPower = lastStoredPower;
      lastStoredPower = getStoredPower();

      EnergyThreshold low = new EnergyThreshold( Math.min( oldPower, lastStoredPower ), null );
      EnergyThreshold high = new EnergyThreshold( Math.max( oldPower, lastStoredPower ), null );
      for (EnergyThreshold th : interests.subSet( low, true, high, true ))
      {
        ((EnergyWatcher) th.watcher).post( this );
      }
    }
View Full Code Here

TOP

Related Classes of appeng.me.energy.EnergyThreshold

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.