stgGatherUtils.pas 541 B

12345678910111213141516171819202122232425
  1. unit stgGatherUtils;
  2. interface
  3. uses
  4. stgGatherCacheData;
  5. function GetErrorTypeText(AErrorType: Integer): string;
  6. implementation
  7. function GetErrorTypeText(AErrorType: Integer): string;
  8. begin
  9. case AErrorType of
  10. iErrorXmjAdd: Result := sErrorXmjAdd;
  11. iErrorXmjDiff: Result := sErrorXmjDiff;
  12. iErrorXmjLess: Result := sErrorXmjLess;
  13. iErrorGclAdd: Result := sErrorGclAdd;
  14. iErrorGclDiff: Result := sErrorGclDiff;
  15. iErrorGclMore: Result := sErrorGclMore;
  16. iErrorGclLess: Result := sErrorGclLess;
  17. end;
  18. end;
  19. end.