forked from ddrilling/AsbCloudServer
add dbSet
This commit is contained in:
parent
84a783a76b
commit
6100dd57ff
@ -58,13 +58,13 @@ namespace AsbCloudInfrastructure.Repository
|
||||
// return cacheData;
|
||||
var dateEnd = dateBeginUtc.AddSeconds(intervalSec);
|
||||
|
||||
var queryWitsInt = db.WitsItemInt
|
||||
var queryWitsInt = db.Set<WitsItemInt>()
|
||||
.Where(d => d.IdTelemetry == telemetry.Id
|
||||
&& d.DateTime >= dateBeginUtc);
|
||||
var queryWitsString = db.WitsItemString
|
||||
var queryWitsString = db.Set<WitsItemString>()
|
||||
.Where(d => d.IdTelemetry == telemetry.Id
|
||||
&& d.DateTime >= dateBeginUtc);
|
||||
var queryWitsFloat = db.WitsItemFloat
|
||||
var queryWitsFloat = db.Set<WitsItemFloat>()
|
||||
.Where(d => d.IdTelemetry == telemetry.Id
|
||||
&& d.DateTime >= dateBeginUtc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user