修改Camera类的ModifyConfigToolStripMenuItem_Click方法,在重新加载Camera自己的配置后,触发DeviceManager重新加载配置。
This commit is contained in:
@@ -3389,6 +3389,12 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
// 重新加载测温区和温差数据,应用新的配置
|
// 重新加载测温区和温差数据,应用新的配置
|
||||||
LoadZoneConfig();
|
LoadZoneConfig();
|
||||||
LoadTemperatureDiffConfig();
|
LoadTemperatureDiffConfig();
|
||||||
|
|
||||||
|
// 触发DeviceManager重新加载配置,确保DeviceManager使用最新的测温区配置
|
||||||
|
if (_deviceManager != null)
|
||||||
|
{
|
||||||
|
_deviceManager.ProjectPath = this.ProjectPath;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user