Package com.heisha.heisha_sdk.Product
Class BaseProduct
- java.lang.Object
-
- com.heisha.heisha_sdk.Product.BaseProduct
-
- Direct Known Subclasses:
DNEST
public abstract class BaseProduct extends java.lang.Object
Device base class- Version:
- 1.0.1
- Author:
- wmy
-
-
Constructor Summary
Constructors Constructor Description BaseProduct(java.lang.String deviceName, java.lang.String deviceSerial)
Device Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Charger
getCharger()
Get the charger component singletonControlCenter
getControlCenter()
Get the central control component singletonjava.lang.String
getDeviceName()
Get device namejava.lang.String
getDeviceSerial()
Get device serial numberEdgeComputing
getEdgeComputing()
Get an edge computing control component singletonPositionBar
getPositionBar()
Get a singleton of a charging bars componentRemoteControl
getRemoteControl()
Get a remote control component singleton
-
-
-
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
-
-