public void Load(object value) { uint data = (uint)value; ACC = BufferUtils.GetBitValue(data, 0); Location = BufferUtils.GetBitValue(data, 1); Latitude = BufferUtils.GetBitValue(data, 2); Longitude = BufferUtils.GetBitValue(data, 3); Operate = BufferUtils.GetBitValue(data, 4); Encryption = BufferUtils.GetBitValue(data, 5); Keep6 = BufferUtils.GetBitValue(data, 6); Keep7 = BufferUtils.GetBitValue(data, 7); Keep8 = BufferUtils.GetBitValue(data, 8); Keep9 = BufferUtils.GetBitValue(data, 9); OilRoad = BufferUtils.GetBitValue(data, 10); ElectricityRoad = BufferUtils.GetBitValue(data, 11); DoorLock = BufferUtils.GetBitValue(data, 12); Keep13 = BufferUtils.GetBitValue(data, 13); Keep14 = BufferUtils.GetBitValue(data, 14); Keep15 = BufferUtils.GetBitValue(data, 15); Keep16 = BufferUtils.GetBitValue(data, 16); Keep17 = BufferUtils.GetBitValue(data, 17); Keep18 = BufferUtils.GetBitValue(data, 18); Keep19 = BufferUtils.GetBitValue(data, 19); Keep20 = BufferUtils.GetBitValue(data, 20); Keep21 = BufferUtils.GetBitValue(data, 21); Keep22 = BufferUtils.GetBitValue(data, 22); Keep23 = BufferUtils.GetBitValue(data, 23); Keep24 = BufferUtils.GetBitValue(data, 24); Keep25 = BufferUtils.GetBitValue(data, 25); Keep26 = BufferUtils.GetBitValue(data, 26); Keep27 = BufferUtils.GetBitValue(data, 27); Keep28 = BufferUtils.GetBitValue(data, 28); Keep29 = BufferUtils.GetBitValue(data, 29); Keep30 = BufferUtils.GetBitValue(data, 30); Keep31 = BufferUtils.GetBitValue(data, 31); }
public void Load(object value) { uint data = (uint)value; TouchAlarmSwitch = BufferUtils.GetBitValue(data, 0); SpeedLimit = BufferUtils.GetBitValue(data, 1); Fatigue = BufferUtils.GetBitValue(data, 2); Alert = BufferUtils.GetBitValue(data, 3); GNSSModule = BufferUtils.GetBitValue(data, 4); GNSSCutAntenna = BufferUtils.GetBitValue(data, 5); GNSSShortCircuit = BufferUtils.GetBitValue(data, 6); MainPowerVoltage = BufferUtils.GetBitValue(data, 7); MainPowerOff = BufferUtils.GetBitValue(data, 8); DisplayTheFault = BufferUtils.GetBitValue(data, 9); TTSModuleFailure = BufferUtils.GetBitValue(data, 10); CameraMalfunction = BufferUtils.GetBitValue(data, 11); Keep12 = BufferUtils.GetBitValue(data, 12); Keep13 = BufferUtils.GetBitValue(data, 13); Keep14 = BufferUtils.GetBitValue(data, 14); Keep15 = BufferUtils.GetBitValue(data, 15); Keep16 = BufferUtils.GetBitValue(data, 16); Keep17 = BufferUtils.GetBitValue(data, 17); DrivingTimeoutOfDay = BufferUtils.GetBitValue(data, 18); StopTimeout = BufferUtils.GetBitValue(data, 19); InOutArea = BufferUtils.GetBitValue(data, 20); InOutLine = BufferUtils.GetBitValue(data, 21); BritainsTime = BufferUtils.GetBitValue(data, 22); LaneDeparture = BufferUtils.GetBitValue(data, 23); VSSFault = BufferUtils.GetBitValue(data, 24); OilFault = BufferUtils.GetBitValue(data, 25); Stolen = BufferUtils.GetBitValue(data, 26); IllegalIgnition = BufferUtils.GetBitValue(data, 27); IllegalDisplacement = BufferUtils.GetBitValue(data, 28); Keep29 = BufferUtils.GetBitValue(data, 29); Keep30 = BufferUtils.GetBitValue(data, 30); Keep31 = BufferUtils.GetBitValue(data, 31); }