Wid110LibConstDevel.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.OcrReaders.IOSS
  7. {
  8. static class Wid110LibConstDev
  9. {
  10. // ====================================================================
  11. /// <summary>
  12. /// Constants that should be used overall WID119 library software.
  13. /// </summary>
  14. // ====================================================================
  15. // local system resources
  16. //
  17. #if SOUNDCHECK
  18. public static string sndChk = "C:\\windows\\system32\\ALSNDMGR.WAV";
  19. #endif
  20. #if LOAD_DLL
  21. #if DEBUG
  22. public static string dllPath = ".\\lib_dbg";
  23. #else
  24. public static string dllPath = ".\\lib_rel";
  25. #endif
  26. public static string dllName = "wid110Lib_clr.dll";
  27. public static string dllClass = "CWID110Dll_clr";
  28. #endif
  29. // connect and log button text
  30. //
  31. public static string cbtnConn = "Connect";
  32. public static string cbtnCong = "Connecting";
  33. public static string cbtnDisc = "Disconnect";
  34. public static string lbtnLog = "Log";
  35. public static string lbtnNoLog = "no Log";
  36. // code names
  37. //
  38. public static string codeOCR = "OCR";
  39. public static string codeBCR = "BCR";
  40. public static string codeDMR = "DMR";
  41. public static string codeLAST = "LAST";
  42. // color names
  43. //
  44. public static string colRED = "RED";
  45. public static string colGREEN = "GREEN";
  46. public static string colBLUE = "BLUE";
  47. // channel names
  48. //
  49. public static string chanBRIGHT = "BRIGHTFIELD";
  50. public static string chanFOCUS = "FOCUSED";
  51. public static string chanINNER = "INNER ROW";
  52. public static string chanOUTER = "OUTER ROW";
  53. public static string chanALL = "ALL ROWS";
  54. // image type selectors
  55. //
  56. public static int imgBEST = 0;
  57. public static int imgALL = 1;
  58. }
  59. }