// 1 1 1 1 1 1 1 1 // | | | | | | | | // | | | | | | | +- 0 Function of max speed limit 0 = with adjustment, 1 = always // | | | | | | +--- 1 // | | | | | +----- 2 // | | | | +------- 3 // | | | +--------- 4 // | | +----------- 5 // | +------------- 6 // +--------------- 7 public static void ConvertProgram2(Byte program2, out MaxSpeedLimitMode maxSpeeLimitMode) { if ((program2 & 0x01) == 0) { maxSpeeLimitMode = MaxSpeedLimitMode.WithAdjustment; } else { maxSpeeLimitMode = MaxSpeedLimitMode.WithAdjustment; } }