Class HardwareInformationResponse
Contains the result of calling the HardwareInformation() or HardwareInformationAsync(). Immutable class.
Inheritance
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class HardwareInformationResponse : object
Constructors
HardwareInformationResponse(List<Hardware>, Dictionary<KernelType, String>, Dictionary<SettingType, String>, Dictionary<String, String>, Int32, Boolean)
Create hardware information response.
Declaration
public HardwareInformationResponse(List<Hardware> hardwares, Dictionary<KernelType, String> kernelVersions, Dictionary<SettingType, String> settings, Dictionary<String, String> statistics, int batteryLevel, bool batteryCharging)
Parameters
Type | Name | Description |
---|---|---|
List<Hardware> | hardwares | |
Dictionary<KernelType, String> | kernelVersions | |
Dictionary<SettingType, String> | settings | |
Dictionary<String, String> | statistics | |
System.Int32 | batteryLevel | |
System.Boolean | batteryCharging |
Fields
BatteryCharging
Declaration
public readonly bool BatteryCharging
Field Value
Type | Description |
---|---|
System.Boolean |
BatteryLevel
Charging level of the battery as a percentage value of the total charge. 0% is defined as the amount of charge where the device performs an automatic shutdown. 100% is a full charge.
Declaration
public readonly int BatteryLevel
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Hardwares
List of hardware attached to the EFT Terminal.
Declaration
public List<Hardware> Hardwares { get; }
Property Value
Type | Description |
---|---|
List<Hardware> |
KernelVersions
Kernel versions supported by the EFT Terminal. For each kernel type the string version is stored.
Declaration
public Dictionary<KernelType, String> KernelVersions { get; }
Property Value
Type | Description |
---|---|
Dictionary<KernelType, String> | The kernel versions. |
Settings
Settings supported by the EFT Terminal. For each setting type the setting value is stored as string.
Declaration
public Dictionary<SettingType, String> Settings { get; }
Property Value
Type | Description |
---|---|
Dictionary<SettingType, String> | The settings. |
Statistics
Hardware statistics. For each statistic type (key) the statistics are stored as string value. Available only if {@link com.six.timapi.constants.Guides#UNATTENDED} guide is enabled.
Declaration
public Dictionary<String, String> Statistics { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, String> | The statistics. |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |