Commit Graph
37 Commits
Author SHA1 Message Date
zlm 9f36b37485 fix: before-quit uses HTTP shutdown, no kill 2026-06-10 15:49:28 +08:00
zlm 302472d881 refactor: compile backend with tsc, Electron runs dist/index.js 2026-06-10 15:43:23 +08:00
zlm a31c047091 fix: flush log stream before exit in shutdown 2026-06-10 15:23:20 +08:00
zlm 5d5cd25cf5 revert: back to stdio ignore 2026-06-10 15:18:49 +08:00
zlm d95db24c8e fix: pipe via console.log with --enable-logging 2026-06-10 15:17:05 +08:00
zlm 3f40697795 fix: pipe backend logs to Electron terminal 2026-06-10 15:13:30 +08:00
zlm 3436d5bb6a fix: http.get error handler, separate stop/exit kill logic 2026-06-10 15:08:49 +08:00
zlm 1e92cc85fe feat: graceful shutdown via /api/shutdown 2026-06-10 15:01:03 +08:00
zlm 44e03d8e9a fix: native tray menu, direct node spawn, proper process kill 2026-06-10 14:54:55 +08:00
zlm ab8d7b61a2 refactor: custom popup menu with CSS styles, fix start/stop state 2026-06-10 14:47:30 +08:00
zlm 08974f0352 fix: 16x16 icon, start/stop buttons with state 2026-06-10 14:41:18 +08:00
zlm a1edf16c58 simplify: pure JS tray launcher, spawn npm run start 2026-06-10 14:34:02 +08:00
zlm 1ad9a59f76 refactor: B2 - in-process backend load (no spawn) 2026-06-10 14:18:18 +08:00
zlm 4e02b8605d fix: remove hardcoded SKIP_PLC=1, respect .env 2026-06-10 13:55:54 +08:00
zlm 8515ab471b fix: use npx instead of process.execPath for backend subprocess 2026-06-10 13:52:19 +08:00
zlm 80e9363ba5 fix: replace app.isQuitting with module-level let isQuitting 2026-06-10 13:47:40 +08:00
zlm 13aead949b refactor: Electron desktop app with tray + log window 2026-06-10 13:28:43 +08:00
zlm ecec178400 fix: auto-create data/ directory in connection.ts 2026-06-10 13:15:14 +08:00
zlm 4656203e4d fix: use shell=True on Windows for npx.cmd 2026-06-10 12:21:52 +08:00
zlm c69358c317 update 2026-06-10 12:19:52 +08:00
zlm 59320571a7 refactor: replace Electron with Python system tray (pystray) 2026-06-10 12:19:14 +08:00
zlm 6aa2320ece docs: add desktop entry in README 2026-06-10 11:18:45 +08:00
zlm f49f6dcd3e feat: add Electron desktop app with tray + log window 2026-06-10 11:18:10 +08:00
zlm aebca40edf docs: update README with new features, .env config, test tool 2026-06-10 10:56:29 +08:00
zlm cf3d482646 feat: PLC failover state machine with TCP probe 2026-06-10 09:54:23 +08:00
zlm feaa4a027a feat: test_snap7.py add --unqualified flag 2026-06-10 09:38:14 +08:00
zlm 6eada3fc29 feat: test_snap7.py add --prev-req flag for PrevResultReq 2026-06-10 09:34:37 +08:00
zlm a149215819 fix: station lookup by position (OFFSET) instead of StationIndex 2026-06-10 09:29:15 +08:00
zlm 81e85944d5 refactor: test_snap7.py with CLI args (--station, --product-id, --upper, etc.) 2026-06-10 09:24:11 +08:00
zlm 9107fb2f4f chore: remove duplicate .env.example at root 2026-06-10 09:16:36 +08:00
zlm 786c063e4a feat: add .env config file (POLL_INTERVAL_MS, PORT, LOG_LEVEL) 2026-06-10 09:16:30 +08:00
zlm 11b79075a5 refactor: simplify startup logs, batch DB read, remove per-read log 2026-06-10 09:13:34 +08:00
zlm 33d5442941 feat: split config page into sub-tabs (MP / PLC) 2026-06-10 08:56:43 +08:00
zlm 6860e52579 feat: add daily rotating log files (7-day retention) 2026-06-10 08:50:43 +08:00
zlm d9d03a5ef6 docs: add mermaid flowcharts 2026-06-09 14:38:53 +08:00
zlm 5166df13f6 docs: add comprehensive README 2026-06-09 14:36:42 +08:00
zlm ae90bc9368 init: PLC data collection system 2026-06-09 14:32:13 +08:00