DHMHardwareItemsUsage Methods |
The DHMHardwareItemsUsage type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckValidity |
Checks if the instance definition is valid. If not, an exception is thrown.
| |
| CreateInstanceFromConfigurationFile |
Creates an instance according to the configuration in a json file
| |
| InitFromConfigurationFile |
Initializes the instance from a .json configuration file stored in configurationFileFullPath | |
| InitFromDatabase(IBaseManager, HardwareItemUsage) |
Initialize the instance with all the hardware enabled or defined in the database (hardware configuration and enabled modules), with
each hardware item set to the same usage of usageForAllHardwareItems | |
| InitFromDatabase(IBaseManager, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage) |
Initializes the instance with all the hardware enabled or defined in the database (hardware configuration and enabled modules), with
all hardware items of each category set to the same usage
| |
| SaveToConfigurationFile |
Save the instance configuration in a .json configuration file. Can be loaded again using the appropriate constructor or InitFromConfigurationFile(String) | |
| ToString | (Overrides ObjectToString.) |