RapidScada / scada-community

Modules and tools for Rapid SCADA developed by the community
Apache License 2.0
60 stars 72 forks source link

Feature grafana issue #16

Closed greenfoxx closed 4 years ago

2mik commented 4 years ago

ofsVal > ofsValFrom || ofsVal == ofsValFrom

This is ofsVal >= ofsValFrom

2mik commented 4 years ago

DateTimeOffset ofs1 = new DateTimeOffset(from); long ofsValFrom = ofs1.ToUnixTimeMilliseconds();

change to long ofsValFrom = new DateTimeOffset(from).ToUnixTimeMilliseconds();

Rename "ofs" to something clear.