事件数据存储,但是展示有问题,还需找解决方案
This commit is contained in:
parent
b14df70fa0
commit
4172cfce13
@ -219,9 +219,20 @@ namespace JiShe.IoT.IoTPlatformAggregation
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(input.FiledType) && input.FiledType.ToLowerInvariant().Contains("event"))
|
||||
{
|
||||
return OneNETAllThingModel.GetAllEventsSelectResult(oneNETAllThingModel.Events);
|
||||
var tempEventResult = OneNETAllThingModel.GetAllEventsSelectResult(oneNETAllThingModel.Events);
|
||||
if (tempEventResult != null)
|
||||
{
|
||||
selectResults.AddRange(tempEventResult);
|
||||
}
|
||||
return OneNETAllThingModel.GetAllPropertiesSelectResult(oneNETAllThingModel.Properties);
|
||||
}
|
||||
|
||||
var tempPropertyCacheResult = OneNETAllThingModel.GetAllPropertiesSelectResult(oneNETAllThingModel.Properties);
|
||||
if (tempPropertyCacheResult != null)
|
||||
{
|
||||
selectResults.AddRange(tempPropertyCacheResult);
|
||||
}
|
||||
|
||||
return selectResults;
|
||||
}
|
||||
|
||||
var oneNetProductInfos = await _oneNetProductService.GetProductInfoAsync(new IdInput<string>() { Id = input.IoTPlatformProductId });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user