電站管理: 修正電站無法啟用
This commit is contained in:
parent
839f30cc40
commit
589dd8e2e4
@ -3321,7 +3321,7 @@ namespace SolarPower.Controllers
|
||||
{
|
||||
status.Add($"s{powerStation.Code}01_inv SITEID錯誤");
|
||||
}
|
||||
if (powerStation.Code + "01" != sitecheck.Inv_inveter.Substring(0,11) && sitecheck.Inv_inveter != null)
|
||||
if (sitecheck.Inv_inveter != null && powerStation.Code + "01" != sitecheck.Inv_inveter.Substring(0,11))
|
||||
{
|
||||
status.Add($"s{powerStation.Code}01_Inv inveter格式錯誤");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user