etc.proto 511 B

1234567891011121314151617181920212223
  1. syntax = "proto2";
  2. enum DeviceType {
  3. DEVICE_TYPE_VZ_DS_77_LITE = 0;
  4. DEVICE_TYPE_VZ_DS_77_CLITE = 1;
  5. DEVICE_TYPE_VZ_DS_77_PRO = 2;
  6. DEVICE_TYPE_VZ_DS_77_CPRO = 3;
  7. }
  8. message DeviceEtcInfo{
  9. }
  10. message VzenseTofDevices {
  11. optional bool enable = 1 [default = true];
  12. optional DeviceType type = 2 [default = DEVICE_TYPE_VZ_DS_77_LITE];
  13. optional string ipv4 = 3 [default = "192.168.1.101"];
  14. required int32 id = 4;
  15. }
  16. message DevicesConfig {
  17. repeated VzenseTofDevices devices = 1;
  18. }