Skip to content

Commit

Permalink
Merge pull request #41 from SoftwareAG/feature/device-property-implem…
Browse files Browse the repository at this point in the history
…entation

Feature/device property implementation
  • Loading branch information
amar-c8y authored Apr 2, 2024
2 parents d6834a1 + 89a75a4 commit 570e220
Show file tree
Hide file tree
Showing 32 changed files with 2,867 additions and 549 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.tmp
**/.cache
8 changes: 8 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
singleQuote: true
printWidth: 100
trailingComma: none
arrowParens: avoid
overrides:
- files: '{modules,packages}/**/*.html'
options:
parser: angular
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { NgModule } from '@angular/core';
import {
AlarmRealtimeService,
CoreModule,
EventRealtimeService,
HOOK_COMPONENTS,
MeasurementRealtimeService,
OperationRealtimeService,
RealtimeModule,
} from '@c8y/ngx-components';
import * as preview from './common/preview';
Expand All @@ -15,6 +19,10 @@ import { AssetPropertiesItemComponent } from './component/asset-properties-view/
import { assetPropertyItemSelectorCtrlComponent } from './component/asset-properties-config/asset-property-item-selector/asset-property-item-selector.component';
import { AssetPropertiesSelectorComponent } from './component/asset-properties-config/asset-property-selector/asset-property-selector.component';
import { SubAssetsModule } from '@c8y/ngx-components/sub-assets';
import { ComputedPropertyConfigComponent } from './component/asset-properties-config/computed-asset-property/computed-property-config.component';
import { DatapointSelectorModule } from '@c8y/ngx-components/datapoint-selector';
import { ComputedPropertyLastMeasurementConfigComponent } from './component/asset-properties-config/computed-asset-property/properties/last-measurement-config.component';
import { AssetPropertiesViewService } from './component/asset-properties-view/asset-properties-view.service';

@NgModule({
declarations: [
Expand All @@ -24,6 +32,8 @@ import { SubAssetsModule } from '@c8y/ngx-components/sub-assets';
AssetPropertiesViewComponent,
AssetPropertiesComponent,
AssetPropertiesItemComponent,
ComputedPropertyConfigComponent,
ComputedPropertyLastMeasurementConfigComponent
],
imports: [
CoreModule,
Expand All @@ -32,8 +42,14 @@ import { SubAssetsModule } from '@c8y/ngx-components/sub-assets';
DragDropModule,
RealtimeModule,
SubAssetsModule,
DatapointSelectorModule,
],
providers: [
AssetPropertiesViewService,
AlarmRealtimeService,
EventRealtimeService,
OperationRealtimeService,
MeasurementRealtimeService,
{
provide: HOOK_COMPONENTS,
multi: true,
Expand Down
Loading

0 comments on commit 570e220

Please sign in to comment.