Package appeng.api.implementations

Examples of appeng.api.implementations.IPowerChannelState


      }
    }

    if ( ThingOfInterest instanceof IPowerChannelState )
    {
      IPowerChannelState pbs = (IPowerChannelState) ThingOfInterest;
      if ( pbs.isActive() && pbs.isPowered() )
        currentToolTip.add( WailaText.DeviceOnline.getLocal() );
      else if ( pbs.isPowered() )
        currentToolTip.add( WailaText.DeviceMissingChannel.getLocal() );
      else
        currentToolTip.add( WailaText.DeviceOffline.getLocal() );
    }
View Full Code Here

TOP

Related Classes of appeng.api.implementations.IPowerChannelState

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.