diff --git a/src/app/_layout/footer/footer.component.html b/src/app/_layout/footer/footer.component.html index 1375712..164396a 100644 --- a/src/app/_layout/footer/footer.component.html +++ b/src/app/_layout/footer/footer.component.html @@ -13,7 +13,7 @@ href="https://allbestsistem.com/" target="_blank" style="background-color: #000000 !important;" - >Smart Building Management Systems (V@2024-07-3.01) + >Smart Building Management Systems (V@2024-07-4.01)
diff --git a/src/app/content/hemat-app/device/device-control/device-control.component.ts b/src/app/content/hemat-app/device/device-control/device-control.component.ts index 5df0246..b764daa 100644 --- a/src/app/content/hemat-app/device/device-control/device-control.component.ts +++ b/src/app/content/hemat-app/device/device-control/device-control.component.ts @@ -146,18 +146,15 @@ export class DeviceControlComponent { } switchChanged(ev, data) { - console.log(ev); - console.log(data); - - // const requestData = { - // device_id: data.device_id, - // switch: data.mapping[0].switch, - // value: ev, - // command_type: "on_off", - // }; - // this.deviceService.deviceSwitch(requestData).subscribe((res) => { - // console.log(res); - // }); + const requestData = { + device_id: data.device_id, + switch: data.mapping[0].switch, + value: ev, + command_type: "on_off", + }; + this.deviceService.deviceSwitch(requestData).subscribe((res) => { + console.log(res); + }); } addFieldValue() {} diff --git a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html index d084259..9cffecc 100644 --- a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html +++ b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html @@ -9,24 +9,46 @@- (v@2024.07.3.01) + (v@2024.07.4.01)