hawkeye camera support(not tested)
This commit is contained in:
@@ -122,4 +122,17 @@ public class AnomalyAI: BaseOperation
|
||||
_modelFilePath.Format = br.ReadString();
|
||||
|
||||
}
|
||||
|
||||
public override void Save(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Save(dict);
|
||||
dict[nameof(ModelFilePath)] = ModelFilePath.Path;
|
||||
}
|
||||
|
||||
public override void Load(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Load(dict);
|
||||
if (dict.ContainsKey(nameof(ModelFilePath)))
|
||||
ModelFilePath.Path = dict[nameof(ModelFilePath)].ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user