From ef75346ebe57d56cec0c33ad5abd8b2aa218da95 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期六, 18 四月 2026 12:29:32 +0800
Subject: [PATCH] 修改相机运动轴参数读取配置
---
LB_SmartVision/GlobalVar.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/LB_SmartVision/GlobalVar.cs b/LB_SmartVision/GlobalVar.cs
index 473e960..8709dc9 100644
--- a/LB_SmartVision/GlobalVar.cs
+++ b/LB_SmartVision/GlobalVar.cs
@@ -77,16 +77,18 @@
/// <summary>
/// 杩愬姩鎺ф暟鎹埗闆嗗悎 Key:浜у搧鍚嶇О锛孷alue: SN,PlcConfig
/// </summary>
- public static Dictionary<string, Dictionary<string, PlcConfig>> dicMPlcData { get; set; } = new Dictionary<string, Dictionary<string, PlcConfig>>();
+ public static Dictionary<string, Dictionary<string, PlcConfig>> dicMPlcDatas { get; set; } = new Dictionary<string, Dictionary<string, PlcConfig>>();
+
+ public static string allMPlcDatasPath
+ => GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName + "\\A_MPlcDatas.json";//
public static string allMPlcDataPath
- => GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName + "\\A_MPlcDatas.json";
-
+ => GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName + "\\MotionControl";
public static Dictionary<string, PlcConfig> allPlcSettings { get; set; } = new Dictionary<string, PlcConfig>();
public static string allPlcSettingPath
- => GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName /*+ "\\A_PlcSetting.json"*/;
+ => GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName/*+ "\\A_PlcSetting.json"*/;
public static string allPlcSettingsPath
=> GlobalVar.strApplicationPath + "鎵�鏈変骇鍝乗\" + GlobalVar.strProductName + "\\A_PlcSettings.json";
--
Gitblit v1.9.3