cameraType.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /** 相机详情类型 */
  2. export interface CameraDetailServer {
  3. /*自增主键 */
  4. id: number;
  5. /*车间id */
  6. workshopId: number;
  7. /*工位id */
  8. workspaceId: number;
  9. /*相机名称 */
  10. name: string;
  11. /*相机编号 */
  12. code: string;
  13. /*相机IP */
  14. cameraIp: string;
  15. /*相机端口 */
  16. cameraPort: string;
  17. /*登录账号(用户名) */
  18. username: string;
  19. /*密码 */
  20. password: string;
  21. /*相机类型: haikang/dahua/anxus/huawei */
  22. cameraType: string;
  23. /*描述 */
  24. remark: string;
  25. /*相机是否支持移动缩放:0-不支持;1-支持 */
  26. isPtz: number;
  27. /*相机的ONVIF端口号 */
  28. onvifPort: string;
  29. /*添加方式: IP,NVR,RTSP */
  30. sourceType: string;
  31. /*rtsp地址 */
  32. rtspUrl: string;
  33. /*NVR id */
  34. nvrId: number;
  35. /*NVR通道号 */
  36. nvrChannel: string;
  37. /*视频编码标准,H264, H265 */
  38. videoStandard: string;
  39. /*视频服务类型,TCP, UDP, AUTO */
  40. videoServiceType: string;
  41. /*状态: 0-启用, 1-禁用 */
  42. isDisabled: number;
  43. /*创建人 */
  44. createdBy: number;
  45. /*更新人 */
  46. updatedBy: number;
  47. /*创建时间 */
  48. createdAt: Record<string, unknown>;
  49. /*更新时间 */
  50. updatedAt: Record<string, unknown>;
  51. /*0-未删除,大于0(时间戳)-已删除 */
  52. isDeleted: number;
  53. /*租户ID */
  54. tenantId: number;
  55. /*联网状态: 0-启用, 1-禁用 */
  56. networkingState: number;
  57. /*接入状态: 0-启用, 1-禁用 */
  58. integrationState: number;
  59. /*渲染选择,无渲染/某个算法 */
  60. render: string;
  61. /*版本 */
  62. version: number;
  63. /*扩展数据 */
  64. extra: string;
  65. /*业务场景 */
  66. sceneTemplateList: {
  67. /*场景id */
  68. sceneId: number;
  69. /*模板id */
  70. templateId: number;
  71. templateCode: string;
  72. }[];
  73. /* */
  74. pushStreamDTO: {
  75. /* */
  76. videoUrls: {
  77. /*推流地址(前端播放的地址) */
  78. pushstreamIp: string;
  79. /*渲染推流地址(前端播放的渲染地址) */
  80. pushstreamRenderUrl: string;
  81. /*ios推流地址(前端播放的地址) */
  82. m3u8PushstreamIp: string;
  83. /*ios推流地址(前端播放的地址) */
  84. m3u8PushstreamRenderIp: string;
  85. /*推流地址(前端播放的地址) */
  86. pushstreamIpAbs: string;
  87. /*渲染推流地址(前端播放的渲染地址) */
  88. pushstreamRenderUrlAbs: string;
  89. /*ios推流地址(前端播放的地址) */
  90. m3u8PushstreamIpAbs: string;
  91. /*ios推流地址(前端播放的地址) */
  92. m3u8PushstreamRenderIpAbs: string;
  93. };
  94. /*摄像头实时记录的画面 */
  95. imageUrl: string;
  96. };
  97. }