hawkeye camera support(not tested)

This commit is contained in:
meelstorm
2025-08-19 12:45:50 +02:00
parent f80b275ad8
commit 6ef6aced8d
170 changed files with 20190 additions and 72 deletions

View File

@@ -44,4 +44,20 @@ public class ThresholdMinMaxOperation : BaseOperation
ThresholdMin.Script = br.ReadString();
ThresholdMax.Script = br.ReadString();
}
public override void Save(Dictionary<string, object> dict)
{
base.Save(dict);
dict[nameof(ThresholdMin)] = ThresholdMin.Script;
dict[nameof(ThresholdMax)] = ThresholdMax.Script;
}
public override void Load(Dictionary<string, object> dict)
{
base.Load(dict);
if (dict.ContainsKey(nameof(ThresholdMin)))
ThresholdMin.Script = dict[nameof(ThresholdMin)].ToString();
if (dict.ContainsKey(nameof(ThresholdMax)))
ThresholdMax.Script = dict[nameof(ThresholdMax)].ToString();
}
}