RobotsParam.ets 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. export class RobotInfo {
  2. // id
  3. id?: number;
  4. // 机器人编码
  5. robotCode?:string;
  6. // 所属仓库id
  7. storageId?: number;
  8. // 机器人位置x坐标
  9. x?: number = 0
  10. // 机器人位置y坐标
  11. y?: number = 0
  12. // 车类型(1:轨道 2:仓储)
  13. robotType?:number
  14. //机器人的朝向(1:x+ 2:x- 3:y+ 4:y-)
  15. robotToward?: number = 0
  16. // 上次自检日期
  17. lastSelfCheck? : string
  18. robotId?:number
  19. checkName?:string
  20. checkTime?:string
  21. checkStatus?:number
  22. }
  23. export class RgvInfo{
  24. id?:string
  25. x?:string
  26. y?:string
  27. rx?:string
  28. ry?:string
  29. status?:string
  30. auto?:string
  31. dx?:string
  32. dy?:string
  33. mv?:string
  34. batlevel?:string
  35. charging?:string
  36. errCode?:string
  37. cmd?:string
  38. load?:string
  39. boxNo?:string
  40. regTime?:string
  41. traMiles?:string
  42. chargeCount?:string
  43. forward?:string
  44. ts?:string
  45. }
  46. export class RequestParam {
  47. rgvNo?: string
  48. x?: string
  49. y?: string
  50. category?: number
  51. state?: number
  52. option?: string
  53. level?: string
  54. action?: string
  55. destX?:string
  56. destY?:string
  57. }
  58. export interface ConfirmDialogParams {
  59. title?: string
  60. message: string
  61. confirmText?: string
  62. cancelText?: string
  63. onConfirm: () => void
  64. }
  65. export class RobotSingleMovePost{
  66. rgvNo?:string
  67. direction?:string;
  68. len?:string;
  69. }
  70. export class ErrorMessage{
  71. code?:string
  72. message?:string
  73. data?:string
  74. }