summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-27 14:05:10 +0200
committeremkael <emkael@tlen.pl>2017-07-27 14:05:10 +0200
commita9d27450cf24bb937d1b9f96d0a40e4a94578f38 (patch)
tree42725fbcf8b8c6237aaead5848adaadc68279f01
parentccac4f82996ef1a086de2b94dbac981bf9794494 (diff)
Version numbers associated with BWS settings
-rw-r--r--Aktywator/Bws.cs48
-rw-r--r--Aktywator/Setting.cs6
2 files changed, 29 insertions, 25 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 5d6e063..14a97ad 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -81,30 +81,30 @@ namespace Aktywator
public void initSettings()
{
settings = new List<Setting>();
- settings.Add(new Setting("ShowResults", main.xShowResults, this));
- settings.Add(new Setting("RepeatResults", main.xRepeatResults, this));
- settings.Add(new Setting("ShowPercentage", main.xShowPercentage, this));
- //settings.Add(new Setting("GroupSections", main.xGroupSections, this));
- settings.Add(new Setting("ShowPairNumbers", main.xShowPairNumbers, this));
- settings.Add(new Setting("IntermediateResults", main.xIntermediateResults, this));
- settings.Add(new Setting("ShowContract", main.xShowContract, this));
- settings.Add(new Setting("LeadCard", main.xLeadCard, this));
- settings.Add(new Setting("MemberNumbers", main.xMemberNumbers, this));
- settings.Add(new Setting("MemberNumbersNoBlankEntry", main.xMemberNumbersNoBlankEntry, this));
- settings.Add(new Setting("BoardOrderVerification", main.xBoardOrderVerification, this));
- settings.Add(new Setting("AutoShutDownBPC", main.xAutoShutDownBPC, this));
- settings.Add(new Setting("BM2ConfirmNP", main.xConfirmNP, this));
- settings.Add(new Setting("BM2RemainingBoards", main.xRemainingBoards, this));
- settings.Add(new Setting("BM2NextSeatings", main.xNextSeatings, this));
- settings.Add(new Setting("BM2ScoreRecap", main.xScoreRecap, this));
- settings.Add(new Setting("BM2AutoShowScoreRecap", main.xAutoShowScoreRecap, this));
- settings.Add(new Setting("BM2ScoreCorrection", main.xScoreCorrection, this));
- settings.Add(new Setting("BM2AutoBoardNumber", main.xAutoBoardNumber, this));
- settings.Add(new Setting("BM2ResetFunctionKey", main.xResetFunctionKey, this));
- settings.Add(new Setting("BM2ViewHandrecord", main.xViewHandrecord, this));
- settings.Add(new Setting("BM2RecordBidding", main.xCollectBidding, this));
- settings.Add(new Setting("BM2RecordPlay", main.xCollectPlay, this));
- settings.Add(new Setting("BM2ValidateLeadCard", main.xCheckLeadCard, this));
+ settings.Add(new Setting("ShowResults", main.xShowResults, this, new Version(2, 0, 0), new Version(1, 3, 1)));
+ settings.Add(new Setting("RepeatResults", main.xRepeatResults, this, null, null));
+ settings.Add(new Setting("ShowPercentage", main.xShowPercentage, this, null, null));
+ //settings.Add(new Setting("GroupSections", main.xGroupSections, this, null, null));
+ settings.Add(new Setting("ShowPairNumbers", main.xShowPairNumbers, this, null, null));
+ settings.Add(new Setting("IntermediateResults", main.xIntermediateResults, this, null, new Version(1, 4, 1)));
+ settings.Add(new Setting("ShowContract", main.xShowContract, this, null, null));
+ settings.Add(new Setting("LeadCard", main.xLeadCard, this, null, null));
+ settings.Add(new Setting("MemberNumbers", main.xMemberNumbers, this, null, null));
+ settings.Add(new Setting("MemberNumbersNoBlankEntry", main.xMemberNumbersNoBlankEntry, this, null, null));
+ settings.Add(new Setting("BoardOrderVerification", main.xBoardOrderVerification, this, null, null));
+ settings.Add(new Setting("AutoShutDownBPC", main.xAutoShutDownBPC, this, new Version(1, 7, 15), null));
+ settings.Add(new Setting("BM2ConfirmNP", main.xConfirmNP, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2RemainingBoards", main.xRemainingBoards, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2NextSeatings", main.xNextSeatings, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2ScoreRecap", main.xScoreRecap, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2AutoShowScoreRecap", main.xAutoShowScoreRecap, this, new Version(2, 5, 1), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2ScoreCorrection", main.xScoreCorrection, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2AutoBoardNumber", main.xAutoBoardNumber, this, new Version(2, 0, 0), new Version(2, 0, 1)));
+ settings.Add(new Setting("BM2ResetFunctionKey", main.xResetFunctionKey, this, new Version(2, 0, 0), new Version(1, 0, 1)));
+ settings.Add(new Setting("BM2ViewHandrecord", main.xViewHandrecord, this, new Version(2, 6, 1), new Version(1, 6, 1)));
+ settings.Add(new Setting("BM2RecordBidding", main.xCollectBidding, this, new Version(2, 0, 0), new Version(1, 3, 1)));
+ settings.Add(new Setting("BM2RecordPlay", main.xCollectPlay, this, new Version(2, 0, 0), new Version(1, 3, 1)));
+ settings.Add(new Setting("BM2ValidateLeadCard", main.xCheckLeadCard, this, new Version(3, 2, 1), new Version(2, 2, 1)));
}
private string getSectionList(string table)
diff --git a/Aktywator/Setting.cs b/Aktywator/Setting.cs
index 45d6b58..d31a452 100644
--- a/Aktywator/Setting.cs
+++ b/Aktywator/Setting.cs
@@ -14,12 +14,16 @@ namespace Aktywator
public string table;
public CheckBox field;
private Bws bws;
+ public Version bcsV;
+ public Version fwV;
- public Setting(string name, CheckBox field, Bws bws)
+ public Setting(string name, CheckBox field, Bws bws, Version bcsVersion, Version firmwareVersion)
{
this.name = name;
this.field = field;
this.bws = bws;
+ this.bcsV = bcsVersion;
+ this.fwV = firmwareVersion;
}
public void load()