Click or drag to resize

DHMHardwareItemsUsage Class

Inheritance Hierarchy
SystemObject
  LynceeTec.DHMDHMHardwareItemsUsage

Namespace:  LynceeTec.DHM
Assembly:  LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 9.0.26418.0 , built 2021-10-22 08:45:17 UTC
Syntax
public class DHMHardwareItemsUsage : IDHMHardwareItemsUsage

The DHMHardwareItemsUsage type exposes the following members.

Constructors
  NameDescription
Public methodDHMHardwareItemsUsage(DHMHardwareItemsUsage)
Creates a new instance, copied from dhmHardwareItemsUsage
Public methodDHMHardwareItemsUsage(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
Public methodDHMHardwareItemsUsage(IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage, IReadOnlyListIItemUsage)
Creates a new instance of DHMHardwareItemsUsage
Public methodDHMHardwareItemsUsage(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
Top
Properties
Methods
  NameDescription
Public methodCheckValidity
Checks if the instance definition is valid. If not, an exception is thrown.
Public methodStatic memberCreateInstanceFromConfigurationFile
Creates an instance according to the configuration in a json file
Public methodInitFromConfigurationFile
Initializes the instance from a .json configuration file stored in configurationFileFullPath
Public methodInitFromDatabase(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
Public methodInitFromDatabase(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
Public methodSaveToConfigurationFile
Save the instance configuration in a .json configuration file. Can be loaded again using the appropriate constructor or InitFromConfigurationFile(String)
Public methodToString (Overrides ObjectToString.)
Top
See Also