├── .gitignore ├── Dashboard Skin Tutorial.pdf ├── LICENSE ├── README.txt ├── Readme.md ├── Telemetry.md ├── mobile └── Android │ └── Ets2Dashboard.apk ├── server ├── Ets2Plugins │ ├── win_x64 │ │ └── plugins │ │ │ └── ets2-telemetry-server.dll │ └── win_x86 │ │ └── plugins │ │ └── ets2-telemetry-server.dll ├── Ets2Telemetry.exe ├── Ets2Telemetry.exe.config ├── Ets2TestTelemetry.json ├── Html │ ├── cordova.js │ ├── dashboard-host.css │ ├── dashboard-host.html │ ├── images │ │ ├── app-icon.png │ │ ├── disclosure.png │ │ ├── donate-link.png │ │ └── menu-background.png │ ├── index.css │ ├── index.html │ ├── scripts │ │ ├── app.js │ │ ├── config.js │ │ ├── cordova-app.js │ │ ├── dashboard-core.js │ │ ├── doT.js │ │ ├── jquery.min.js │ │ ├── jquery.signalR-2.2.0.min.js │ │ ├── menu.js │ │ └── platformOverrides.js │ └── skins │ │ ├── daf-xf │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── Thumbs.db │ │ │ ├── arrow-s.png │ │ │ ├── arrow-s2.png │ │ │ ├── arrow.png │ │ │ ├── bg-on.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parkingbrake-off.png │ │ │ ├── parkingbrake.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── warning-off.png │ │ │ └── warning.png │ │ ├── default-mph │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── bg-off.png │ │ │ ├── bg-on.png │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── trailer-off.png │ │ │ └── trailer-on.png │ │ ├── default │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── bg-off.png │ │ │ ├── bg-on.png │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── trailer-off.png │ │ │ └── trailer-on.png │ │ ├── man-tgx-mph │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ ├── dashboard_kph.jpg │ │ └── images │ │ │ ├── air-warning-off.png │ │ │ ├── air-warning.png │ │ │ ├── arrow-s.png │ │ │ ├── arrow.png │ │ │ ├── bg-on.jpg │ │ │ ├── bg-on_KPH.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── fuel-warning-off.png │ │ │ ├── fuel-warning.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parking-brake-off.png │ │ │ ├── parking-brake.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── retarder-off.png │ │ │ ├── retarder.png │ │ │ ├── warning-off.png │ │ │ └── warning.png │ │ ├── man-tgx │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── air-warning-off.png │ │ │ ├── air-warning.png │ │ │ ├── arrow-s.png │ │ │ ├── arrow.png │ │ │ ├── bg-on.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── fuel-warning-off.png │ │ │ ├── fuel-warning.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parking-brake-off.png │ │ │ ├── parking-brake.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── retarder-off.png │ │ │ ├── retarder.png │ │ │ ├── warning-off.png │ │ │ └── warning.png │ │ ├── mercedes-atego │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── arrow-s.png │ │ │ ├── arrow.png │ │ │ ├── bg-on.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── fuel-warning-off.png │ │ │ ├── fuel-warning.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parkingbrake-off.png │ │ │ ├── parkingbrake.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── warning-off.png │ │ │ └── warning.png │ │ ├── peterbilt579 │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── airPressureEmergencyOn-on.png │ │ │ ├── airPressureWarningOn-on.png │ │ │ ├── airPressureWarningOn2-on.png │ │ │ ├── arrow-s.png │ │ │ ├── arrow.png │ │ │ ├── batteryVoltageWarningOn-on.png │ │ │ ├── bg-off.jpg │ │ │ ├── bg-on.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── fuelWarningOn-on.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── kolko.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── motorBrakeOn-on.png │ │ │ ├── off.jpg │ │ │ ├── oilPressureWarningOn-on.png │ │ │ ├── park-on.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── retarder-on.png │ │ │ ├── trailer-off.png │ │ │ ├── trailer-on.png │ │ │ └── waterTemperatureWarningOn-on.png │ │ ├── rd-info │ │ ├── README.txt │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ ├── fonts │ │ │ ├── DSDIGI.eot │ │ │ ├── DSDIGI.ttf │ │ │ ├── DSDIGI.woff │ │ │ ├── OCRAStd.otf │ │ │ ├── Open 24 Display St.ttf │ │ │ ├── dosapp.fon │ │ │ ├── font.css │ │ │ ├── readme.txt │ │ │ ├── smalle.fon │ │ │ └── vgaoem.fon │ │ └── images │ │ │ ├── airpressure-on.png │ │ │ ├── auxlights-off.png │ │ │ ├── auxlights-on.png │ │ │ ├── beacon-on.png │ │ │ ├── bg-off.png │ │ │ ├── bg-on.png │ │ │ ├── cruisecontrol-on.png │ │ │ ├── dashalert-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parkbrake-on.png │ │ │ ├── parklight-on.png │ │ │ ├── sidebar01.png │ │ │ ├── sidebar02.png │ │ │ └── warning-on.png │ │ ├── scania │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── app-icon.png │ │ │ ├── bg-on.jpg │ │ │ ├── blinker-left-off.png │ │ │ ├── blinker-left-on.png │ │ │ ├── blinker-right-off.png │ │ │ ├── blinker-right-on.png │ │ │ ├── cruise-off.png │ │ │ ├── cruise-on.png │ │ │ ├── fuel-warning-off.png │ │ │ ├── fuel-warning.png │ │ │ ├── gauge-arrow-s.png │ │ │ ├── gauge-arrow-s2.png │ │ │ ├── gauge-arrow.png │ │ │ ├── handbrake-off.png │ │ │ ├── handbrake.png │ │ │ ├── highbeam-off.png │ │ │ ├── highbeam-on.png │ │ │ ├── lowbeam-off.png │ │ │ ├── lowbeam-on.png │ │ │ ├── parklights-off.png │ │ │ ├── parklights-on.png │ │ │ ├── warning-off.png │ │ │ └── warning.png │ │ ├── template │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ │ ├── bg-off.jpg │ │ │ └── bg-on.jpg │ │ └── volvo-fh │ │ ├── config.json │ │ ├── dashboard.css │ │ ├── dashboard.html │ │ ├── dashboard.jpg │ │ ├── dashboard.js │ │ └── images │ │ ├── arrow.png │ │ ├── bg-on.jpg │ │ ├── blinker-left-off.png │ │ ├── blinker-left-on.png │ │ ├── blinker-right-off.png │ │ ├── blinker-right-on.png │ │ ├── cruise-off.png │ │ ├── cruise-on.png │ │ ├── gauge-arrow-s.png │ │ ├── highbeam-off.png │ │ ├── highbeam-on.png │ │ ├── lowbeam-off.png │ │ ├── lowbeam-on.png │ │ ├── parkBrakeOn-off.png │ │ ├── parkBrakeOn.png │ │ ├── parklights-off.png │ │ ├── parklights-on.png │ │ ├── retarder - Kopie.png │ │ ├── retarder-off.png │ │ ├── retarder.png │ │ ├── warning-off.png │ │ └── warning.png ├── Microsoft.AspNet.SignalR.Core.dll ├── Microsoft.Owin.Cors.dll ├── Microsoft.Owin.Diagnostics.dll ├── Microsoft.Owin.Host.HttpListener.dll ├── Microsoft.Owin.Hosting.dll ├── Microsoft.Owin.Security.dll ├── Microsoft.Owin.dll ├── Microsoft.Practices.ServiceLocation.dll ├── Newtonsoft.Json.dll ├── Owin.WebSocket.dll ├── Owin.dll ├── System.Net.Http.Formatting.dll ├── System.Web.Cors.dll ├── System.Web.Http.Owin.dll ├── System.Web.Http.dll └── log4net.dll └── source ├── .vs └── config │ └── applicationhost.config ├── Funbit.Ets.Telemetry.Mobile ├── .gitignore ├── Funbit.Ets.Telemetry.Mobile.jsproj ├── app-settings.json ├── bower.json ├── build.json ├── config.xml ├── merges │ ├── android │ │ └── scripts │ │ │ ├── android2.3-jscompat.js │ │ │ └── platformOverrides.js │ └── windows │ │ └── scripts │ │ ├── platformOverrides.js │ │ └── winstore-jscompat.js ├── package.json ├── plugins │ ├── cordova-plugin-app-preferences │ │ ├── LICENSE │ │ ├── README.md │ │ ├── app-settings.json │ │ ├── appveyor.yml │ │ ├── bin │ │ │ ├── after_plugin_install.js │ │ │ ├── after_prepare.js │ │ │ ├── before_plugin_uninstall.js │ │ │ ├── build-app-settings.js │ │ │ ├── lib │ │ │ │ ├── android.js │ │ │ │ ├── filesystem.js │ │ │ │ ├── ios.js │ │ │ │ ├── mappings.js │ │ │ │ └── settings.js │ │ │ ├── package.json │ │ │ ├── spec │ │ │ │ ├── android.spec.js │ │ │ │ ├── helpers │ │ │ │ │ └── common.js │ │ │ │ ├── ios.spec.js │ │ │ │ └── support │ │ │ │ │ └── jasmine.json │ │ │ ├── test-server.js │ │ │ └── travis-emu.sh │ │ ├── circle.yml │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── android │ │ │ │ ├── AppPreferences.java │ │ │ │ ├── AppPreferencesActivity.template │ │ │ │ ├── PreferencesActivity.java │ │ │ │ ├── libs │ │ │ │ │ └── android-support-v4.jar │ │ │ │ └── xml │ │ │ │ │ ├── pref_data_sync.xml │ │ │ │ │ ├── pref_general.xml │ │ │ │ │ ├── pref_headers.xml │ │ │ │ │ └── pref_notification.xml │ │ │ ├── blackberry10 │ │ │ │ └── platform.js │ │ │ ├── ios │ │ │ │ ├── AppPreferences.h │ │ │ │ └── AppPreferences.m │ │ │ ├── osx │ │ │ │ ├── AppPreferences.h │ │ │ │ └── AppPreferences.m │ │ │ ├── platform.js │ │ │ ├── test.js │ │ │ ├── test.patch │ │ │ ├── windows8 │ │ │ │ ├── apppreferences.html │ │ │ │ └── platform.js │ │ │ └── wp │ │ │ │ └── AppPreferences.cs │ │ └── www │ │ │ ├── apppreferences.js │ │ │ ├── task │ │ │ └── AppPreferences.js │ │ │ └── test.html │ ├── cordova-plugin-insomnia │ │ ├── README.md │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── android │ │ │ │ └── nl │ │ │ │ │ └── xservices │ │ │ │ │ └── plugins │ │ │ │ │ └── Insomnia.java │ │ │ ├── firefoxos │ │ │ │ └── insomnia.js │ │ │ ├── ios │ │ │ │ ├── Insomnia.h │ │ │ │ └── Insomnia.m │ │ │ ├── windows │ │ │ │ └── InsomniaProxy.js │ │ │ └── wp8 │ │ │ │ └── Insomnia.cs │ │ └── www │ │ │ └── Insomnia.js │ ├── cordova-plugin-splashscreen │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── RELEASENOTES.md │ │ ├── doc │ │ │ ├── de │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── es │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── fr │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── it │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ja │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ko │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── pl │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ru │ │ │ │ └── index.md │ │ │ └── zh │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── android │ │ │ │ └── SplashScreen.java │ │ │ ├── blackberry10 │ │ │ │ └── index.js │ │ │ ├── browser │ │ │ │ └── SplashScreenProxy.js │ │ │ ├── ios │ │ │ │ ├── CDVSplashScreen.h │ │ │ │ ├── CDVSplashScreen.m │ │ │ │ ├── CDVViewController+SplashScreen.h │ │ │ │ └── CDVViewController+SplashScreen.m │ │ │ ├── tizen │ │ │ │ └── SplashScreenProxy.js │ │ │ ├── ubuntu │ │ │ │ ├── splashscreen.cpp │ │ │ │ └── splashscreen.h │ │ │ └── wp │ │ │ │ ├── ResolutionHelper.cs │ │ │ │ └── SplashScreen.cs │ │ ├── tests │ │ │ ├── ios │ │ │ │ ├── CDVSplashScreenTest.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── CDVSplashScreenTest.xccheckout │ │ │ │ │ │ └── xcschemes │ │ │ │ │ │ └── CordovaLib.xcscheme │ │ │ │ ├── CDVSplashScreenTest │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── CDVSplashScreenLibTests │ │ │ │ │ │ ├── ImageNameTest.m │ │ │ │ │ │ ├── ImageNameTestDelegates.h │ │ │ │ │ │ ├── ImageNameTestDelegates.m │ │ │ │ │ │ └── Info.plist │ │ │ │ │ └── CDVSplashScreenTest.xcodeproj │ │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ │ └── CDVSplashScreenTest.xccheckout │ │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── xcschemes │ │ │ │ │ │ ├── CDVSplashScreenLib.xcscheme │ │ │ │ │ │ └── CDVSplashScreenLibTests.xcscheme │ │ │ │ ├── README.md │ │ │ │ ├── doc │ │ │ │ │ ├── de │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── es │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── fr │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── it │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── ja │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── ko │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── pl │ │ │ │ │ │ └── README.md │ │ │ │ │ └── zh │ │ │ │ │ │ └── README.md │ │ │ │ └── package.json │ │ │ ├── plugin.xml │ │ │ └── tests.js │ │ └── www │ │ │ ├── splashscreen.js │ │ │ └── windows │ │ │ └── SplashScreenProxy.js │ ├── cordova-plugin-whitelist │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── RELEASENOTES.md │ │ ├── doc │ │ │ ├── de │ │ │ │ └── README.md │ │ │ ├── es │ │ │ │ └── README.md │ │ │ ├── fr │ │ │ │ └── README.md │ │ │ ├── it │ │ │ │ └── README.md │ │ │ ├── ja │ │ │ │ └── README.md │ │ │ ├── ko │ │ │ │ └── README.md │ │ │ ├── pl │ │ │ │ └── README.md │ │ │ └── zh │ │ │ │ └── README.md │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ └── android │ │ │ │ └── WhitelistPlugin.java │ │ └── whitelist.js │ └── fetch.json ├── res │ ├── icons │ │ ├── android │ │ │ ├── icon-36-ldpi.png │ │ │ ├── icon-48-mdpi.png │ │ │ ├── icon-72-hdpi.png │ │ │ └── icon-96-xhdpi.png │ │ ├── ios │ │ │ ├── icon-40-2x.png │ │ │ ├── icon-40.png │ │ │ ├── icon-50-2x.png │ │ │ ├── icon-50.png │ │ │ ├── icon-57-2x.png │ │ │ ├── icon-57.png │ │ │ ├── icon-60-2x.png │ │ │ ├── icon-60-3x.png │ │ │ ├── icon-60.png │ │ │ ├── icon-72-2x.png │ │ │ ├── icon-72.png │ │ │ ├── icon-76-2x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-small-2x.png │ │ │ └── icon-small.png │ │ ├── windows │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ ├── Square44x44Logo.scale-100.png │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ ├── Square71x71Logo.scale-100.png │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ ├── StoreLogo.scale-100.png │ │ │ ├── StoreLogo.scale-240.png │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ ├── Wide310x150Logo.scale-240.png │ │ │ ├── logo.png │ │ │ ├── smalllogo.png │ │ │ └── storelogo.png │ │ └── wp8 │ │ │ ├── ApplicationIcon.png │ │ │ ├── Background.png │ │ │ ├── icon-173-tile.png │ │ │ └── icon-62-tile.png │ ├── native │ │ └── android │ │ │ └── ant.properties │ └── screens │ │ ├── android │ │ ├── screen-hdpi-landscape.png │ │ ├── screen-hdpi-portrait.png │ │ ├── screen-ldpi-landscape.png │ │ ├── screen-ldpi-portrait.png │ │ ├── screen-mdpi-landscape.png │ │ ├── screen-mdpi-portrait.png │ │ ├── screen-xhdpi-landscape.png │ │ └── screen-xhdpi-portrait.png │ │ ├── ios │ │ ├── screen-ipad-landscape-2x.png │ │ ├── screen-ipad-landscape.png │ │ ├── screen-ipad-portrait-2x.png │ │ ├── screen-ipad-portrait.png │ │ ├── screen-iphone-568h-2x.png │ │ ├── screen-iphone-landscape-736h.png │ │ ├── screen-iphone-portrait-2x.png │ │ ├── screen-iphone-portrait-667h.png │ │ ├── screen-iphone-portrait-736h.png │ │ └── screen-iphone-portrait.png │ │ ├── windows │ │ ├── SplashScreen.scale-100.png │ │ ├── SplashScreen.scale-240.png │ │ ├── SplashScreenPhone.scale-240.png │ │ └── splashscreen.png │ │ └── wp8 │ │ ├── SplashScreenImage.jpg │ │ └── screen-portrait.jpg ├── scripts │ ├── index.ts │ ├── tsconfig.json │ └── typings │ │ └── cordova │ │ ├── cordova.d.ts │ │ └── plugins │ │ ├── BatteryStatus.d.ts │ │ ├── Camera.d.ts │ │ ├── Contacts.d.ts │ │ ├── Device.d.ts │ │ ├── DeviceMotion.d.ts │ │ ├── DeviceOrientation.d.ts │ │ ├── Dialogs.d.ts │ │ ├── FileSystem.d.ts │ │ ├── FileTransfer.d.ts │ │ ├── Globalization.d.ts │ │ ├── InAppBrowser.d.ts │ │ ├── Media.d.ts │ │ ├── MediaCapture.d.ts │ │ ├── NetworkInformation.d.ts │ │ ├── Push.d.ts │ │ ├── Splashscreen.d.ts │ │ ├── StatusBar.d.ts │ │ ├── Vibration.d.ts │ │ └── WebSQL.d.ts ├── taco.json └── www │ ├── Funbit.Ets.Telemetry.Mobile.jsproj │ ├── config.xml │ ├── dashboard-host.css │ ├── dashboard-host.html │ ├── dashboard-host.less │ ├── dashboard-host.min.css │ ├── images │ ├── app-icon.png │ ├── disclosure.png │ ├── donate-link.png │ └── menu-background.png │ ├── index.css │ ├── index.html │ ├── index.less │ ├── index.min.css │ ├── scripts │ ├── app.js │ ├── app.js.map │ ├── app.ts │ ├── appBundle.js │ ├── appBundle.js.map │ ├── config.js │ ├── config.js.map │ ├── config.ts │ ├── dashboard-core.js │ ├── dashboard-core.js.map │ ├── dashboard-core.ts │ ├── dashboard.js.map │ ├── doT.js │ ├── jquery.min.js │ ├── jquery.signalR-2.2.0.min.js │ ├── menu.js │ ├── menu.js.map │ ├── menu.ts │ ├── platformOverrides.js │ └── typings │ │ ├── dot.d.ts │ │ ├── jquery.d.ts │ │ ├── jqueryui.d.ts │ │ └── signalr.d.ts │ └── skins │ ├── default │ ├── config.json │ ├── dashboard.css │ ├── dashboard.html │ ├── dashboard.jpg │ ├── dashboard.js │ ├── dashboard.less │ ├── dashboard.min.css │ ├── images │ │ ├── bg-off.png │ │ ├── bg-on.png │ │ ├── blinker-left-off.png │ │ ├── blinker-left-on.png │ │ ├── blinker-right-off.png │ │ ├── blinker-right-on.png │ │ ├── cruise-off.png │ │ ├── cruise-on.png │ │ ├── highbeam-off.png │ │ ├── highbeam-on.png │ │ ├── lowbeam-off.png │ │ ├── lowbeam-on.png │ │ ├── parklights-off.png │ │ ├── parklights-on.png │ │ ├── trailer-off.png │ │ └── trailer-on.png │ └── index.min.css │ └── template │ ├── config.json │ ├── dashboard.css │ ├── dashboard.html │ ├── dashboard.jpg │ ├── dashboard.js │ └── images │ ├── bg-off.jpg │ └── bg-on.jpg ├── Funbit.Ets.Telemetry.Server ├── App.config ├── Controllers │ ├── Ets2AppController.cs │ ├── Ets2TelemetryController.cs │ ├── Ets2TelemetryHub.cs │ └── StaticFileController.cs ├── Data │ ├── Ets2TelemetryData.cs │ ├── Ets2TelemetryDataReader.cs │ ├── IEts2TelemetryData.cs │ └── Reader │ │ ├── Ets2TelemetryStructure.cs │ │ └── SharedProcessMemory.cs ├── Ets2TestTelemetry.json ├── Funbit.Ets.Telemetry.Server.csproj ├── Helpers │ ├── AssemblyHelper.cs │ ├── Ets2ProcessHelper.cs │ ├── ExceptionExtensions.cs │ ├── JsonHelper.cs │ ├── KeyboardHelper.cs │ ├── NetworkHelper.cs │ ├── ProcessHelper.cs │ ├── Settings.cs │ └── Win32Uac.cs ├── Html │ ├── cordova.js │ └── scripts │ │ ├── cordova-app.js │ │ └── platformOverrides.js ├── MainForm.Designer.cs ├── MainForm.cs ├── MainForm.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── app.ico │ ├── check-error.png │ ├── check-off.png │ ├── check-on.png │ └── close.png ├── Setup │ ├── FirewallSetup.cs │ ├── ISetup.cs │ ├── PluginSetup.cs │ ├── SetupManager.cs │ ├── SetupStatus.cs │ └── UrlReservationSetup.cs ├── SetupForm.Designer.cs ├── SetupForm.cs ├── SetupForm.resx ├── Startup.cs └── packages.config └── Funbit.Ets.Telemetry.sln /.gitignore: -------------------------------------------------------------------------------- 1 | /_hg 2 | /source/Funbit.Ets.Telemetry.Server/Funbit.Ets.Telemetry.Server.csproj.user 3 | /source/Funbit.Ets.Telemetry.Server/bin 4 | /source/Funbit.Ets.Telemetry.Server/obj 5 | /source/Funbit.Ets.Telemetry.Mobile/bld 6 | /source/Funbit.Ets.Telemetry.Mobile/bin 7 | /source/packages 8 | /source/*.suo 9 | /Readme.txt 10 | *.user 11 | *.log 12 | /_WorkingFiles 13 | source/.vs/Funbit.Ets.Telemetry/v14/* -------------------------------------------------------------------------------- /Dashboard Skin Tutorial.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/Dashboard Skin Tutorial.pdf -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | Welcome to the ETS2 Telemetry Web Server and Mobile Dashboard! 2 | 3 | ================ 4 | Folder structure 5 | ================ 6 | 7 | ---------- 8 | | mobile | contains compiled native mobile applications 9 | ---------- 10 | | server | contains compiled dashboard server, mobile dashboard and all skins 11 | ---------- 12 | | source | original source code of the project 13 | ---------- 14 | 15 | Just run "server\Ets2Telemetry.exe" to start the server and connect your personal HTML5 mobile dashboard! 16 | 17 | ================ 18 | LINKS 19 | ================ 20 | 21 | New versions, updates, help & FAQ are always available at this URL: 22 | 23 | https://github.com/Funbit/ets2-telemetry-server 24 | 25 | IMPORTANT !!! 26 | I don't recommend to download server from anywhere else, except the above link, because it might contain viruses! 27 | You may download skins from other sites, but make sure that skin does not contain EXE files inside! 28 | 29 | ================ 30 | LICENSE 31 | ================ 32 | 33 | GNU General Public License v3 (GPL-3). Please read LICENSE file for details. 34 | 35 | 36 | ================ 37 | CONTACTS 38 | ================ 39 | 40 | You may contact the author using this email: contact@funbit.info 41 | 42 | Funbit (c) 2015 -------------------------------------------------------------------------------- /mobile/Android/Ets2Dashboard.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/mobile/Android/Ets2Dashboard.apk -------------------------------------------------------------------------------- /server/Ets2Plugins/win_x64/plugins/ets2-telemetry-server.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Ets2Plugins/win_x64/plugins/ets2-telemetry-server.dll -------------------------------------------------------------------------------- /server/Ets2Plugins/win_x86/plugins/ets2-telemetry-server.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Ets2Plugins/win_x86/plugins/ets2-telemetry-server.dll -------------------------------------------------------------------------------- /server/Ets2Telemetry.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Ets2Telemetry.exe -------------------------------------------------------------------------------- /server/Html/cordova.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /server/Html/dashboard-host.css: -------------------------------------------------------------------------------- 1 | /* 2 | *** DO NOT CHANGE THIS STYLESHEET *** 3 | */ 4 | body { 5 | background-color: #1d1d1d; 6 | width: 100%; 7 | height: 100%; 8 | margin: 0; 9 | padding: 0; 10 | -moz-transform-origin: left top; 11 | -ms-transform-origin: left top; 12 | -o-transform-origin: left top; 13 | -webkit-transform-origin: left top; 14 | transform-origin: left top; 15 | -moz-transform: scale(1); 16 | -ms-transform: scale(1); 17 | -o-transform: scale(1); 18 | -webkit-transform: scale(1); 19 | transform: scale(1); 20 | overflow: hidden; 21 | } 22 | -------------------------------------------------------------------------------- /server/Html/dashboard-host.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 6 | 7 | 8 | ETS2/ATS Dashboard 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /server/Html/images/app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/images/app-icon.png -------------------------------------------------------------------------------- /server/Html/images/disclosure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/images/disclosure.png -------------------------------------------------------------------------------- /server/Html/images/donate-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/images/donate-link.png -------------------------------------------------------------------------------- /server/Html/images/menu-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/images/menu-background.png -------------------------------------------------------------------------------- /server/Html/scripts/cordova-app.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /server/Html/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "daf-xf", 18 | "title": "DAF XF Dashboard", 19 | "author": "Klauzzy", 20 | "width": 2000, 21 | "height": 1056 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)); 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = (data.trailer.mass / 1000.0) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/Thumbs.db -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/arrow-s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/arrow-s2.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/parkingbrake-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/parkingbrake-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/parkingbrake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/parkingbrake.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/daf-xf/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/daf-xf/images/warning.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "default-mph", 18 | "title": "Generic Dashboard / MPH", 19 | "author": "Funbit", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/default-mph/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/bg-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/bg-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/bg-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/bg-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/trailer-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/trailer-off.png -------------------------------------------------------------------------------- /server/Html/skins/default-mph/images/trailer-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default-mph/images/trailer-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "default", 18 | "title": "Generic Dashboard / KMH", 19 | "author": "Funbit", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/default/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/default/images/bg-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/bg-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/bg-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/bg-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/trailer-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/trailer-off.png -------------------------------------------------------------------------------- /server/Html/skins/default/images/trailer-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/default/images/trailer-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "man-tgx-mph", 18 | "title": "MAN TGX Dashboard / MPH", 19 | "author": "Klauzzy & Nino Scholz", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)) * 0.621371; 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = Math.round((data.trailer.mass / 1000.0)) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/dashboard_kph.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/dashboard_kph.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/air-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/air-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/air-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/air-warning.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/bg-on_KPH.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/bg-on_KPH.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/fuel-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/fuel-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/fuel-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/fuel-warning.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/parking-brake-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/parking-brake-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/parking-brake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/parking-brake.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/retarder-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/retarder-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/retarder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/retarder.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx-mph/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx-mph/images/warning.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "man-tgx", 18 | "title": "MAN TGX Dashboard / KMH", 19 | "author": "Klauzzy", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)); 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = (data.trailer.mass / 1000.0) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/air-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/air-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/air-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/air-warning.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/fuel-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/fuel-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/fuel-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/fuel-warning.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/parking-brake-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/parking-brake-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/parking-brake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/parking-brake.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/retarder-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/retarder-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/retarder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/retarder.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/man-tgx/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/man-tgx/images/warning.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "mercedes-atego", 18 | "title": "Mercedes Benz Atego MP4 Dashboard", 19 | "author": "Klauzzy", 20 | "width": 1501, 21 | "height": 779 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)); 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = (data.trailer.mass / 1000.0) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/fuel-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/fuel-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/fuel-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/fuel-warning.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/parkingbrake-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/parkingbrake-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/parkingbrake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/parkingbrake.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/mercedes-atego/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/mercedes-atego/images/warning.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "peterbilt579", 18 | "title": "Peterbilt 579 / MPH", 19 | "author": "NightstalkerPL, Lisek Chytrusek (by WEBX.PL)", 20 | "width": 1920, 21 | "height": 1080 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/airPressureEmergencyOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/airPressureEmergencyOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/airPressureWarningOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/airPressureWarningOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/airPressureWarningOn2-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/airPressureWarningOn2-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/batteryVoltageWarningOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/batteryVoltageWarningOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/bg-off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/bg-off.jpg -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/fuelWarningOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/fuelWarningOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/kolko.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/kolko.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/motorBrakeOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/motorBrakeOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/off.jpg -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/oilPressureWarningOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/oilPressureWarningOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/park-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/park-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/retarder-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/retarder-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/trailer-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/trailer-off.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/trailer-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/trailer-on.png -------------------------------------------------------------------------------- /server/Html/skins/peterbilt579/images/waterTemperatureWarningOn-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/peterbilt579/images/waterTemperatureWarningOn-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/README.txt: -------------------------------------------------------------------------------- 1 | If you have any suggestions, feel free to email them at: van_argiano@outlook.com -------------------------------------------------------------------------------- /server/Html/skins/rd-info/config.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "comments": [ 4 | 5 | "==============================", 6 | 7 | " SKIN CONFIGURATION ", 8 | 9 | "==============================", 10 | 11 | 12 | "Required properties:", 13 | 14 | 15 | " name: name of the skin (directory name: /skins/name)", 16 | 17 | " title: human readable skin title", 18 | 19 | " author: author name", 20 | 21 | " width: width of the skin in pixels (same as defined in the CSS)", 22 | 23 | " height: height of the skin in pixels (same as defined in the CSS)" 24 | 25 | ], 26 | 27 | 28 | "config": { 29 | 30 | "name": "RD-Info", 31 | 32 | "title": "RenaultDash-Info", 33 | 34 | "author": "Argiano", 35 | 36 | "width": 1920, 37 | 38 | "height": 1440 39 | } 40 | 41 | 42 | } -------------------------------------------------------------------------------- /server/Html/skins/rd-info/dashboard.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | 29 | 30 |
31 |
32 |
33 |
34 |
35 |
36 |
-------------------------------------------------------------------------------- /server/Html/skins/rd-info/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/DSDIGI.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/DSDIGI.eot -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/DSDIGI.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/DSDIGI.ttf -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/DSDIGI.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/DSDIGI.woff -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/OCRAStd.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/OCRAStd.otf -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/Open 24 Display St.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/Open 24 Display St.ttf -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/dosapp.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/dosapp.fon -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'DSDIGI'; 3 | src: url('./DSDIGI.eot'); 4 | src: local('DSDIGI'), url('./DSDIGI.woff') format('woff'), url('./DSDIGI.ttf') format('truetype'); 5 | } 6 | /* use this class to attach this font to any element i.e.

Text with this font applied

*/ 7 | .fontsforweb_fontid_1091 { 8 | font-family: 'DSDIGI' !important; 9 | } 10 | 11 | /* Font downloaded from FontsForWeb.com */ -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/smalle.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/smalle.fon -------------------------------------------------------------------------------- /server/Html/skins/rd-info/fonts/vgaoem.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/fonts/vgaoem.fon -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/airpressure-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/airpressure-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/auxlights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/auxlights-off.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/auxlights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/auxlights-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/beacon-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/beacon-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/bg-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/bg-off.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/bg-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/bg-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/cruisecontrol-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/cruisecontrol-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/dashalert-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/dashalert-off.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/parkbrake-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/parkbrake-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/parklight-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/parklight-on.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/sidebar01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/sidebar01.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/sidebar02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/sidebar02.png -------------------------------------------------------------------------------- /server/Html/skins/rd-info/images/warning-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/rd-info/images/warning-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "Scania", 18 | "title": "Scania Dashboard", 19 | "author": "Klauzzy", 20 | "width": 2030, 21 | "height": 1035 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/scania/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/scania/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)); 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = (data.trailer.mass / 1000.0) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/scania/images/app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/app-icon.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/scania/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/fuel-warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/fuel-warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/fuel-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/fuel-warning.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/gauge-arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/gauge-arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/gauge-arrow-s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/gauge-arrow-s2.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/gauge-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/gauge-arrow.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/handbrake-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/handbrake-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/handbrake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/handbrake.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/scania/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/scania/images/warning.png -------------------------------------------------------------------------------- /server/Html/skins/template/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "template", 18 | "title": "Dashboard Skin Template", 19 | "author": "Funbit", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/template/dashboard.html: -------------------------------------------------------------------------------- 1 | 
2 |
km/h
3 |
4 |
-------------------------------------------------------------------------------- /server/Html/skins/template/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/template/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/template/images/bg-off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/template/images/bg-off.jpg -------------------------------------------------------------------------------- /server/Html/skins/template/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/template/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "volvo-fh", 18 | "title": "Volvo FH 2012 Dashboard", 19 | "author": "Klauzzy", 20 | "width": 2000, 21 | "height": 664 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/dashboard.jpg -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/dashboard.js: -------------------------------------------------------------------------------- 1 | // SEE Dashboard Skin Tutorial FOR MORE INFORMATION ABOUT THIS FILE 2 | 3 | Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) { 4 | data.hasJob = data.trailer.attached; 5 | // round truck speed 6 | data.truck.speedRounded = Math.abs(data.truck.speed > 0 7 | ? Math.floor(data.truck.speed) 8 | : Math.round(data.truck.speed)); 9 | // convert kilometers per hour to miles per hour (just an example) 10 | data.truck.speedMph = data.truck.speed * 0.621371; 11 | // convert kg to t 12 | data.trailer.mass = (data.trailer.mass / 1000.0) + 't'; 13 | // format odometer data as: 00000.0 14 | data.truck.odometer = utils.formatFloat(data.truck.odometer, 1); 15 | // convert gear to readable format 16 | data.truck.gear = data.truck.gear > 0 ? 'D' + data.truck.gear : (data.truck.gear < 0 ? 'R' : 'N'); 17 | // convert rpm to rpm * 100 18 | data.truck.engineRpm = data.truck.engineRpm / 100; 19 | // return changed data to the core for rendering 20 | return data; 21 | }; 22 | 23 | Funbit.Ets.Telemetry.Dashboard.prototype.render = function (data, utils) { 24 | } 25 | 26 | Funbit.Ets.Telemetry.Dashboard.prototype.initialize = function (skinConfig, utils) { 27 | utils.preloadImages(['images/bg-on.jpg']); 28 | $(document).add('body').on('click', function () { 29 | window.history.back(); 30 | }); 31 | } -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/arrow.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/bg-on.jpg -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/blinker-left-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/blinker-left-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/blinker-right-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/blinker-right-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/cruise-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/cruise-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/gauge-arrow-s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/gauge-arrow-s.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/highbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/highbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/lowbeam-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/lowbeam-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/parkBrakeOn-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/parkBrakeOn-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/parkBrakeOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/parkBrakeOn.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/parklights-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/parklights-on.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/retarder - Kopie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/retarder - Kopie.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/retarder-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/retarder-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/retarder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/retarder.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/warning-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/warning-off.png -------------------------------------------------------------------------------- /server/Html/skins/volvo-fh/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Html/skins/volvo-fh/images/warning.png -------------------------------------------------------------------------------- /server/Microsoft.AspNet.SignalR.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.AspNet.SignalR.Core.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.Cors.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.Diagnostics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.Diagnostics.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.Host.HttpListener.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.Host.HttpListener.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.Hosting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.Hosting.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.Security.dll -------------------------------------------------------------------------------- /server/Microsoft.Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Owin.dll -------------------------------------------------------------------------------- /server/Microsoft.Practices.ServiceLocation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Microsoft.Practices.ServiceLocation.dll -------------------------------------------------------------------------------- /server/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /server/Owin.WebSocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Owin.WebSocket.dll -------------------------------------------------------------------------------- /server/Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/Owin.dll -------------------------------------------------------------------------------- /server/System.Net.Http.Formatting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/System.Net.Http.Formatting.dll -------------------------------------------------------------------------------- /server/System.Web.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/System.Web.Cors.dll -------------------------------------------------------------------------------- /server/System.Web.Http.Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/System.Web.Http.Owin.dll -------------------------------------------------------------------------------- /server/System.Web.Http.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/System.Web.Http.dll -------------------------------------------------------------------------------- /server/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/server/log4net.dll -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore 2 | [Pp]lugins/android.json 3 | [Pp]lugins/windows.json 4 | [Pp]lugins/wp8.json 5 | [Pp]lugins/remote_ios.json 6 | [Pp]latforms/ 7 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/app-settings.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "type":"group", 4 | "title":"Common", 5 | "items":[{ 6 | "title":"Title", 7 | "type":"textfield", 8 | "key":"title" 9 | }, { 10 | "title":"Language", 11 | "type":"radio", 12 | "key":"lang", 13 | "default": "en-us", 14 | "items":[{ 15 | "value":"en-us", 16 | "title":"English (US)" 17 | }, { 18 | "value":"en-gb", 19 | "title":"English (UK)" 20 | }] 21 | }, { 22 | "title":"Debug", 23 | "type":"toggle", 24 | "default":false, 25 | "key":"debug" 26 | }] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "funbit.ets.telemetry.mobile", 3 | "dependencies": { 4 | } 5 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/build.json: -------------------------------------------------------------------------------- 1 | { 2 | "android": { 3 | "release": { 4 | "keystore": "", 5 | "storePassword": "", 6 | "alias": "", 7 | "password" : "", 8 | "keystoreType": "" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/merges/android/scripts/android2.3-jscompat.js: -------------------------------------------------------------------------------- 1 | // Polyfill for Function.prototype.bind() support on Android 2.3 2 | (function () { 3 | if (!Function.prototype.bind) { 4 | Function.prototype.bind = function (thisValue) { 5 | if (typeof this !== "function") { 6 | throw new TypeError(this + " cannot be bound as it is not a function"); 7 | } 8 | 9 | // bind() also permits prepending arguments to the call 10 | var preArgs = Array.prototype.slice.call(arguments, 1); 11 | 12 | // The actual function to bind the "this" value and arguments to 13 | var functionToBind = this; 14 | var noOpFunction = function () { }; 15 | 16 | // The "this" argument to use 17 | var thisArg = this instanceof noOpFunction && thisValue ? this : thisValue; 18 | 19 | // The resulting bound function 20 | var boundFunction = function () { 21 | return functionToBind.apply(thisArg, preArgs.concat(Array.prototype.slice.call(arguments))); 22 | }; 23 | 24 | noOpFunction.prototype = this.prototype; 25 | boundFunction.prototype = new noOpFunction(); 26 | 27 | return boundFunction; 28 | }; 29 | } 30 | }()); 31 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "funbit.ets.telemetry.mobile", 3 | "version": "1.0.0", 4 | "dependencies": { 5 | } 6 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/app-settings.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "type":"group", 4 | "title":"Common", 5 | "items":[{ 6 | "title":"Title", 7 | "type":"textfield", 8 | "key":"title" 9 | }, { 10 | "title":"Language", 11 | "type":"radio", 12 | "key":"lang", 13 | "default": "en-us", 14 | "items":[{ 15 | "value":"en-us", 16 | "title":"English (US)" 17 | }, { 18 | "value":"en-gb", 19 | "title":"English (UK)" 20 | }] 21 | }, { 22 | "title":"Debug", 23 | "type":"toggle", 24 | "default":false, 25 | "key":"debug" 26 | }] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/appveyor.yml: -------------------------------------------------------------------------------- 1 | # appveyor file 2 | # http://www.appveyor.com/docs/appveyor-yml 3 | 4 | #environment: 5 | # NODE_PATH: %CD%\node_modules;%NODE_PATH% 6 | # my_var2: value2 7 | 8 | install: 9 | - SET PATH=%CD%\node_modules\.bin;%PATH% 10 | - SET NODE_PATH=%CD%\node_modules;%CD%\node_modules\cordova\node_modules;%NODE_PATH% 11 | - SET __COMPAT_LAYER=RunAsInvoker 12 | - npm install 13 | - cordova create app-preferences-app 14 | 15 | build: off 16 | 17 | test_script: 18 | # testing basic functionality of preference generator 19 | - echo running jasmine test 20 | - cd bin 21 | - jasmine 22 | - cd .. 23 | # let's create cordova app, add and remove plugin a few times 24 | - echo test plugin within cordova app 25 | - cd app-preferences-app 26 | - cordova platform add windows 27 | - cordova plugin add https://github.com/apla/me.apla.cordova.app-preferences 28 | - cp plugins/cordova-plugin-app-preferences/src/test.js www/js/apppreferences-test.js 29 | - patch -p0 -i plugins/cordova-plugin-app-preferences/src/test.patch 30 | - cordova -d build --debug --emulator windows 31 | # cannot emulate on appveyor, need too much work https://github.com/appveyor/ci/issues/201 32 | # - node ../bin/test-server.js windows 33 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/after_plugin_install.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function (context) { 4 | var req = context.requireCordovaModule, 5 | Q = req('q'), 6 | path = req('path'), 7 | fs = require("./lib/filesystem")(Q, req('fs'), path), 8 | settings = require("./lib/settings")(fs, path), 9 | android = require("./lib/android")(context), 10 | ios = require("./lib/ios")(Q, fs, path, req('plist'), req('xcode')); 11 | 12 | return settings.get() 13 | .then(function (config) { 14 | return Q.all([ 15 | android.afterPluginInstall(config), 16 | // ios.afterPluginInstall(config) // not implemented for iOS 17 | ]); 18 | }) 19 | .catch(function(err) { 20 | if (err.code === 'NEXIST') { 21 | console.log("app-settings.json not found: creating a sample file"); 22 | return settings.create(); 23 | } 24 | 25 | console.log ('unhandled exception', err); 26 | 27 | throw err; 28 | }); 29 | }; 30 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/after_prepare.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function (context) { 4 | var req = context.requireCordovaModule, 5 | Q = req('q'), 6 | path = req('path'), 7 | ET = req('elementtree'), 8 | cordova = req('cordova'), 9 | cordova_lib = cordova.cordova_lib, 10 | cordova_lib_util = req('cordova-lib/src/cordova/util'), 11 | fs = require("./lib/filesystem")(Q, req('fs'), path), 12 | settings = require("./lib/settings")(fs, path), 13 | platforms = {}; 14 | 15 | platforms.android = require("./lib/android")(context); 16 | platforms.ios = require("./lib/ios")(Q, fs, path, req('plist'), req('xcode')); 17 | 18 | return settings.get() 19 | .then(function (config) { 20 | var promises = []; 21 | context.opts.platforms.forEach (function (platformName) { 22 | if (platforms[platformName] && platforms[platformName].build) { 23 | promises.push (platforms[platformName].build (config)); 24 | } 25 | }); 26 | return Q.all(promises); 27 | }) 28 | .catch(function(err) { 29 | if (err.code === 'NEXIST') { 30 | console.log("app-settings.json not found: skipping build"); 31 | return; 32 | } 33 | 34 | throw err; 35 | }); 36 | }; 37 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/before_plugin_uninstall.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function (context) { 4 | var req = context.requireCordovaModule, 5 | 6 | Q = req('q'), 7 | path = req('path'), 8 | fs = require("./lib/filesystem")(Q, req('fs'), path), 9 | settings = require("./lib/settings")(fs, path), 10 | 11 | android = require("./lib/android")(context), 12 | ios = require("./lib/ios")(Q, fs, path, req('plist'), req('xcode')); 13 | 14 | return settings.get() 15 | .then(function (config) { 16 | return Q.all([ 17 | android.clean(config), 18 | ios.clean(config) 19 | ]); 20 | }) 21 | .then(settings.remove) 22 | .catch(function(err) { 23 | if (err.code === 'NEXIST') { 24 | console.log("app-settings.json not found: skipping clean"); 25 | return; 26 | } 27 | 28 | console.log ('unhandled exception', err); 29 | 30 | throw err; 31 | }); 32 | }; 33 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/lib/settings.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Settings management methods 3 | * 4 | * 5 | */ 6 | 'use strict'; 7 | 8 | var appSettingsPath = 'app-settings.json'; 9 | 10 | module.exports = function(fs, path) { 11 | 12 | function get() { 13 | return fs.exists(appSettingsPath) 14 | .then(function() { return fs.readFile(appSettingsPath); }) 15 | .then(JSON.parse); 16 | } 17 | 18 | function create() { 19 | var basePath = path.resolve(__dirname, '../../' + appSettingsPath); 20 | 21 | return fs.copy(basePath, appSettingsPath); 22 | } 23 | 24 | function remove() { 25 | return fs.unlink(appSettingsPath) 26 | .catch(function(err) { 27 | if (err && err.code !== 'ENOENT') { 28 | throw err; 29 | } 30 | }); 31 | } 32 | 33 | return { 34 | get: get, 35 | create: create, 36 | remove: remove 37 | }; 38 | }; -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "build-app-settings", 3 | "version": "0.0.0", 4 | "description": "Generate an iOS info.plist", 5 | "main": "build-app-settings.js", 6 | "scripts": { 7 | "test": "node_modules/.bin/jasmine-node spec" 8 | }, 9 | "author": "", 10 | "license": "Apache-2.0", 11 | "dependencies": { 12 | "plist": "~1.0.1", 13 | "q": "~1.4.1", 14 | "elementtree": "~0.1.6", 15 | "xcode": "~0.8.2" 16 | }, 17 | "devDependencies": { 18 | "jasmine-node": "^1.14.5" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/spec/helpers/common.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function createCordovaUtil() { 4 | var 5 | cordovaLib = 'cordova', 6 | configParserLib = 'ConfigParser', 7 | cordova_util; 8 | 9 | try { 10 | cordova_util = require (cordovaLib + '/src/util'); 11 | } 12 | catch (e) { 13 | cordovaLib = 'cordova/node_modules/cordova-lib'; 14 | configParserLib = 'configparser/ConfigParser'; 15 | } 16 | 17 | try { 18 | cordova_util = require (cordovaLib + '/src/cordova/util'); 19 | 20 | if (!cordova_util.config_parser && !cordova_util.configparser) { 21 | cordova_util.configparser = require(cordovaLib + '/src/' + configParserLib); 22 | } 23 | } 24 | catch (e) { 25 | console.error('cordova error', e); 26 | } 27 | 28 | return cordova_util || { 29 | isCordova: function (p) { return p; }, 30 | configparser: function() {} 31 | }; 32 | } 33 | 34 | module.exports = { 35 | createCordovaUtil: createCordovaUtil 36 | }; -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/spec/ios.spec.js: -------------------------------------------------------------------------------- 1 | var fs = require("../lib/filesystem")(require("q"), require("fs")); 2 | var ios = require("../lib/ios")(fs, require("plist")); 3 | 4 | describe("ios functions", function() { 5 | 6 | it("exists", function() { 7 | expect(ios).not.toBeNull(); 8 | }); 9 | 10 | it("maps a texfield control", function() { 11 | 12 | var config = { 13 | type: "textfield", 14 | default: "test_value", 15 | key: "test_key", 16 | keyboard: "email" 17 | }; 18 | 19 | var element = ios.mapConfig(config); 20 | 21 | expect(element.Key).toEqual(config.key); 22 | expect(element.DefaultValue).toEqual(config.default); 23 | expect(element.KeyboardType).toEqual("EmailAddress"); 24 | }); 25 | 26 | it("builds array of ios preference items", function() { 27 | 28 | var configs = [{ 29 | type: "textfield", 30 | key: "test_key_1" 31 | },{ 32 | type: "textfield", 33 | key: "test_key_1" 34 | }]; 35 | 36 | var items = ios.buildItems(configs); 37 | expect(items.length).toEqual(2); 38 | }); 39 | 40 | it("flattens group items", function() { 41 | 42 | var configs = [{ 43 | type: "group", 44 | items: [ 45 | { type: "textfield", key: "child 1" }, 46 | { type: "textfield", key: "child 2" } 47 | ] 48 | }]; 49 | 50 | var items = ios.buildItems(configs); 51 | expect(items.length).toEqual(3); 52 | }); 53 | 54 | }); 55 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/bin/spec/support/jasmine.json: -------------------------------------------------------------------------------- 1 | { 2 | "spec_dir": "spec", 3 | "spec_files": [ 4 | "**/*[sS]pec.js" 5 | ], 6 | "helpers": [ 7 | "helpers/**/*.js" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/AppPreferencesActivity.template: -------------------------------------------------------------------------------- 1 | 2 | import android.app.Activity; 3 | import android.os.Bundle; 4 | import android.preference.PreferenceActivity; 5 | import android.preference.PreferenceFragment; 6 | 7 | public class AppPreferencesActivity extends PreferenceActivity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | getFragmentManager().beginTransaction().replace( 13 | android.R.id.content, new AppPFragment() 14 | ).commit(); 15 | } 16 | 17 | public static class AppPFragment extends PreferenceFragment 18 | { 19 | @Override 20 | public void onCreate(final Bundle savedInstanceState) 21 | { 22 | super.onCreate(savedInstanceState); 23 | addPreferencesFromResource(R.xml.apppreferences); 24 | } 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/libs/android-support-v4.jar -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/xml/pref_data_sync.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/xml/pref_headers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
8 |
11 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/android/xml/pref_notification.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | 12 | 13 | 14 | 15 | 21 | 22 | 23 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/blackberry10/platform.js: -------------------------------------------------------------------------------- 1 | function AppPreferencesLocalStorage() { 2 | 3 | } 4 | 5 | AppPreferencesLocalStorage.prototype.fetch = function(successCallback, errorCallback, dict, key) { 6 | 7 | var self = this; 8 | 9 | var args = this.prepareKey ('get', dict, key); 10 | 11 | if (!args.key) { 12 | errorCallback (); 13 | return; 14 | } 15 | 16 | var key = args.key; 17 | 18 | if (args.dict) 19 | key = args.dict + '.' + args.key; 20 | 21 | var result = window.localStorage.getItem (key); 22 | 23 | var value = result; 24 | if (result) { 25 | try { 26 | value = JSON.parse (result); 27 | } catch (e) { 28 | } 29 | successCallback (value); 30 | } else { 31 | errorCallback(); 32 | } 33 | }; 34 | 35 | AppPreferencesLocalStorage.prototype.store = function(successCallback, errorCallback, dict, key, value) { 36 | 37 | var self = this; 38 | 39 | var args = this.prepareKey ('set', dict, key, value); 40 | 41 | if (!args.key || args.value === null || args.value === undefined) { 42 | errorCallback (); 43 | return; 44 | } 45 | 46 | var key = args.key; 47 | 48 | if (args.dict) 49 | key = args.dict + '.' + args.key; 50 | 51 | var value = JSON.stringify (args.value); 52 | 53 | window.localStorage.setItem (key, value); 54 | 55 | successCallback (); 56 | }; 57 | 58 | module.exports = new AppPreferencesLocalStorage(); 59 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/ios/AppPreferences.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppPreferences.h 3 | // 4 | // 5 | // Created by Tue Topholm on 31/01/11. 6 | // Copyright 2011 Sugee. All rights reserved. 7 | // 8 | // Modified by Ivan Baktsheev, 2012-2015 9 | // 10 | 11 | #import 12 | 13 | #import 14 | 15 | @interface AppPreferences : CDVPlugin 16 | 17 | - (void)defaultsChanged:(NSNotification *)notification; 18 | - (void)watch:(CDVInvokedUrlCommand*)command; 19 | - (void)fetch:(CDVInvokedUrlCommand*)command; 20 | - (void)remove:(CDVInvokedUrlCommand*)command; 21 | - (void)clearAll:(CDVInvokedUrlCommand*)command; 22 | - (void)show:(CDVInvokedUrlCommand*)command; 23 | - (void)store:(CDVInvokedUrlCommand*)command; 24 | - (NSString*)getSettingFromBundle:(NSString*)settingsName; 25 | 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/src/osx/AppPreferences.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppPreferences.h 3 | // 4 | // 5 | // Created by Tue Topholm on 31/01/11. 6 | // Copyright 2011 Sugee. All rights reserved. 7 | // 8 | // Modified by Ivan Baktsheev, 2012-2015 9 | // Modified by Tobias Bocanegra, 2015 10 | // 11 | 12 | #import 13 | 14 | #import 15 | #import 16 | 17 | @interface AppPreferences : CDVPlugin 18 | 19 | - (void)defaultsChanged:(NSNotification *)notification; 20 | - (void)watch:(CDVInvokedUrlCommand*)command; 21 | - (void)fetch:(CDVInvokedUrlCommand*)command; 22 | - (void)remove:(CDVInvokedUrlCommand*)command; 23 | - (void)clearAll:(CDVInvokedUrlCommand*)command; 24 | - (void)show:(CDVInvokedUrlCommand*)command; 25 | - (void)store:(CDVInvokedUrlCommand*)command; 26 | - (NSString*)getSettingFromBundle:(NSString*)settingsName; 27 | 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-app-preferences/www/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-insomnia", 3 | "version": "4.2.0", 4 | "description": "Prevent the screen of the mobile device from falling asleep.", 5 | "cordova": { 6 | "id": "cordova-plugin-insomnia", 7 | "platforms": [ 8 | "ios", 9 | "wp8", 10 | "windows", 11 | "android", 12 | "firefoxos" 13 | ] 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git" 18 | }, 19 | "keywords": [ 20 | "ecosystem:cordova", 21 | "cordova-ios", 22 | "cordova-wp8", 23 | "cordova-windows", 24 | "cordova-android", 25 | "cordova-firefoxos" 26 | ], 27 | "engines": [ 28 | { 29 | "name": "cordova", 30 | "version": ">=3.0.0" 31 | } 32 | ], 33 | "author": "Eddy Verbruggen (https://github.com/EddyVerbruggen)", 34 | "license": "MIT", 35 | "bugs": { 36 | "url": "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin/issues" 37 | }, 38 | "homepage": "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin#readme" 39 | } 40 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/src/firefoxos/insomnia.js: -------------------------------------------------------------------------------- 1 | var lock; 2 | 3 | module.exports = { 4 | keepAwake: function() { 5 | if (navigator.requestWakeLock) { 6 | lock = navigator.requestWakeLock("screen"); 7 | } 8 | }, 9 | allowSleepAgain: function() { 10 | if (lock && typeof lock.unlock === "function") { 11 | lock.unlock(); 12 | } 13 | } 14 | }; 15 | 16 | require("cordova/exec/proxy").add("Insomnia", module.exports); 17 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/src/ios/Insomnia.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface Insomnia :CDVPlugin 4 | 5 | - (void) keepAwake:(CDVInvokedUrlCommand*)command; 6 | 7 | - (void) allowSleepAgain:(CDVInvokedUrlCommand*)command; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/src/ios/Insomnia.m: -------------------------------------------------------------------------------- 1 | #import "Insomnia.h" 2 | #import 3 | 4 | @implementation Insomnia 5 | 6 | - (void) keepAwake:(CDVInvokedUrlCommand*)command { 7 | NSString *callbackId = command.callbackId; 8 | 9 | // Acquire a reference to the local UIApplication singleton 10 | UIApplication* app = [UIApplication sharedApplication]; 11 | 12 | if (![app isIdleTimerDisabled]) { 13 | [app setIdleTimerDisabled:true]; 14 | } 15 | CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; 16 | [self.commandDelegate sendPluginResult:result callbackId:callbackId]; 17 | } 18 | 19 | - (void) allowSleepAgain:(CDVInvokedUrlCommand*)command { 20 | NSString *callbackId = command.callbackId; 21 | 22 | // Acquire a reference to the local UIApplication singleton 23 | UIApplication* app = [UIApplication sharedApplication]; 24 | 25 | if([app isIdleTimerDisabled]) { 26 | [app setIdleTimerDisabled:false]; 27 | } 28 | CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; 29 | [self.commandDelegate sendPluginResult:result callbackId:callbackId]; 30 | } 31 | 32 | @end -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/src/wp8/Insomnia.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Phone.Shell; 2 | 3 | namespace WPCordovaClassLib.Cordova.Commands 4 | { 5 | public class Insomnia : BaseCommand 6 | { 7 | public void keepAwake(string options) 8 | { 9 | PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; 10 | DispatchCommandResult(new PluginResult(PluginResult.Status.OK)); 11 | } 12 | 13 | public void allowSleepAgain(string options) 14 | { 15 | PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled; 16 | DispatchCommandResult(new PluginResult(PluginResult.Status.OK)); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-insomnia/www/Insomnia.js: -------------------------------------------------------------------------------- 1 | function Insomnia() { 2 | } 3 | 4 | Insomnia.prototype.keepAwake = function (successCallback, errorCallback) { 5 | cordova.exec(successCallback, errorCallback, "Insomnia", "keepAwake", []); 6 | }; 7 | 8 | Insomnia.prototype.allowSleepAgain = function (successCallback, errorCallback) { 9 | cordova.exec(successCallback, errorCallback, "Insomnia", "allowSleepAgain", []); 10 | }; 11 | 12 | Insomnia.install = function () { 13 | if (!window.plugins) { 14 | window.plugins = {}; 15 | } 16 | 17 | window.plugins.insomnia = new Insomnia(); 18 | return window.plugins.insomnia; 19 | }; 20 | 21 | cordova.addConstructor(Insomnia.install); -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen", 3 | "version": "3.2.0", 4 | "description": "Cordova Splashscreen Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-splashscreen", 7 | "platforms": [ 8 | "android", 9 | "amazon-fireos", 10 | "ubuntu", 11 | "ios", 12 | "blackberry10", 13 | "wp8", 14 | "windows8", 15 | "windows", 16 | "tizen" 17 | ] 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/apache/cordova-plugin-splashscreen" 22 | }, 23 | "keywords": [ 24 | "cordova", 25 | "splashscreen", 26 | "ecosystem:cordova", 27 | "cordova-android", 28 | "cordova-amazon-fireos", 29 | "cordova-ubuntu", 30 | "cordova-ios", 31 | "cordova-blackberry10", 32 | "cordova-wp8", 33 | "cordova-windows8", 34 | "cordova-windows", 35 | "cordova-tizen" 36 | ], 37 | "engines": [ 38 | { 39 | "name": "cordova-android", 40 | "version": ">=3.6.0" 41 | } 42 | ], 43 | "author": "Apache Software Foundation", 44 | "license": "Apache 2.0" 45 | } 46 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/blackberry10/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Research In Motion Limited. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | module.exports = { 18 | show: function (success, fail, args, env) { 19 | var result = new PluginResult(args, env); 20 | result.error("Not supported on platform", false); 21 | }, 22 | 23 | hide: function (success, fail, args, env) { 24 | var result = new PluginResult(args, env); 25 | window.qnx.webplatform.getApplication().windowVisible = true; 26 | result.ok(undefined, false); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | typedef struct { 24 | BOOL iPhone; 25 | BOOL iPad; 26 | BOOL iPhone4; 27 | BOOL iPhone5; 28 | BOOL iPhone6; 29 | BOOL iPhone6Plus; 30 | BOOL retina; 31 | 32 | } CDV_iOSDevice; 33 | 34 | @interface CDVSplashScreen : CDVPlugin { 35 | UIActivityIndicatorView* _activityView; 36 | UIImageView* _imageView; 37 | NSString* _curImageName; 38 | BOOL _visible; 39 | } 40 | 41 | - (void)show:(CDVInvokedUrlCommand*)command; 42 | - (void)hide:(CDVInvokedUrlCommand*)command; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/ios/CDVViewController+SplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVViewController (SplashScreen) 23 | 24 | @property (nonatomic, assign) BOOL enabledAutorotation; 25 | @property (nonatomic, readonly) BOOL shouldAutorotateDefaultValue; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/tizen/SplashScreenProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | ( function() { 23 | 24 | win = null; 25 | 26 | module.exports = { 27 | show: function() { 28 | if ( win === null ) { 29 | win = window.open('splashscreen.html'); 30 | } 31 | }, 32 | 33 | hide: function() { 34 | if ( win !== null ) { 35 | win.close(); 36 | win = null; 37 | } 38 | } 39 | }; 40 | 41 | require("cordova/tizen/commandProxy").add("SplashScreen", module.exports); 42 | 43 | })(); 44 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #include 25 | 26 | #include "splashscreen.h" 27 | #include 28 | 29 | #define SPLASHSCREEN_STATE_NAME "splashscreen" 30 | 31 | Splashscreen::Splashscreen(Cordova *cordova): CPlugin(cordova) { 32 | } 33 | 34 | void Splashscreen::show(int, int) { 35 | m_cordova->rootObject()->setProperty("splashscreenPath", m_cordova->getSplashscreenPath()); 36 | 37 | m_cordova->pushViewState(SPLASHSCREEN_STATE_NAME); 38 | } 39 | 40 | void Splashscreen::hide(int, int) { 41 | m_cordova->popViewState(SPLASHSCREEN_STATE_NAME); 42 | } 43 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using Microsoft.Phone.Info; 16 | using System; 17 | using System.Windows; 18 | 19 | namespace WPCordovaClassLib.Cordova.Commands 20 | { 21 | public enum Resolutions { WVGA, WXGA, HD }; 22 | 23 | public static class ResolutionHelper 24 | { 25 | public static Resolutions CurrentResolution 26 | { 27 | get 28 | { 29 | switch (Application.Current.Host.Content.ScaleFactor) 30 | { 31 | case 100: return Resolutions.WVGA; 32 | case 160: return Resolutions.WXGA; 33 | case 150: return Resolutions.HD; 34 | } 35 | throw new InvalidOperationException("Unknown resolution"); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/.npmignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/doc/ja/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen の iOS のテスト 21 | 22 | `Node.js` `コルドバ`ios をプルするをインストールする必要があります。. 23 | 24 | コルドバ ios をインストールします。 25 | 26 | npm install 27 | 28 | 29 | 現在のフォルダーに. 30 | 31 | # Xcode からテスト 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace`ファイルを起動します。 34 | 2. スキーム] ドロップダウン メニューから"CDVSplashScreenLibTests"を選択します。 35 | 3. クリックし、`再生`ボタンを押し、テストを実行する`レンチ`のアイコンを選択 36 | 37 | # コマンドラインからテスト 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/doc/ko/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen에 대 한 iOS 테스트 21 | 22 | `Node.js` `코르도바` ios에서를 설치 해야. 23 | 24 | 코르도바-ios를 설치 하는 첫번째는: 25 | 26 | npm install 27 | 28 | 29 | 현재 폴더에.... 30 | 31 | # Xcode에서 테스트 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace` 파일을 시작 합니다. 34 | 2. 구성표 드롭 다운 메뉴에서 "CDVSplashScreenLibTests"를 선택 35 | 3. 클릭 하 고 `재생` 버튼에는 테스트를 실행 하려면 `공구 모양` 아이콘을 선택 36 | 37 | # 명령줄에서 테스트 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/doc/pl/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS testy dla CDVSplashScreen 21 | 22 | Musisz zainstalować `node.js` ciągnąć w `cordova-ios`. 23 | 24 | Najpierw zainstalować cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... w folderze bieżącym. 30 | 31 | # Badania z Xcode 32 | 33 | 1. Uruchom plik `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wybierz z menu rozwijanego systemu "CDVSplashScreenLibTests" 35 | 3. Kliknij i przytrzymaj przycisk `Play` i wybrać ikonę `klucz` do testów 36 | 37 | # Badania z wiersza polecenia 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/doc/zh/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen 的 iOS 測試 21 | 22 | 您需要安裝`node.js`拉`科爾多瓦 ios`中. 23 | 24 | 第一次安裝科爾多瓦 ios: 25 | 26 | npm install 27 | 28 | 29 | 在當前資料夾中。 30 | 31 | # 從 Xcode 測試 32 | 33 | 1. 啟動`CDVSplashScreenTest.xcworkspace`檔。 34 | 2. 從方案下拉式功能表中選擇"CDVSplashScreenLibTests" 35 | 3. 按一下並堅持`播放`按鈕,然後選擇要運行的測試的`扳手`圖示 36 | 37 | # 從命令列測試 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/ios/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen-test-ios", 3 | "version": "1.0.0", 4 | "description": "iOS Unit Tests for Splashscreen Plugin", 5 | "author": "Apache Software Foundation", 6 | "license": "Apache Version 2.0", 7 | "dependencies": { 8 | "cordova-ios": "^3.6.0" 9 | }, 10 | "scripts": { 11 | "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" 12 | } 13 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova Splashscreen Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-splashscreen/www/splashscreen.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var exec = require('cordova/exec'); 23 | 24 | var splashscreen = { 25 | show:function() { 26 | exec(null, null, "SplashScreen", "show", []); 27 | }, 28 | hide:function() { 29 | exec(null, null, "SplashScreen", "hide", []); 30 | } 31 | }; 32 | 33 | module.exports = splashscreen; 34 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-whitelist/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-whitelist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-whitelist", 3 | "version": "1.2.1", 4 | "description": "Cordova Whitelist Plugin", 5 | "cordova": { 6 | "platforms": [ 7 | "android" 8 | ] 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/apache/cordova-plugin-whitelist" 13 | }, 14 | "keywords": [ 15 | "cordova", 16 | "whitelist", 17 | "ecosystem:cordova", 18 | "cordova-android" 19 | ], 20 | "engines": [ 21 | { 22 | "name": "cordova-android", 23 | "version": ">=4.0.0" 24 | } 25 | ], 26 | "author": "Apache Software Foundation", 27 | "license": "Apache 2.0" 28 | } 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/cordova-plugin-whitelist/whitelist.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | * 19 | */ 20 | 21 | if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) { 22 | var msg = 'No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.'; 23 | console.error(msg); 24 | setInterval(function() { 25 | console.warn(msg); 26 | }, 10000); 27 | } 28 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/plugins/fetch.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-plugin-whitelist": { 3 | "source": { 4 | "type": "registry", 5 | "id": "cordova-plugin-whitelist@1" 6 | }, 7 | "is_top_level": true, 8 | "variables": {} 9 | }, 10 | "cordova-plugin-splashscreen": { 11 | "source": { 12 | "type": "registry", 13 | "id": "cordova-plugin-splashscreen" 14 | }, 15 | "is_top_level": true, 16 | "variables": {} 17 | }, 18 | "cordova-plugin-app-preferences": { 19 | "source": { 20 | "type": "git", 21 | "url": "https://github.com/apla/me.apla.cordova.app-preferences.git", 22 | "subdir": "." 23 | }, 24 | "is_top_level": true, 25 | "variables": {} 26 | }, 27 | "cordova-plugin-insomnia": { 28 | "source": { 29 | "type": "git", 30 | "url": "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git", 31 | "subdir": "." 32 | }, 33 | "is_top_level": true, 34 | "variables": {} 35 | } 36 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square71x71Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square71x71Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/logo.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/smalllogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/smalllogo.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/storelogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/windows/storelogo.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/icon-173-tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/icon-173-tile.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/icon-62-tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/icons/wp8/icon-62-tile.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/splashscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/windows/splashscreen.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/wp8/SplashScreenImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/wp8/SplashScreenImage.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/res/screens/wp8/screen-portrait.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/res/screens/wp8/screen-portrait.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/scripts/index.ts: -------------------------------------------------------------------------------- 1 | // For an introduction to the Blank template, see the following documentation: 2 | // http://go.microsoft.com/fwlink/?LinkID=397705 3 | // To debug code on page load in Ripple or on Android devices/emulators: launch your app, set breakpoints, 4 | // and then run "window.location.reload()" in the JavaScript Console. 5 | module Funbit.Ets.Telemetry.Mobile { 6 | "use strict"; 7 | 8 | export module Application { 9 | export function initialize() { 10 | document.addEventListener('deviceready', onDeviceReady, false); 11 | } 12 | 13 | function onDeviceReady() { 14 | // Handle the Cordova pause and resume events 15 | document.addEventListener('pause', onPause, false); 16 | document.addEventListener('resume', onResume, false); 17 | 18 | // TODO: Cordova has been loaded. Perform any initialization that requires Cordova here. 19 | } 20 | 21 | function onPause() { 22 | // TODO: This application has been suspended. Save application state here. 23 | } 24 | 25 | function onResume() { 26 | // TODO: This application has been reactivated. Restore application state here. 27 | } 28 | 29 | } 30 | 31 | window.onload = function () { 32 | Application.initialize(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/scripts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "noImplicitAny": false, 5 | "removeComments": false, 6 | "sourceMap": true, 7 | "inlineSources": true, 8 | "noEmitOnError": true, 9 | "out": "www/scripts/appBundle.js" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/scripts/typings/cordova/plugins/Device.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Device plugin. 2 | // Project: https://github.com/apache/cordova-plugin-device 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | /** 10 | * This plugin defines a global device object, which describes the device's hardware and software. 11 | * Although the object is in the global scope, it is not available until after the deviceready event. 12 | */ 13 | interface Device { 14 | /** Get the version of Cordova running on the device. */ 15 | cordova: string; 16 | /** 17 | * The device.model returns the name of the device's model or product. The value is set 18 | * by the device manufacturer and may be different across versions of the same product. 19 | */ 20 | model: string; 21 | /** Get the device's operating system name. */ 22 | platform: string; 23 | /** Get the device's Universally Unique Identifier (UUID). */ 24 | uuid: string; 25 | /** Get the operating system version. */ 26 | version: string; 27 | } 28 | 29 | declare var device: Device; -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/scripts/typings/cordova/plugins/Splashscreen.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Splashscreen plugin. 2 | // Project: https://github.com/apache/cordova-plugin-splashscreen 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | interface Navigator { 10 | /** This plugin displays and hides a splash screen during application launch. */ 11 | splashscreen: { 12 | /** Dismiss the splash screen. */ 13 | hide(): void; 14 | /** Displays the splash screen. */ 15 | show(): void; 16 | } 17 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/scripts/typings/cordova/plugins/Vibration.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Vibration plugin. 2 | // Project: https://github.com/apache/cordova-plugin-vibration 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | interface Notification { 10 | /** 11 | * Vibrates the device for the specified amount of time. 12 | * @param time Milliseconds to vibrate the device. Ignored on iOS. 13 | */ 14 | vibrate(time: number): void 15 | /** 16 | * Vibrates the device with a given pattern. 17 | * @param number[] pattern Pattern with which to vibrate the device. 18 | * The first value - number of milliseconds to wait before turning the vibrator on. 19 | * The next value - the number of milliseconds for which to keep the vibrator on before turning it off. 20 | * @param number repeat Optional index into the pattern array at which to start repeating (will repeat until canceled), 21 | * or -1 for no repetition (default). 22 | */ 23 | vibrateWithPattern(pattern: number[], repeat: number): void; 24 | /** 25 | * Immediately cancels any currently running vibration. 26 | */ 27 | cancelVibration(): void; 28 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/taco.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-cli": "5.4.1" 3 | } 4 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/dashboard-host.css: -------------------------------------------------------------------------------- 1 | /* 2 | *** DO NOT CHANGE THIS STYLESHEET *** 3 | */ 4 | body { 5 | background-color: #1d1d1d; 6 | width: 100%; 7 | height: 100%; 8 | margin: 0; 9 | padding: 0; 10 | -moz-transform-origin: left top; 11 | -ms-transform-origin: left top; 12 | -o-transform-origin: left top; 13 | -webkit-transform-origin: left top; 14 | transform-origin: left top; 15 | -moz-transform: scale(1); 16 | -ms-transform: scale(1); 17 | -o-transform: scale(1); 18 | -webkit-transform: scale(1); 19 | transform: scale(1); 20 | overflow: hidden; 21 | } 22 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/dashboard-host.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 6 | 7 | 8 | ETS2/ATS Dashboard 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/dashboard-host.less: -------------------------------------------------------------------------------- 1 | /* 2 | *** DO NOT CHANGE THIS STYLESHEET *** 3 | */ 4 | 5 | body { 6 | cursor: pointer; 7 | background-color: #1d1d1d; 8 | width: 100%; 9 | height: 100%; 10 | margin: 0; 11 | padding: 0; 12 | -moz-transform-origin: left top; 13 | -ms-transform-origin: left top; 14 | -o-transform-origin: left top; 15 | -webkit-transform-origin: left top; 16 | transform-origin: left top; 17 | -moz-transform: scale(1); 18 | -ms-transform: scale(1); 19 | -o-transform: scale(1); 20 | -webkit-transform: scale(1); 21 | transform: scale(1); 22 | overflow: hidden; 23 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/dashboard-host.min.css: -------------------------------------------------------------------------------- 1 | body{cursor:pointer;background-color:#1d1d1d;width:100%;height:100%;margin:0;padding:0;-moz-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;-webkit-transform-origin:left top;transform-origin:left top;-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);overflow:hidden} -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/images/app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/images/app-icon.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/images/disclosure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/images/disclosure.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/images/donate-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/images/donate-link.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/images/menu-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/images/menu-background.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | /* 2 | *** DO NOT CHANGE THIS SCRIPT *** 3 | */ 4 | 5 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/scripts/typings/dot.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for doT v1.0.1 2 | // Project: https://github.com/olado/doT 3 | // Definitions by: ZombieHunter 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | declare var doT: doT.doTStatic; 7 | 8 | declare module doT { 9 | 10 | interface doTStatic { 11 | /** 12 | * Version number 13 | */ 14 | version: string; 15 | /** 16 | * Default template settings 17 | */ 18 | templateSettings: TemplateSettings; 19 | 20 | /** 21 | * Compile template 22 | */ 23 | template(tmpl: string, c?: TemplateSettings, def?: Object): Function; 24 | 25 | /** 26 | * For express 27 | */ 28 | compile(tmpl: string, def?: Object): Function; 29 | } 30 | 31 | interface TemplateSettings { 32 | evaluate: RegExp; 33 | interpolate: RegExp; 34 | encode: RegExp; 35 | use: RegExp; 36 | useParams: RegExp; 37 | define: RegExp; 38 | defineParams: RegExp; 39 | conditional: RegExp; 40 | iterate: RegExp; 41 | varname: string; 42 | strip: boolean; 43 | append: boolean; 44 | selfcontained: boolean; 45 | } 46 | } 47 | 48 | interface String { 49 | encodeHTML(): string; 50 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "default", 18 | "title": "Generic Dashboard / KMH", 19 | "author": "Funbit", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/dashboard.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/bg-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/bg-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/bg-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/bg-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-left-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-left-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-left-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-left-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-right-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-right-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-right-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/blinker-right-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/cruise-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/cruise-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/cruise-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/cruise-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/highbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/highbeam-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/highbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/highbeam-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/lowbeam-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/lowbeam-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/lowbeam-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/lowbeam-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/parklights-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/parklights-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/parklights-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/parklights-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/trailer-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/trailer-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/trailer-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/default/images/trailer-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/default/index.min.css: -------------------------------------------------------------------------------- 1 | .speedometer-arrow{background-color:#7cfc00} -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/template/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "comments": [ 3 | "==============================", 4 | " SKIN CONFIGURATION ", 5 | "==============================", 6 | 7 | "Required properties:", 8 | 9 | " name: name of the skin (directory name: /skins/name)", 10 | " title: human readable skin title", 11 | " author: author name", 12 | " width: width of the skin in pixels (same as defined in the CSS)", 13 | " height: height of the skin in pixels (same as defined in the CSS)" 14 | ], 15 | 16 | "config": { 17 | "name": "template", 18 | "title": "Dashboard Skin Template", 19 | "author": "Funbit", 20 | "width": 2048, 21 | "height": 1152 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/template/dashboard.html: -------------------------------------------------------------------------------- 1 | 
2 |
km/h
3 |
4 |
-------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/template/dashboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/template/dashboard.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/template/images/bg-off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/template/images/bg-off.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Mobile/www/skins/template/images/bg-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Mobile/www/skins/template/images/bg-on.jpg -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Helpers/AssemblyHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Diagnostics; 2 | 3 | namespace Funbit.Ets.Telemetry.Server.Helpers 4 | { 5 | public static class AssemblyHelper 6 | { 7 | public static string Version 8 | { 9 | get 10 | { 11 | FileVersionInfo versionInfo = FileVersionInfo.GetVersionInfo( 12 | Process.GetCurrentProcess().MainModule.FileName); 13 | string version = $"{versionInfo.FileMajorPart}.{versionInfo.FileMinorPart}.{versionInfo.ProductBuildPart}"; 14 | return version; 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Helpers/ExceptionExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace Funbit.Ets.Telemetry.Server.Helpers 5 | { 6 | public static class ExceptionExtensions 7 | { 8 | public static void ShowAsMessageBox(this Exception exception, IWin32Window owner, string caption, 9 | MessageBoxIcon icon = MessageBoxIcon.Error) 10 | { 11 | MessageBox.Show(owner, exception.Message, caption, MessageBoxButtons.OK, icon); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Helpers/JsonHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Newtonsoft.Json; 3 | using Newtonsoft.Json.Converters; 4 | using Newtonsoft.Json.Serialization; 5 | 6 | namespace Funbit.Ets.Telemetry.Server.Helpers 7 | { 8 | public static class JsonHelper 9 | { 10 | static readonly Lazy RestSettingsLazy = new Lazy(() => 11 | { 12 | var restJsonSettings = new JsonSerializerSettings(); 13 | restJsonSettings.Converters.Add(new StringEnumConverter()); 14 | restJsonSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); 15 | restJsonSettings.ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor; 16 | return restJsonSettings; 17 | }); 18 | 19 | public static readonly JsonSerializerSettings RestSettings = RestSettingsLazy.Value; 20 | } 21 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Html/cordova.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Html/scripts/cordova-app.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Html/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | /* this is a dummy script that replaces cordova engine */ -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.34014 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Funbit.Ets.Telemetry.Server.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Resources/app.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Server/Resources/app.ico -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Resources/check-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Server/Resources/check-error.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Resources/check-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Server/Resources/check-off.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Resources/check-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Server/Resources/check-on.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Funbit/ets2-telemetry-server/1a5e8abb669b0dc0fa0638f03bed55af120f03cf/source/Funbit.Ets.Telemetry.Server/Resources/close.png -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Setup/ISetup.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | 3 | namespace Funbit.Ets.Telemetry.Server.Setup 4 | { 5 | public interface ISetup 6 | { 7 | SetupStatus Status { get; } 8 | SetupStatus Install(IWin32Window owner); 9 | SetupStatus Uninstall(IWin32Window owner); 10 | } 11 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Setup/SetupManager.cs: -------------------------------------------------------------------------------- 1 | namespace Funbit.Ets.Telemetry.Server.Setup 2 | { 3 | public static class SetupManager 4 | { 5 | public static ISetup[] Steps; 6 | 7 | static SetupManager() 8 | { 9 | Steps = new ISetup[] 10 | { 11 | new PluginSetup(), 12 | new FirewallSetup(), 13 | new UrlReservationSetup() 14 | }; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Setup/SetupStatus.cs: -------------------------------------------------------------------------------- 1 | namespace Funbit.Ets.Telemetry.Server.Setup 2 | { 3 | public enum SetupStatus 4 | { 5 | Uninstalled, 6 | Installed, 7 | Failed 8 | } 9 | } -------------------------------------------------------------------------------- /source/Funbit.Ets.Telemetry.Server/Startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Net.Http.Formatting; 3 | using System.Web.Http; 4 | using Funbit.Ets.Telemetry.Server.Helpers; 5 | using Microsoft.AspNet.SignalR; 6 | using Microsoft.Owin.Cors; 7 | using Owin; 8 | 9 | namespace Funbit.Ets.Telemetry.Server 10 | { 11 | public class Startup 12 | { 13 | public void Configuration(IAppBuilder appBuilder) 14 | { 15 | HttpConfiguration config = new HttpConfiguration(); 16 | 17 | config.Formatters.Clear(); 18 | config.Formatters.Add(new JsonMediaTypeFormatter()); 19 | config.Formatters 20 | .JsonFormatter 21 | .SerializerSettings = JsonHelper.RestSettings; 22 | 23 | config.MapHttpAttributeRoutes(); 24 | config.EnsureInitialized(); 25 | 26 | GlobalHost.Configuration.ConnectionTimeout = TimeSpan.FromSeconds(12); 27 | GlobalHost.Configuration.DisconnectTimeout = TimeSpan.FromSeconds(9); 28 | GlobalHost.Configuration.KeepAlive = TimeSpan.FromSeconds(3); 29 | appBuilder.MapSignalR(); 30 | 31 | appBuilder.UseWebApi(config); 32 | appBuilder.UseCors(CorsOptions.AllowAll); 33 | } 34 | } 35 | } 36 | --------------------------------------------------------------------------------