一网通办ios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SysInfo.swift 1.0 KiB

2 年之前
123456789101112131415161718192021222324252627282930313233
  1. //
  2. // SysInfo.swift
  3. // ywt-client-ios
  4. //
  5. // Created by 北京居家科技有限公司 on 2022/3/23.
  6. //
  7. import Foundation
  8. struct SysInfo : Encodable {
  9. var versionName: String;
  10. var versionCode: String;
  11. var is_dev: Bool;
  12. var device_key: UUID;
  13. var device_type: String;
  14. var device_model: String;
  15. var device_sys_version: String;
  16. var device_screen_width: Double;
  17. var device_screen_height: Double;
  18. init(versionName: String, versionCode: String, is_dev: Bool, device_key: UUID, device_type: String,
  19. device_model: String, device_sys_version: String, device_screen_width: Double, device_screen_height: Double) {
  20. self.versionName = versionName
  21. self.versionCode = versionCode
  22. self.is_dev = is_dev
  23. self.device_key = device_key
  24. self.device_type = device_type
  25. self.device_model = device_model
  26. self.device_sys_version = device_sys_version
  27. self.device_screen_width = device_screen_width
  28. self.device_screen_height = device_screen_height
  29. }
  30. }