35 lines
633 B
C#
35 lines
633 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using AR;
|
|
|
|
namespace Project
|
|
{
|
|
public class CSetting : AR.Setting
|
|
{
|
|
#region "swplc"
|
|
public string swplc_name { get; set; }
|
|
public int swplc_size { get; set; }
|
|
#endregion
|
|
|
|
public CSetting()
|
|
{
|
|
|
|
}
|
|
|
|
public override void AfterLoad()
|
|
{
|
|
if (swplc_size < 1) swplc_size = 100;
|
|
if (swplc_name.isEmpty()) swplc_name = "swplc";
|
|
|
|
}
|
|
|
|
public override void AfterSave()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|