Exemplo n.º 1
0
 public static Offset <LiftHeight> CreateLiftHeight(FlatBufferBuilder builder,
                                                    uint triggerTime_ms       = 0,
                                                    uint durationTime_ms      = 0,
                                                    byte height_mm            = 0,
                                                    byte heightVariability_mm = 0)
 {
     builder.StartObject(4);
     LiftHeight.AddDurationTimeMs(builder, durationTime_ms);
     LiftHeight.AddTriggerTimeMs(builder, triggerTime_ms);
     LiftHeight.AddHeightVariabilityMm(builder, heightVariability_mm);
     LiftHeight.AddHeightMm(builder, height_mm);
     return(LiftHeight.EndLiftHeight(builder));
 }
Exemplo n.º 2
0
 public static LiftHeight GetRootAsLiftHeight(ByteBuffer _bb, LiftHeight obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }