Add set and get to Precharge Config

This commit is contained in:
atef 2023-08-02 11:06:18 +02:00
parent 43fb714a2a
commit d7212dd37a
1 changed files with 6 additions and 2 deletions

View File

@ -36,8 +36,12 @@ public class DcControl
} }
} }
public DcPrechargeConfig PrechargeConfig => _Self.DcPrechargeConfig; public DcPrechargeConfig PrechargeConfig
{
get { return _Self.DcPrechargeConfig; }
set { _Self.DcPrechargeConfig = value; }
}
private Boolean Is480V => _Self.GridType is GridType.GridTied480V60Hz or GridType.Island480V60Hz; private Boolean Is480V => _Self.GridType is GridType.GridTied480V60Hz or GridType.Island480V60Hz;
internal DcControl(AcDcRecord self) => _Self = self; internal DcControl(AcDcRecord self) => _Self = self;