aktueller stand
This commit is contained in:
@@ -22,7 +22,7 @@ namespace C4IT.DataHistoryProvider
|
||||
|
||||
public cNxqlColumnsValidationResult LastValidationResults = null;
|
||||
|
||||
public cDataHistoryCollectorNxql(cDataHistoryCollector Collector) : base(Collector, eDataHistoryOrigin.NexthinkNxql, constConnectorName, constLicenseId)
|
||||
public cDataHistoryCollectorNxql(cDataHistoryCollector Collector) : base(Collector, enumDataHistoryOrigin.NexthinkNxql, constConnectorName, constLicenseId)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -644,6 +644,7 @@ namespace C4IT.DataHistoryProvider
|
||||
{
|
||||
Name = Table.Name,
|
||||
InformationClass = Table.ParentCluster.InformationClass,
|
||||
Origin = Table.ParentCluster.Origin,
|
||||
IsIncomplete = true
|
||||
}); ;
|
||||
}
|
||||
@@ -769,7 +770,7 @@ namespace C4IT.DataHistoryProvider
|
||||
}
|
||||
else
|
||||
{
|
||||
SqlValueEntry = new cF4SDHealthCardRawData.cHealthCardTableColumn()
|
||||
SqlValueEntry = new cF4SDHealthCardRawData.cHealthCardTableColumn(SqlValues)
|
||||
{
|
||||
ColumnName = DailyValueEntry.Key,
|
||||
Values = new List<object>(1) { DailyValueEntry.Value }
|
||||
@@ -822,10 +823,11 @@ namespace C4IT.DataHistoryProvider
|
||||
else
|
||||
{
|
||||
if (DefaultLogger.IsDebug) LogEntry($"No valid SQL data found for NXQL results for table '{TableName}', creating a new table result with todays values only", LogLevels.Debug);
|
||||
var TableResult = new cF4SDHealthCardRawData.cHealthCardTable
|
||||
var TableResult = new cF4SDHealthCardRawData.cHealthCardTable()
|
||||
{
|
||||
Name = TableName,
|
||||
InformationClass = DailyValues.InformationClass,
|
||||
Origin = enumDataHistoryOrigin.NexthinkNxql,
|
||||
IsIncomplete = true,
|
||||
IsStatic = false,
|
||||
TableType = eDataHistoryTableType.History,
|
||||
@@ -836,7 +838,7 @@ namespace C4IT.DataHistoryProvider
|
||||
|
||||
foreach (var ColEntry in DailyValues)
|
||||
{
|
||||
var _col = new cF4SDHealthCardRawData.cHealthCardTableColumn
|
||||
var _col = new cF4SDHealthCardRawData.cHealthCardTableColumn(TableResult)
|
||||
{
|
||||
ColumnName = ColEntry.Key,
|
||||
Values = new List<object>(1) { ColEntry.Value }
|
||||
@@ -901,7 +903,7 @@ namespace C4IT.DataHistoryProvider
|
||||
var indexServer = 0;
|
||||
foreach (var Table in Collector.ClusterConfig.Tables.Values)
|
||||
{
|
||||
if (Table.ParentCluster.Origin != eDataHistoryOrigin.NexthinkNxql)
|
||||
if (Table.ParentCluster.Origin != enumDataHistoryOrigin.NexthinkNxql)
|
||||
continue;
|
||||
|
||||
foreach (var SubTable in Table.SubTables.Values)
|
||||
@@ -1182,7 +1184,7 @@ namespace C4IT.DataHistoryProvider
|
||||
|
||||
foreach (var Table in Collector.ClusterConfig.Tables.Values)
|
||||
{
|
||||
if (Table.ParentCluster.Origin != eDataHistoryOrigin.NexthinkNxql)
|
||||
if (Table.ParentCluster.Origin != enumDataHistoryOrigin.NexthinkNxql)
|
||||
continue;
|
||||
|
||||
foreach (var SubTable in Table.SubTables.Values)
|
||||
@@ -1435,7 +1437,7 @@ namespace C4IT.DataHistoryProvider
|
||||
|
||||
foreach (var Table in Tables)
|
||||
{
|
||||
if (!(Table.ParentCluster.Origin == eDataHistoryOrigin.NexthinkNxql))
|
||||
if (!(Table.ParentCluster.Origin == enumDataHistoryOrigin.NexthinkNxql))
|
||||
continue;
|
||||
|
||||
if (Table.ParentCluster.InformationClass != InfoClass)
|
||||
@@ -1804,7 +1806,7 @@ namespace C4IT.DataHistoryProvider
|
||||
{
|
||||
foreach (var Table in Collector.ClusterConfig.Tables.Values)
|
||||
{
|
||||
if (!(Table.ParentCluster.Origin == eDataHistoryOrigin.NexthinkNxql))
|
||||
if (!(Table.ParentCluster.Origin == enumDataHistoryOrigin.NexthinkNxql))
|
||||
continue;
|
||||
|
||||
if (Table.Cached == eDataHistoryTableCached.No && FileSavePath == null)
|
||||
|
||||
Reference in New Issue
Block a user