File tree 4 files changed +21
-2
lines changed
4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
],
16
16
"license" : " LGPL-2.1-only" ,
17
- "version" : " 0.27 " ,
17
+ "version" : " 0.28 " ,
18
18
"frameworks" : " *" ,
19
19
"platforms" : " *"
20
20
}
Original file line number Diff line number Diff line change 1
1
name =SML-Parser
2
- version =0.27
2
+ version =0.28
3
3
author =Olliiiver
4
4
maintainer =Olliiiver
5
5
sentence =C++ library to parse Smart Message Language (SML) data from smart meters.
Original file line number Diff line number Diff line change @@ -403,3 +403,19 @@ void smlOBISAmpere(double &a)
403
403
a = val;
404
404
smlPow (a, sc);
405
405
}
406
+
407
+ void smlOBISHertz (double &h)
408
+ {
409
+ long long int val;
410
+ smlOBISByUnit (val, sc, SML_HERTZ);
411
+ h = val;
412
+ smlPow (h, sc);
413
+ }
414
+
415
+ void smlOBISDegree (double &d)
416
+ {
417
+ long long int val;
418
+ smlOBISByUnit (val, sc, SML_DEGREE);
419
+ d = val;
420
+ smlPow (d, sc);
421
+ }
Original file line number Diff line number Diff line change @@ -102,5 +102,8 @@ void smlOBISWh(double &wh);
102
102
void smlOBISW (double & w );
103
103
void smlOBISVolt (double & v );
104
104
void smlOBISAmpere (double & a );
105
+ void smlOBISHertz (double & h );
106
+ void smlOBISDegree (double & d );
107
+
105
108
106
109
#endif
You can’t perform that action at this time.
0 commit comments