status.dart 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // ignore_for_file: constant_identifier_names
  2. abstract class VDeviceSdkStatus {
  3. /// 未注册回调接口
  4. static const int CALLBACK_UNDEFINED = 95;
  5. /// 参数传递错误
  6. static const int PARAM_ERROR = 96;
  7. /// 不支持该型号设备驱动
  8. static const int DEVICE_UNSUPPORT = 97;
  9. /// 蓝牙未开启
  10. static const int BLE_NOT_ON = 98;
  11. /// 蓝牙连接中
  12. static const int BLE_CONNECTING = 99;
  13. /// 连接蓝牙成功
  14. static const int BLE_CONNECT_SUCCESS = 100;
  15. /// 连接蓝牙失败
  16. static const int BLE_CONNECT_FAIL = 101;
  17. /// 蓝牙断开
  18. static const int BLE_DISCONNECTED = 102;
  19. /// 未搜索到蓝牙设备
  20. static const int BLE_DEVICE_NOT_FOUND = 103;
  21. /// 搜索到设备
  22. static const int BLE_DEVICE_FOUND = 104;
  23. /// 开始搜索
  24. static const int DEVICE_SEARCH_START = 105;
  25. /// 搜索结束
  26. static const int DEVICE_SEARCH_STOP = 106;
  27. /// 蓝牙连接成功,注册通知失败
  28. static const int BLUETOOTH_CONNECTED_NO_NOTIFY = 107;
  29. /// 该设备需要绑定配对,才可以连接
  30. static const int DEVICE_NOT_MATCHED = 108;
  31. /// Mac地址无效
  32. static const int DEVICE_MAC_INVALID = 109;
  33. /// 体温测量成功
  34. static const int EXAM_TEMP_SUCCESS = 1000;
  35. /// 体温测量错误
  36. static const int EXAM_TEMP_ERROR = 1001;
  37. /// 体温过低
  38. static const int EXAM_TEMP_TOO_LOW = 1002;
  39. /// 体温过高
  40. static const int EXAM_TEMP_TOO_HIGH = 1003;
  41. /// 体重测量成功
  42. static const int EXAM_WEIGHT_SUCCESS = 1100;
  43. /// 体重测量错误
  44. static const int EXAM_WEIGHT_ERROR = 1101;
  45. }