CCD_Mapping_Def.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "",
  3. "code": "",
  4. "model": "",
  5. "type": "",
  6. "props": [{
  7. "deviceId": ""
  8. }],
  9. "settings": [{
  10. "name": "CofFileA",
  11. "text": "系数文件A",
  12. "dataType": "string",
  13. "readonly": false,
  14. "inputType": "Text"
  15. },
  16. {
  17. "name": "CofFileB",
  18. "text": "系数文件B",
  19. "dataType": "string",
  20. "readonly": false,
  21. "inputType": "Text"
  22. },
  23. {
  24. "name": "CompensationFile",
  25. "text": "补偿文件",
  26. "dataType": "string",
  27. "readonly": false,
  28. "inputType": "Text"
  29. },
  30. {
  31. "name": "Gauge",
  32. "text": "针规值",
  33. "dataType": "double",
  34. "readonly": false,
  35. "inputType": "double"
  36. },
  37. {
  38. "name": "GapValue",
  39. "text": "间隙值",
  40. "dataType": "double",
  41. "readonly": false,
  42. "inputType": "double"
  43. },
  44. {
  45. "name": "Mode",
  46. "text": "工作模式",
  47. "dataType": "string",
  48. "readonly": false,
  49. "inputType": "DropDownList",
  50. "dataSource": {
  51. "props": {
  52. "selected": 1,
  53. "dataSource": "json",
  54. "option": [{
  55. "label": "DoubleEdge",
  56. "value": 1
  57. },
  58. {
  59. "label": "SingleEdge",
  60. "value": 2
  61. }]
  62. }
  63. }
  64. }],
  65. "inputs": ["XXDevice.Data1",
  66. "XXDevice.Data2"],
  67. "args": [{
  68. "name": "x",
  69. "value": 100
  70. },
  71. {
  72. "name": "y",
  73. "value": 200
  74. }],
  75. "outputs": [{
  76. "name": "diameter",
  77. "code": "diameter",
  78. "display": "直径",
  79. "description": ""
  80. }],
  81. "expression": ""
  82. }