Ejemplo n.º 1
0
        public TagType(byte id, string name, Type type, TagByteEventHandler bytesConverter, TagTypeEventHandler typeConverter, int length)
        {
            this.Identifier     = id;
            this.Name           = name;
            this.DataType       = type;
            this.BytesConverter = bytesConverter;
            this.TypeConverter  = typeConverter;
            this.Length         = length;

            TagTypes.Add(this);
        }
Ejemplo n.º 2
0
 public TagType(byte id, string name, Type type, TagByteEventHandler bytesConverter, TagTypeEventHandler typeConverter) : this(id, name, type, bytesConverter, typeConverter, -1)
 {
 }