From 8633a0b6e52d9899fda4f3ec2decc1c39b960e5f Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期二, 27 五月 2025 14:42:00 +0800
Subject: [PATCH] 恢复拍照模块,优化任务号生成机制

---
 device/SnapManager.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/device/SnapManager.cs b/device/SnapManager.cs
index 3a647a3..625a39b 100644
--- a/device/SnapManager.cs
+++ b/device/SnapManager.cs
@@ -11,10 +11,13 @@
             if (_snapDevice == null) {
                 _snapDevice = new SnapDevice();
             }
-            _snapDevice.LoadInfo(snap);
+            _snapDevice.LoadInfo(snap); // SNAP
         }
 
         public static string GetCapturePicturePath() {
+            //return string.Empty;
+            // SNAP
+
             DateTime now = DateTime.Now;
             string path = Settings.CaptureUrl;
             string fileName = string.Format("{0}{1}{2}{3}{4}{5}", now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second) + ".jpg";

--
Gitblit v1.9.1