[Plugin] Remote Clock based off Telemetry (#3998)

* Remote-clock plugin
* Added a default clock class that can be extended by other classes
* Updated local clock to use the parent default clock class
* added a period check to make sure its been a certain amount of time before emitting
Co-authored-by: John Hill <jchill2.spam@gmail.com>
This commit is contained in:
Jamie V
2021-07-28 16:46:08 -07:00
committed by GitHub
parent 94c7b2343a
commit ca66898e51
7 changed files with 426 additions and 77 deletions

View File

@ -23,6 +23,7 @@
define([
'lodash',
'./utcTimeSystem/plugin',
'./remoteClock/plugin',
'./localTimeSystem/plugin',
'./ISOTimeFormat/plugin',
'../../example/generator/plugin',
@ -69,6 +70,7 @@ define([
], function (
_,
UTCTimeSystem,
RemoteClock,
LocalTimeSystem,
ISOTimeFormat,
GeneratorPlugin,
@ -129,6 +131,7 @@ define([
plugins.UTCTimeSystem = UTCTimeSystem;
plugins.LocalTimeSystem = LocalTimeSystem;
plugins.RemoteClock = RemoteClock.default;
plugins.ImportExport = ImportExport;