devices.go 1002 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package main
  2. import (
  3. )
  4. /*
  5. Device Handler
  6. This script mainly handle the external devices like client devices reflect information
  7. or IoT devices. If you want to handle storage devices mounting, use system.storage.go instead.
  8. */
  9. func DeviceServiceInit(){
  10. //Register Device related settings. Compatible to ArOZ Online Beta
  11. registerSetting(settingModule{
  12. Name: "Client Device",
  13. Desc: "Detail about the browser you are using",
  14. IconPath: "SystemAO/info/img/small_icon.png",
  15. Group: "Device",
  16. StartDir: "SystemAO/info/clientInfo.html",
  17. })
  18. registerSetting(settingModule{
  19. Name: "Audio Testing",
  20. Desc: "Speaker and volume testing",
  21. IconPath: "SystemAO/info/img/small_icon.png",
  22. Group: "Device",
  23. StartDir: "SystemAO/info/audio.html",
  24. })
  25. registerSetting(settingModule{
  26. Name: "Display Testing",
  27. Desc: "Display testing tools",
  28. IconPath: "SystemAO/info/img/small_icon.png",
  29. Group: "Device",
  30. StartDir: "SystemAO/info/display.html",
  31. })
  32. }