From b39d94c592a6287e76337afc4be8ed0524a93496 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 11 二月 2025 14:34:56 +0800
Subject: [PATCH] 修正场所分析的配置参数
---
db/db.go | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/db/db.go b/db/db.go
index 7a108d7..a71ef97 100644
--- a/db/db.go
+++ b/db/db.go
@@ -241,15 +241,15 @@
Scope: "",
RuleArg: RuleArg{
Alias: "duration",
- Name: "鏃堕棿娈�",
+ Name: "鐩戞帶鏃堕棿",
Type: "input",
- Must: false,
- Unit: "澶�",
- Range: "1,2400",
+ Must: true,
+ Unit: "澶╁唴",
+ Range: "1,60",
Value: "30",
ValType: "int",
- Operator: ">=",
- Sort: 2,
+ Operator: "==",
+ Sort: 1,
},
},
{
@@ -257,16 +257,16 @@
ModelId: ModelIdLocationAnalysis,
Scope: "",
RuleArg: RuleArg{
- Alias: "personCount",
- Name: "鍑虹幇浜烘暟",
- Type: "input",
+ Alias: "timeRange",
+ Name: "鍑虹幇鏃堕棿",
+ Type: "range",
Must: true,
- Unit: "涓�",
- Range: "1,100",
- Value: "1, 90",
+ Unit: "鐐�",
+ Range: "0,23",
+ Value: "9,10",
ValType: "int",
- Operator: ">=",
- Sort: 0,
+ Operator: "==",
+ Sort: 2,
},
},
{
@@ -278,12 +278,12 @@
Name: "鍑虹幇娆℃暟",
Type: "input",
Must: true,
- Unit: "",
+ Unit: "娆�",
Range: "",
Value: "",
ValType: "int",
Operator: ">=",
- Sort: 1,
+ Sort: 0,
},
},
--
Gitblit v1.8.0