mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 17:47:10 -06:00
For all FPP enums in the framework, set the representing type to the minimum width that can represent the enum's member constants.
19 lines
560 B
Fortran
19 lines
560 B
Fortran
module Svc {
|
|
|
|
@ An enumeration for measurement status
|
|
enum MeasurementStatus : U8 {
|
|
OK = 0 @< Measurement was good
|
|
FAILURE = 1 @< Failure to retrieve measurement
|
|
STALE = 2 @< Measurement is stale
|
|
}
|
|
|
|
@ Port for setting and getting PolyType values
|
|
port Poly(
|
|
$entry: PolyDbCfg.PolyDbEntry @< The entry to access
|
|
ref status: MeasurementStatus @< The command response argument
|
|
ref $time: Fw.Time @< The time of the measurement
|
|
ref val: Fw.PolyType @< The value to be passed
|
|
)
|
|
|
|
}
|