Added missing third constuctor to EventArgs classes for JsonToSimpl

This commit is contained in:
Neil Dorin
2019-02-07 14:21:48 -07:00
parent 4fc70731c1
commit c58a2633de
2 changed files with 23 additions and 1 deletions

View File

@@ -57,6 +57,13 @@ namespace PepperDash.Core.JsonToSimpl
State = state; State = state;
Type = type; Type = type;
} }
public BoolChangeEventArgs(bool state, ushort type, ushort index)
{
State = state;
Type = type;
Index = index;
}
} }
//**************************************************************************************************// //**************************************************************************************************//
@@ -75,6 +82,13 @@ namespace PepperDash.Core.JsonToSimpl
IntValue = intValue; IntValue = intValue;
Type = type; Type = type;
} }
public UshrtChangeEventArgs(ushort intValue, ushort type, ushort index)
{
IntValue = intValue;
Type = type;
Index = index;
}
} }
//**************************************************************************************************// //**************************************************************************************************//
@@ -93,5 +107,13 @@ namespace PepperDash.Core.JsonToSimpl
StringValue = stringValue; StringValue = stringValue;
Type = type; Type = type;
} }
public StringChangeEventArgs(string stringValue, ushort type, ushort index)
{
StringValue = stringValue;
Type = type;
Index = index;
}
} }
} }

View File

@@ -4,4 +4,4 @@
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Pepperdash_Core")] [assembly: AssemblyProduct("Pepperdash_Core")]
[assembly: AssemblyCopyright("Copyright © PepperDash 2016")] [assembly: AssemblyCopyright("Copyright © PepperDash 2016")]
[assembly: AssemblyVersion("1.0.11.*")] [assembly: AssemblyVersion("1.0.12.*")]