You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
using System.Collections.Generic; |
|
using System.Linq; |
|
|
|
namespace Kingo.Plugin.DataCheck.Helper |
|
{ |
|
public class BGQDataCheckHelper : DataCheckHelper |
|
{ |
|
public BGQDataCheckHelper() |
|
{ |
|
ActiveTitle = "请点击“开始检查”按钮进行数据质量检查"; |
|
DataCheckName = "BGQDataCheck"; |
|
CheckGroup = new List<DataCheckRuleGroup>(); |
|
//CheckGroup.Add(new BGQDataCheckGroup());//值域规范性检查/属性逻辑检查 |
|
//CheckGroup.Add(new BGQGraphicCheckGroup());//变更图斑图形检查 |
|
//CheckGroup.Add(new BGQDataTopoCheckGroup());//变更图斑与基础库套合检查 |
|
} |
|
|
|
public override int ErrorNum |
|
{ |
|
get |
|
{ |
|
return CheckGroup.Sum(s => s.ErrorNum); |
|
} |
|
} |
|
|
|
public override int WaringNum |
|
{ |
|
get |
|
{ |
|
return CheckGroup.Sum(s => s.WaringNum); |
|
} |
|
} |
|
|
|
public override int ExceptionNum |
|
{ |
|
get |
|
{ |
|
return CheckGroup.Sum(s => s.ExceptionNum); |
|
} |
|
} |
|
} |
|
}
|
|
|