From 637ae10c8ff5e64066881c8fad598fea84c7b53b Mon Sep 17 00:00:00 2001 From: Baocheng Su Date: Wed, 13 Dec 2023 22:29:41 +0800 Subject: [PATCH] eio: Remove the SM SENS DI module This module is still under development, hence temporarily remove it from the eio configuration. Once this module is released, it could be added back. Signed-off-by: Baocheng Su --- .../files/src/components/SlotInfo.js | 1 - .../mlfb-6ES7647-0CM00-1AA2.yaml | 19 ------------------- .../config-template/sm-config-example.yaml | 18 ++++-------------- .../iot2050-eio-manager_0.1.bb | 2 -- 4 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7647-0CM00-1AA2.yaml diff --git a/recipes-app/iot2050-conf-webui/files/src/components/SlotInfo.js b/recipes-app/iot2050-conf-webui/files/src/components/SlotInfo.js index 406059ac0..fad7abea7 100644 --- a/recipes-app/iot2050-conf-webui/files/src/components/SlotInfo.js +++ b/recipes-app/iot2050-conf-webui/files/src/components/SlotInfo.js @@ -87,7 +87,6 @@ export default function SlotInfo ({ slotNum, configData, updateSlot }) { '6ES7231-5PD32-0XB0', // SM1231-4RTD '6ES7231-5PF32-0XB0', // SM1231-8RTD '6ES7231-4HF32-0XB0', // SM1231-8AI - '6ES7647-0CM00-1AA2', // SM SENS DI '6ES7238-5XA32-0XB0' // SM1238 Energy Meter 480VAC ]; diff --git a/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7647-0CM00-1AA2.yaml b/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7647-0CM00-1AA2.yaml deleted file mode 100644 index b9701d47e..000000000 --- a/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7647-0CM00-1AA2.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) Siemens AG, 2023 -# -# SPDX-License-Identifier: MIT -# -# This is an example config file for IOT2050-SM signal modules to demonstrate -# how to config the external signal modules via YAML config file -# -description: | - SM SENS DI module - - Configuration Items: - - 0. MLFB - - Must be "6ES7647-0CM00-1AA2" - - There is no configuration entry for this module other than mlfb. - -mlfb: "6ES7647-0CM00-1AA2" diff --git a/recipes-app/iot2050-eio-manager/files/config-template/sm-config-example.yaml b/recipes-app/iot2050-eio-manager/files/config-template/sm-config-example.yaml index 0207f4f39..1558c718d 100644 --- a/recipes-app/iot2050-eio-manager/files/config-template/sm-config-example.yaml +++ b/recipes-app/iot2050-eio-manager/files/config-template/sm-config-example.yaml @@ -606,20 +606,6 @@ slot4: open_wire_alarm: true slot5: - description: | - SM SENS DI module - - Configuration Items: - - 0. MLFB - - Must be "6ES7647-0CM00-1AA2" - - There is no configuration entry for this module other than mlfb. - - mlfb: "6ES7647-0CM00-1AA2" - -slot6: description: | SM1238 Energy Meter 480VAC @@ -888,3 +874,7 @@ slot6: ll_cur_measure: 50 vt_second_vol: 230 vt_prim_vol: 230 + +slot6: + description: No module for this slot + mlfb: "NA" diff --git a/recipes-app/iot2050-eio-manager/iot2050-eio-manager_0.1.bb b/recipes-app/iot2050-eio-manager/iot2050-eio-manager_0.1.bb index 598782a07..8b8793adf 100644 --- a/recipes-app/iot2050-eio-manager/iot2050-eio-manager_0.1.bb +++ b/recipes-app/iot2050-eio-manager/iot2050-eio-manager_0.1.bb @@ -41,7 +41,6 @@ SRC_URI += " \ file://config-template/mlfb-6ES7231-4HF32-0XB0.yaml \ file://config-template/mlfb-6ES7231-5PD32-0XB0.yaml \ file://config-template/mlfb-6ES7231-5PF32-0XB0.yaml \ - file://config-template/mlfb-6ES7647-0CM00-1AA2.yaml \ file://config-template/mlfb-6ES7238-5XA32-0XB0.yaml \ file://config-template/mlfb-NA.yaml \ " @@ -97,7 +96,6 @@ do_install() { install -v -m 644 ${WORKDIR}/config-template/mlfb-6ES7231-4HF32-0XB0.yaml ${D}/usr/lib/iot2050/eio/config-template/ install -v -m 644 ${WORKDIR}/config-template/mlfb-6ES7231-5PD32-0XB0.yaml ${D}/usr/lib/iot2050/eio/config-template/ install -v -m 644 ${WORKDIR}/config-template/mlfb-6ES7231-5PF32-0XB0.yaml ${D}/usr/lib/iot2050/eio/config-template/ - install -v -m 644 ${WORKDIR}/config-template/mlfb-6ES7647-0CM00-1AA2.yaml ${D}/usr/lib/iot2050/eio/config-template/ install -v -m 644 ${WORKDIR}/config-template/mlfb-6ES7238-5XA32-0XB0.yaml ${D}/usr/lib/iot2050/eio/config-template/ install -v -m 644 ${WORKDIR}/config-template/mlfb-NA.yaml ${D}/usr/lib/iot2050/eio/config-template/