..
This commit is contained in:
@@ -12,7 +12,10 @@ namespace AR
|
||||
{
|
||||
public class CommonSetting : Setting
|
||||
{
|
||||
|
||||
public CommonSetting()
|
||||
{
|
||||
this.filename = UTIL.MakePath("Data", "Setting.xml");
|
||||
}
|
||||
public string WebAPI_R1 { get; set; }
|
||||
public string WebAPI_R2 { get; set; }
|
||||
public string WebAPI_R3 { get; set; }
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace AR
|
||||
|
||||
public CounterSetting()
|
||||
{
|
||||
this.filename = AR.UTIL.CurrentPath + "counter.xml";
|
||||
this.filename = AR.UTIL.MakePath("Data", "counter.xml");
|
||||
}
|
||||
public override void AfterLoad()
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AR
|
||||
#endregion
|
||||
|
||||
#region "Signal Reverse"
|
||||
|
||||
|
||||
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_Emgergency { get; set; }
|
||||
@@ -47,8 +47,8 @@ namespace AR
|
||||
#endregion
|
||||
|
||||
|
||||
[Category("Door Safty"),DisplayName("Disable Front - Left")]
|
||||
|
||||
[Category("Door Safty"), DisplayName("Disable Front - Left")]
|
||||
|
||||
public Boolean Disable_safty_F0 { get; set; }
|
||||
[Category("Door Safty"), DisplayName("Disable Front - Center")]
|
||||
|
||||
@@ -68,11 +68,11 @@ namespace AR
|
||||
|
||||
public SystemSetting()
|
||||
{
|
||||
this.filename = UTIL.CurrentPath + "system.xml";
|
||||
this.filename = UTIL.MakePath("Data", "system.xml");
|
||||
}
|
||||
public override void AfterLoad()
|
||||
{
|
||||
MotaxisCount = 7;
|
||||
MotaxisCount = 7;
|
||||
}
|
||||
public override void AfterSave()
|
||||
{
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace AR
|
||||
public bool useConv { get; set; }
|
||||
public UserSetting()
|
||||
{
|
||||
this.filename = AppDomain.CurrentDomain.BaseDirectory + "UserSet.xml";
|
||||
this.filename = UTIL.MakePath("data", "UserSet.xml");
|
||||
}
|
||||
|
||||
public override void AfterLoad()
|
||||
|
||||
Reference in New Issue
Block a user