Add new check type: Check of object's location

This commit is contained in:
Joshua Ramon Enslin 2023-11-02 00:49:13 +01:00
parent 1108398437
commit be2f42677b
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 3 additions and 1 deletions

2
l18n

@ -1 +1 @@
Subproject commit 8a2501a62c581a86dd4e08191376974ae3a6d3bc Subproject commit 5c442b81159c31fab005a25c1020a5c2b6228aba

View File

@ -14,6 +14,7 @@ enum MDObjectCheckType implements MDValueEnumInterface, JsonSerializable {
case condition_check; case condition_check;
case completeness_check; case completeness_check;
case data_correctness_check; case data_correctness_check;
case location_accuracy_check;
/** /**
* Returns a value of this type based on a string. * Returns a value of this type based on a string.
@ -28,6 +29,7 @@ enum MDObjectCheckType implements MDValueEnumInterface, JsonSerializable {
'condition_check' => self::condition_check, 'condition_check' => self::condition_check,
'completeness_check' => self::completeness_check, 'completeness_check' => self::completeness_check,
'data_correctness_check' => self::data_correctness_check, 'data_correctness_check' => self::data_correctness_check,
'location_accuracy_check' => self::location_accuracy_check,
default => throw new MDpageParameterNotFromListException("Unknown check type"), default => throw new MDpageParameterNotFromListException("Unknown check type"),
}; };