Code:
public struct Wynik { public Byte[] Bytes; ////////////////////////////////////// public Int32 Value { get { return BitConverter.ToInt32(Bytes, 0); } set { BitConverter.GetBytes(value).CopyTo(Bytes, 0); } } public Int32 ValueFromADC { get { return BitConverter.ToInt32(Bytes, 4);
Leave a comment: