mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 03:32:57 +00:00
TransmissionTypeIdentifier
This commit is contained in:
parent
c87ae22238
commit
87c27df7eb
@ -15,23 +15,23 @@ namespace Esiur.Data
|
||||
{
|
||||
public enum RepresentationTypeIdentifier
|
||||
{
|
||||
Void,
|
||||
Dynamic,
|
||||
Bool,
|
||||
Void = 0x0,
|
||||
Dynamic = 0x1,
|
||||
Bool = 0x2,
|
||||
UInt8,
|
||||
Int8,
|
||||
Char,
|
||||
Int16,
|
||||
UInt16,
|
||||
Int32,
|
||||
Int16,
|
||||
UInt32,
|
||||
Int32,
|
||||
Float32,
|
||||
Int64,
|
||||
UInt64,
|
||||
Int64,
|
||||
Float64,
|
||||
DateTime,
|
||||
Int128,
|
||||
UInt128,
|
||||
Int128,
|
||||
Decimal,
|
||||
String,
|
||||
RawData,
|
||||
|
@ -57,7 +57,16 @@ namespace Test
|
||||
{
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
var rp = RepresentationType.FromType(typeof(IMyRecord));
|
||||
|
||||
|
||||
var x = new uint[] {1,2};// new byte[1024];
|
||||
// var rr = DC.ToHex(Codec.Compose(aa, null));
|
||||
var y = Codec.Compose(x, null);
|
||||
var rr = DC.ToHex(y);
|
||||
|
||||
Console.WriteLine(rr);
|
||||
|
||||
var rp = RepresentationType.FromType(x.GetType());
|
||||
|
||||
var hhhh = Warehouse.GetTemplateByType(typeof(IMyRecord));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user