mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
Added missing third constuctor to EventArgs classes for JsonToSimpl
This commit is contained in:
parent
4fc70731c1
commit
c58a2633de
2 changed files with 23 additions and 1 deletions
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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.*")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue