check point
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Configuration;
|
||||
|
||||
public class RecipeSelectionConfig
|
||||
{
|
||||
public bool SerialEnabled { get; set; } = false;
|
||||
public string ComPort { get; set; } = "COM3";
|
||||
|
||||
public void Save(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(SerialEnabled);
|
||||
bw.Write(ComPort);
|
||||
}
|
||||
|
||||
public void Load(BinaryReader br)
|
||||
{
|
||||
SerialEnabled = br.ReadBoolean();
|
||||
ComPort = br.ReadString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user