hawkeye camera support(not tested)
This commit is contained in:
25
Hawkeye.VisionBuilder.UI.Sources.Hawkeye/HawkeyeSettings.cs
Normal file
25
Hawkeye.VisionBuilder.UI.Sources.Hawkeye/HawkeyeSettings.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Inspectron.Settings;
|
||||
using Inspectron.Settings.Attributes;
|
||||
using VisionBuilder.UI.Common;
|
||||
|
||||
namespace Hawkeye.VisionBuilder.UI.Sources.Hawkeye;
|
||||
|
||||
public class HawkeyeSettings(string CameraName): ISettings
|
||||
{
|
||||
|
||||
|
||||
|
||||
public string Adapter { get; set; }="192.168.1.100";
|
||||
|
||||
[File("*.jcnf")]
|
||||
public string SettingsFile { get; set; }
|
||||
|
||||
|
||||
public void RegisterSettings(InspectronSettings settings)
|
||||
{
|
||||
settings.RegisterSimple(this, () => Adapter, $"{CameraName}/Sources/Hawkeye", nameof(Adapter));
|
||||
settings.RegisterSimple(this, () => SettingsFile, $"{CameraName}/Sources/Hawkeye", nameof(SettingsFile));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user