Examples of IPowerChannelState


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
Copyright © 2018 www.massapi.com. 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.