This commit is contained in:
2021-09-30 18:23:11 +01:00
parent c2d2d7f674
commit 46b90cea74
73 changed files with 1621 additions and 793 deletions
+15
View File
@@ -19,6 +19,8 @@ namespace Saxonite.Net.Standard.Base.Bus
Pos,
Id,
Name,
SpecialityLabel,
SpecialityLabel_Desc,
// Associated data.
// Common.
Notes,
@@ -35,6 +37,7 @@ namespace Saxonite.Net.Standard.Base.Bus
public class DataProperties
{
public String Name { get; set; } = String.Empty;
public Sax.SportSpecialityLabel SpecialityLabel { get; set; }
}
//-------------------------------------------------------------------
@@ -54,10 +57,16 @@ namespace Saxonite.Net.Standard.Base.Bus
get { return data.Name; }
set { CheckChanged(data.Name, value); data.Name = value; }
}
public Sax.SportSpecialityLabel SpecialityLabel
{
get { return data.SpecialityLabel; }
set { CheckChanged((short)data.SpecialityLabel, (short)value); data.SpecialityLabel = value; }
}
// Population.
internal void PopulateFrom (Data data)
{
Name = data.Name;
SpecialityLabel = data.SpecialityLabel;
base.PopulateFrom(data);
}
public Data Clone ()
@@ -74,6 +83,7 @@ namespace Saxonite.Net.Standard.Base.Bus
{
// Identifies the field that has invalid data.
public ValidValue Name { get; set; } = ValidValue.Valid;
public ValidValue SpecialityLabel { get; set; } = ValidValue.Valid;
}
//-------------------------------------------------------------------
@@ -129,6 +139,11 @@ namespace Saxonite.Net.Standard.Base.Bus
get { return data.Name; }
set { data.Name = value; }
}
public Sax.SportSpecialityLabel SpecialityLabel
{
get { return data.SpecialityLabel; }
set { data.SpecialityLabel = value; }
}
//-------------------------------------------------------------------
// Flags - positions 1-16 available.