public static ushort GetParam1(ref GeolayoutCommand command) { command.Position = 0x2; ushort value = command.ReadUInt16(); command.Position = 0; return(value); }