Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…Boon-Logic into Dev
  • Loading branch information
DarpanLalani committed Aug 4, 2023
2 parents 26d5f75 + 8634b86 commit e50891c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/cumulocity-amber-boonlogic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.2",
"description": "This is the Cumulocity module federation plugin which used to configure/reconfigure/delete/start - stop stream any device with Amber and is designed to display device model and streaming status on real time basis.",
"scripts": {
"start": "c8ycli server ",
"start": "c8ycli server",
"build": "c8ycli build --env.mode=production",
"deploy": "c8ycli deploy",
"postinstall": "ngcc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
width: 20px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
display: inline-block !important;
}


.boonlogictable {
background-color: var(--component-background, #fff);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ <h4 class="m-l-24 p-t-8 text-truncate" translate="">Device Configuration</h4>
class="modal"
tabindex="-1"
role="dialog"
[ngStyle]="{ display: displayDeRegisterStyle }"
[ngStyle]="{ display:displayDeRegisterStyle }"
>
>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export class GpBoonlogicComponent implements OnInit, DoCheck, OnDestroy {
async manageRealtime(device: any): Promise<void> {
if (this.realtimeState) {
const index = this.pagedItems.findIndex((element: { id: any }) => element.id === device.id);
if(device.c8y_AmberSensorConfiguration){
const isStreaming = String(device.c8y_AmberSensorConfiguration.isStreaming);
const arr = {
id: device.id,
Expand All @@ -257,6 +258,8 @@ export class GpBoonlogicComponent implements OnInit, DoCheck, OnDestroy {
}
}
}
}


openModal(template: TemplateRef<any>): void {
this.modalRef = this.modalService.show(template);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h4 class="m-l-24 p-t-8 text-truncate" translate="">Device Configuration</h4>
<span
title="Learning"
style="margin-right: 5px; background-color: yellowgreen"
class="dot"
class="dot badge badge-success"
></span>
<span title="Monitoring" style="margin-right: 5px" class="dot"></span>
</div>
Expand All @@ -167,7 +167,7 @@ <h4 class="m-l-24 p-t-8 text-truncate" translate="">Device Configuration</h4>
<span
title="Learning"
style="margin-right: 5px"
class="dot badge badge-success"
class="dot"
></span>
<span
title="Monitoring"
Expand Down

0 comments on commit e50891c

Please sign in to comment.