 | DHMHardwareItemsUsage Class |
Inheritance Hierarchy Namespace: LynceeTec.DHMAssembly: LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:34 UTC
Syntaxpublic class DHMHardwareItemsUsage : IDHMHardwareItemsUsage
public ref class DHMHardwareItemsUsage : IDHMHardwareItemsUsage
The DHMHardwareItemsUsage type exposes the following members.
Constructors | Name | Description |
---|
 | DHMHardwareItemsUsage(DHMHardwareItemsUsage) |
Creates a new instance, copied from dhmHardwareItemsUsage |
 | DHMHardwareItemsUsage(IBaseManager, HardwareItemUsage) |
Creates a new 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 |
 | DHMHardwareItemsUsage(IBaseManager, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage) |
Creates a new 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
|
 | DHMHardwareItemsUsage(IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage) |
Creates a new instance of DHMHardwareItemsUsage |
Top
Properties
Methods | 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) |
Top
See Also