V1.0.0.8 - 2025/12/30
* RS-485 Comm Fail Timeout bug fix
This commit is contained in:
@@ -106,7 +106,7 @@ namespace LFP_Manager.Function
|
||||
rConfig.RecvWaitTime = (int)csIniControlFunction.GetPrivateProfileInt("UART", "RECV_WAIT_TIME", 1500, InIPath);
|
||||
|
||||
// COMM FAIL TIME OUT
|
||||
rConfig.CommFailTime = (int)csIniControlFunction.GetPrivateProfileInt("UART", "COMM_FAIL_TIME", 5000, InIPath);
|
||||
rConfig.CommFailMaxCount = (int)csIniControlFunction.GetPrivateProfileInt("UART", "COMM_FAIL_COUNT", 5, InIPath);
|
||||
|
||||
// Etc. Config
|
||||
rConfig.DbLogPeriod = (int)csIniControlFunction.GetPrivateProfileInt("DATABASE", "LOG_PERIOD", 1, InIPath);
|
||||
@@ -147,7 +147,7 @@ namespace LFP_Manager.Function
|
||||
rConfig.UartProtocol= 0;
|
||||
rConfig.RecvWaitTime = 1500;
|
||||
|
||||
rConfig.CommFailTime = 5000;
|
||||
rConfig.CommFailMaxCount = 5;
|
||||
|
||||
rConfig.DbLogPeriod = 5;
|
||||
|
||||
@@ -187,8 +187,8 @@ namespace LFP_Manager.Function
|
||||
// RECV_WAIT_TIME
|
||||
WritePrivateProfileString("UART", "RECV_WAIT_TIME", aConfig.RecvWaitTime.ToString(), InIPath);
|
||||
|
||||
// COMM_FAIL_TIME
|
||||
WritePrivateProfileString("UART", "COMM_FAIL_TIME", aConfig.CommFailTime.ToString(), InIPath);
|
||||
// COMM_FAIL_COUNT
|
||||
WritePrivateProfileString("UART", "COMM_FAIL_COUNT", aConfig.CommFailMaxCount.ToString(), InIPath);
|
||||
|
||||
// Etc Config
|
||||
WritePrivateProfileString("DATABASE", "LOG_PERIOD", aConfig.DbLogPeriod.ToString(), InIPath);
|
||||
|
||||
Reference in New Issue
Block a user