This commit is contained in:
shark219
2025-06-12 09:26:02 +09:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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())
{

View File

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