Feature #426

create SensorValueTranslator interface and impl per sensor + factory

Added by Hans Cappelle over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:05/03/2012
Priority:NormalDue date:
Assignee:Hans Cappelle% Done:


Category:Flexible User ProtocolSpent time:-
Target version:3.0 FrSky hub and sensors


Strategy pattern To Replace switch in hub class. Factory using enum for selection.

For combined values translator can collect the 2 and concat to return a single. Va'ue like channel expects.

in later releases custom translators can be supported.

Related issues

Related to Task #398: Proper construction of before.after values in FrSkyHub Closed 04/20/2012

Associated revisions

Revision 405
Added by Hans Cappelle over 6 years ago

closes #426 implementing strategy pattern for user data value translation


#1 Updated by Hans Cappelle over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r405.

Also available in: Atom PDF