Exemplo n.º 1
0
 public static Offset <FSensor> CreateFSensor(FlatBufferBuilder builder,
                                              StringOffset sensor_nameOffset = default(StringOffset),
                                              FObservation sensor_value_type = FObservation.NONE,
                                              int sensor_valueOffset         = 0)
 {
     builder.StartObject(3);
     FSensor.AddSensorValue(builder, sensor_valueOffset);
     FSensor.AddSensorName(builder, sensor_nameOffset);
     FSensor.AddSensorValueType(builder, sensor_value_type);
     return(FSensor.EndFSensor(builder));
 }
Exemplo n.º 2
0
 public static FSensor GetRootAsFSensor(ByteBuffer _bb, FSensor obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Exemplo n.º 3
0
 public FSensor?SensorsByKey(string key)
 {
     int o = this.__p.__offset(12); return(o != 0 ? FSensor.__lookup_by_key(this.__p.__vector(o), key, this.__p.bb) : null);
 }