@@ -36,7 +36,7 @@ public SolarClient(string url, int version, ILogger logger, Action<CommonRespons
3636 /// <param name="deviceId"></param>
3737 /// <param name="scope"></param>
3838 /// <returns></returns>
39- public CumulationInverterData GetCumulationInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
39+ public Response < CumulationInverterData > GetCumulationInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
4040 {
4141 return _inverterRealtimeDataService . GetCumulationInverterData ( deviceId , scope ) ;
4242 }
@@ -47,7 +47,7 @@ public CumulationInverterData GetCumulationInverterData(int deviceId = 1, Scope
4747 /// <param name="deviceId"></param>
4848 /// <param name="scope"></param>
4949 /// <returns></returns>
50- public CommonInverterData GetCommonInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
50+ public Response < CommonInverterData > GetCommonInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
5151 {
5252 return _inverterRealtimeDataService . GetCommonInverterData ( deviceId , scope ) ;
5353 }
@@ -58,7 +58,7 @@ public CommonInverterData GetCommonInverterData(int deviceId = 1, Scope scope =
5858 /// <param name="deviceId"></param>
5959 /// <param name="scope"></param>
6060 /// <returns></returns>
61- public P3InverterData GetP3InverterData ( int deviceId = 1 , Scope scope = Scope . Device )
61+ public Response < P3InverterData > GetP3InverterData ( int deviceId = 1 , Scope scope = Scope . Device )
6262 {
6363 return _inverterRealtimeDataService . GetP3InverterData ( deviceId , scope ) ;
6464 }
@@ -69,7 +69,7 @@ public P3InverterData GetP3InverterData(int deviceId = 1, Scope scope = Scope.De
6969 /// <param name="deviceId"></param>
7070 /// <param name="scope"></param>
7171 /// <returns></returns>
72- public MinMaxInverterData GetMinMaxInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
72+ public Response < MinMaxInverterData > GetMinMaxInverterData ( int deviceId = 1 , Scope scope = Scope . Device )
7373 {
7474 return _inverterRealtimeDataService . GetMinMaxInverterData ( deviceId , scope ) ;
7575 }
0 commit comments