channelMap.js 700 B

12345678910111213141516171819202122232425262728293031323334353637
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.getMaxChannelByUiid = void 0;
  4. var channelMap = new Map([
  5. [2, 2],
  6. [3, 3],
  7. [4, 4],
  8. [7, 2],
  9. [8, 3],
  10. [9, 4],
  11. [77, 1],
  12. [78, 1],
  13. [112, 1],
  14. [113, 2],
  15. [114, 3],
  16. [126, 2],
  17. [138, 1],
  18. [139, 2],
  19. [140, 3],
  20. [141, 4],
  21. [133, 2],
  22. [138, 1],
  23. [181, 1],
  24. [2256, 2],
  25. [3256, 3],
  26. [4256, 4],
  27. [190, 1],
  28. [160, 1],
  29. [161, 2],
  30. [162, 3],
  31. [130, 4],
  32. [182, 1],
  33. ]);
  34. var getMaxChannelByUiid = function (uiid) {
  35. return channelMap.get(uiid) || 0;
  36. };
  37. exports.getMaxChannelByUiid = getMaxChannelByUiid;