check point
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Configuration;
|
||||
|
||||
public class BadTweakLearning
|
||||
{
|
||||
public bool Enabled { get; set; } = false;
|
||||
public int ThresholdLevel { get; set; } = 80;
|
||||
|
||||
public void Save(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Enabled);
|
||||
bw.Write(ThresholdLevel);
|
||||
}
|
||||
|
||||
public void Load(BinaryReader br)
|
||||
{
|
||||
Enabled = br.ReadBoolean();
|
||||
ThresholdLevel = br.ReadInt32();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user