Class BaseProduct

  • Direct Known Subclasses:
    DNEST

    public abstract class BaseProduct
    extends java.lang.Object
    Device base class
    Version:
    1.0.1
    Author:
    wmy
    • Constructor Detail

      • BaseProduct

        public BaseProduct​(java.lang.String deviceName,
                           java.lang.String deviceSerial)
        Device Constructor
        Parameters:
        deviceName - device name
        deviceSerial - device serial number
    • Method Detail

      • getDeviceName

        public java.lang.String getDeviceName()
        Get device name
        Returns:
        device name
      • getDeviceSerial

        public java.lang.String getDeviceSerial()
        Get device serial number
        Returns:
        device serial number
      • getControlCenter

        public ControlCenter getControlCenter()
        Get the central control component singleton
        Returns:
        Central control component module
      • getCharger

        public Charger getCharger()
        Get the charger component singleton
        Returns:
        Charger component module
      • getPositionBar

        public PositionBar getPositionBar()
        Get a singleton of a charging bars component
        Returns:
        Charging bars component module
      • getEdgeComputing

        public EdgeComputing getEdgeComputing()
        Get an edge computing control component singleton
        Returns:
        Edge Computing Control Component Module
      • getRemoteControl

        public RemoteControl getRemoteControl()
        Get a remote control component singleton
        Returns:
        Remote Control Component Module