simulated.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "mode": "simulated",
  3. "listen": "127.0.0.1:50051",
  4. "data_dir": "../var/simulated",
  5. "telemetry_interval_s": 0.25,
  6. "max_upload_bytes": 268435456,
  7. "max_chunk_bytes": 262144,
  8. "profile_files": [
  9. "profiles/sim-cxmt.json"
  10. ],
  11. "stations": [
  12. {
  13. "station_id": "S1",
  14. "frontend_index": 0,
  15. "name": "工位 001",
  16. "mode": "simulated",
  17. "cpu_count": 2,
  18. "channels_per_cpu": 12,
  19. "target_min_c": 0,
  20. "target_max_c": 100,
  21. "simulation": {
  22. "step_delay_s": 0.15,
  23. "mt_duration_s": 2.0
  24. }
  25. },
  26. {
  27. "station_id": "S2",
  28. "frontend_index": 1,
  29. "name": "工位 002",
  30. "mode": "simulated",
  31. "cpu_count": 2,
  32. "channels_per_cpu": 12,
  33. "target_min_c": 0,
  34. "target_max_c": 100,
  35. "simulation": {
  36. "step_delay_s": 0.15,
  37. "mt_duration_s": 2.0
  38. }
  39. },
  40. {
  41. "station_id": "S3",
  42. "frontend_index": 2,
  43. "name": "工位 003",
  44. "mode": "simulated",
  45. "cpu_count": 2,
  46. "channels_per_cpu": 12,
  47. "target_min_c": 0,
  48. "target_max_c": 100,
  49. "simulation": {
  50. "step_delay_s": 0.15,
  51. "mt_duration_s": 2.0
  52. }
  53. },
  54. {
  55. "station_id": "S4",
  56. "frontend_index": 3,
  57. "name": "工位 004",
  58. "mode": "simulated",
  59. "cpu_count": 2,
  60. "channels_per_cpu": 12,
  61. "target_min_c": 0,
  62. "target_max_c": 100,
  63. "simulation": {
  64. "step_delay_s": 0.15,
  65. "mt_duration_s": 2.0
  66. }
  67. }
  68. ],
  69. "recipes": [
  70. {
  71. "recipe_id": "DEMO-80",
  72. "name": "四工位模拟:默认 UIP 参数(80℃为示例)",
  73. "revision": 1,
  74. "profile_id": "sim-cxmt",
  75. "dimm_target_c": 80.0,
  76. "preheat_air_c": 70.0,
  77. "preheat_hold_s": 0.2,
  78. "preheat_timeout_s": 30.0,
  79. "phase_timeout_s": 30.0,
  80. "finish_timeout_s": 5.0,
  81. "run_rmt": true,
  82. "run_amt": true,
  83. "run_mt": true,
  84. "stage1_commands": [],
  85. "firmware_settings": {"uip_overrides": [], "mt_selection": {}},
  86. "mt_command": "memtest.efi {run_id}",
  87. "required_artifact_kinds": [
  88. "result_json"
  89. ],
  90. "notes": "默认不发送 UIP 参数覆盖;在 UIP 页面明确选择后保存或应用。温度数值仅用于模拟演示。",
  91. "stop_on_test_error": true,
  92. "metadata": {}
  93. }
  94. ]
  95. }