This commit is contained in:
chi
2025-04-23 09:57:01 +09:00
parent 5d286d5179
commit 9d2467d50a
8 changed files with 178 additions and 116 deletions

25
sample/Settings.cs Normal file
View File

@@ -0,0 +1,25 @@
using AR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleProject
{
public class Settings : AR.Setting
{
public string LastPort { get; set; }
public string LastBaud { get; set; }
public override void AfterLoad()
{
// throw new NotImplementedException();
if (LastBaud.isEmpty()) LastBaud = "9600";
}
public override void AfterSave()
{
// throw new NotImplementedException();
}
}
}