修复缓存item没有默认构造函数导致的錯誤

This commit is contained in:
Kimdiego2098
2024-01-22 11:38:16 +08:00
parent cfcdeaff01
commit 5b0876e106
2 changed files with 7 additions and 1 deletions

View File

@@ -23,6 +23,13 @@ namespace ThingsGateway.Cache;
/// </summary>
public class LiteDBDefalutCacheItem<T> : IPrimaryIdEntity
{
/// <summary>
/// LiteDBDefalutCacheItem
/// </summary>
public LiteDBDefalutCacheItem()
{
}
/// <summary>
/// LiteDBDefalutCacheItem
/// </summary>

View File

@@ -12,7 +12,6 @@
<ProjectReference Include="..\foundation\ThingsGateway.Foundation.OpcDa\src\ThingsGateway.Foundation.OpcDa.csproj" />
<ProjectReference Include="..\foundation\ThingsGateway.Foundation.OpcUa\src\ThingsGateway.Foundation.OpcUa.csproj" />
<ProjectReference Include="..\foundation\ThingsGateway.Foundation.SiemensS7\src\ThingsGateway.Foundation.SiemensS7.csproj" />
<ProjectReference Include="..\foundation\ThingsGateway.Foundation\src\ThingsGateway.Foundation.csproj" />
<ProjectReference Include="..\ThingsGateway.Components\ThingsGateway.Components.csproj" />
<ProjectReference Include="..\ThingsGateway.Core\ThingsGateway.Core.csproj" />
</ItemGroup>