File

core/common/device.service.ts

Index

Properties
Methods

Methods

Static hasFragmentFromBlacklist
hasFragmentFromBlacklist(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : boolean
Static hasFragmentOrTypeFromBlacklist
hasFragmentOrTypeFromBlacklist(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : boolean
Static hasTypeFromBlacklist
hasTypeFromBlacklist(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : boolean
Static isAnyDevice
isAnyDevice(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : boolean
Static isRootDevice
isRootDevice(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : boolean

Properties

Static DEVICE_FRAGMENT_TYPE
Default value : 'c8y_IsDevice' as const
Static FRAGMENTS_FOR_NO_DEVICE
Default value : [ 'c8y_Dashboard', 'c8y_Report', 'c8y_Kpi', 'c8y_ExportConfiguration', 'c8y_IsBinary', 'c8y_NoDevice', 'c8y_IsDeviceGroup', 'c8y_IsDynamicGroup', 'c8y_Group', 'com_cumulocity_model_smartrest_SmartRestTemplate', 'com_cumulocity_model_devicesimulator_SensorTemplate', '_attachments', 'c8y_IsDeviceType', 'c8y_objectmapping_ObjectMapping', 'c8y_IsAssetType' ] as const
Static TYPES_FOR_NO_DEVICE
Default value : [ 'c8y_ConfigurationDump', 'c8y_Firmware', 'c8y_SmartRule', 'c8y_Software', 'impact_object_mapping', 'c8y_UserPreference', 'c8y_TenantPolicy', 'c8y_PrivateSmartRule', 'c8y_SmartRest2Template', 'c8y_JsonSchema', 'c8y_DeviceShellTemplate', 'c8y_DemoStatus', 'c8y_DataBroker', 'c8y_Application_', 'brandingVariables', 'c8y_DeviceSimulator', 'c8y_CertificateMetadata', 'lwm2m_post_registration', 'c8y_microservice_manifest_' ] as const

results matching ""

    No results matching ""