public float Get() => position.Get();
 public float Get()
 {
     return((_deviceValue.Get() + _offset) / (float)_multiplier);
 }
Exemplo n.º 3
0
 public float Get()
 {
     return((_value.Get() - _offset) / _multiplier);
 }
Exemplo n.º 4
0
 public T Get() => value.Get();
 public void Initialize()
 {
     value = inner.Get();
     RunAsync().ConfigureAwait(false);
 }
Exemplo n.º 6
0
 public T GetLastValue() => value.Get();
Exemplo n.º 7
0
 public CachedDeviceValueImpl(IDeviceValue <T> backing)
 {
     this.backing     = backing;
     this.cachedValue = backing.Get();
 }