From f22ca7d439762e5260a0d9800c4a635a5c960d24 Mon Sep 17 00:00:00 2001 From: shark219-hub Date: Fri, 14 Feb 2025 10:10:08 +0900 Subject: [PATCH] =?UTF-8?q?[KA]=20=EC=9D=B8=EB=94=94=EC=BC=80=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20=20=EC=97=B0=EA=B2=B0=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20Green=20=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cVMS.NET_CS/FMain.cs | 4 ++-- cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cVMS.NET_CS/FMain.cs b/cVMS.NET_CS/FMain.cs index 0cc3ed2..b7f5fba 100644 --- a/cVMS.NET_CS/FMain.cs +++ b/cVMS.NET_CS/FMain.cs @@ -2238,7 +2238,7 @@ namespace vmsnet if (PUB.masterk != null && PUB.masterk.IsOpen()) { - this.lbPLC.ForeColor = Color.Black; + this.lbPLC.ForeColor = Color.Green; } else if (PUB.CONFIG.plc_port.isEmpty()) { @@ -2249,7 +2249,7 @@ namespace vmsnet if (PUB.indicator != null && PUB.indicator.IsOpen) { - this.lbINDI.ForeColor = Color.Black; + this.lbINDI.ForeColor = Color.green; } else if (PUB.CONFIG.indicator_port.isEmpty()) { diff --git a/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs b/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs index 7ad609a..b18f52c 100644 --- a/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs +++ b/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs @@ -103,7 +103,7 @@ namespace vmsnet { /* 작성자: 이재웅, 작성일: 2025-02-12, 내용: [KA] 인디케이터와 통신포트 Re-Open */ var rst = PUB.indicator.Open(PUB.CONFIG.indicator_port); - if (rst == true) PUB.log.AddE("[KA] 인디케이터와 통신포트가 Close 되서 다시 Open 되었습니다."); + if (rst) PUB.log.AddE("[KA] 인디케이터와 통신포트가 Close 되서 다시 Open 되었습니다."); } return StepResult.Wait; }