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; }