hawkeye camera support(not tested)
This commit is contained in:
@@ -35,4 +35,17 @@ public class GetChannelOperation: BaseOperation
|
||||
base.Load(br);
|
||||
Channel = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void Save(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Save(dict);
|
||||
dict[nameof(Channel)] = Channel;
|
||||
}
|
||||
|
||||
public override void Load(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Load(dict);
|
||||
if (dict.ContainsKey(nameof(Channel)))
|
||||
Channel = Convert.ToInt32(dict[nameof(Channel)]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user