commonMain.com.divpundir.mavlink.definitions.ardupilotmega.GoproProtuneColour.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of definitions-jvm Show documentation
Show all versions of definitions-jvm Show documentation
A modern MAVLink library for the JVM written in Kotlin.
The newest version!
package com.divpundir.mavlink.definitions.ardupilotmega
import com.divpundir.mavlink.api.GeneratedMavEnum
import com.divpundir.mavlink.api.GeneratedMavEnumEntry
import com.divpundir.mavlink.api.MavEnum
import kotlin.UInt
@GeneratedMavEnum
public enum class GoproProtuneColour(
override val `value`: UInt,
) : MavEnum {
/**
* Auto.
*/
@GeneratedMavEnumEntry
STANDARD(0u),
/**
* Neutral.
*/
@GeneratedMavEnumEntry
NEUTRAL(1u),
;
public companion object : MavEnum.MavCompanion {
override fun getEntryFromValueOrNull(v: UInt): GoproProtuneColour? = when (v) {
0u -> STANDARD
1u -> NEUTRAL
else -> null
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy