Class HardwareInformationResponse
Contains the result of calling the HardwareInformation() or HardwareInformationAsync(). Immutable class.
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class HardwareInformationResponse
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 |
---|---|---|
System.Collections.Generic.List<Hardware> | hardwares | |
System.Collections.Generic.Dictionary<KernelType, System.String> | kernelVersions | |
System.Collections.Generic.Dictionary<SettingType, System.String> | settings | |
System.Collections.Generic.Dictionary<System.String, System.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 |
---|---|
System.Collections.Generic.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 |
---|---|
System.Collections.Generic.Dictionary<KernelType, System.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 |
---|---|
System.Collections.Generic.Dictionary<SettingType, System.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 |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | The statistics. |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |