import { resultSuccess } from '../_util';

const list = [
  {
    cameraIp: '10.10.10.10',
    cameraMac: '255.255.255.255',
    cameraPort: '8080',
    cameraType: 'haikang',
    createdAt: '',
    id: 0,
    integrationState: 0,
    isDeleted: 0,
    code: 'SHGD-XDJS-0001',
    networkingState: 0,
    nvrEndAt: '',
    nvrPeriod: 0,
    nvrStartAt: '',
    remark: '',
    resolution: 0,
    status: 0,
    updatedAt: '',
    workshopName: 'ARJ21部装车间',
    workspaceName: '200工位',
  },
  {
    cameraIp: '10.10.10.10',
    cameraMac: '255.255.255.255',
    cameraPort: '8080',
    cameraType: 'anxus',
    createdAt: '',
    id: 0,
    integrationState: 0,
    isDeleted: 0,
    code: 'SHGD-XDJS-0002',
    networkingState: 0,
    nvrEndAt: '',
    nvrPeriod: 0,
    nvrStartAt: '',
    remark: '',
    resolution: 0,
    status: 0,
    updatedAt: '',
    workshopName: 'ARJ21部装车间',
    workspaceName: '200工位',
  },
  {
    cameraIp: '10.10.10.10',
    cameraMac: '255.255.255.255',
    cameraPort: '8080',
    cameraType: 'haikang',
    createdAt: '',
    id: 0,
    integrationState: 0,
    isDeleted: 0,
    code: 'SHGD-XDJS-0003',
    networkingState: 1,
    nvrEndAt: '',
    nvrPeriod: 0,
    nvrStartAt: '',
    remark: '',
    resolution: 0,
    status: 0,
    updatedAt: '',
    workshopName: 'ARJ21部装车间',
    workspaceName: '200工位',
  },
  {
    cameraIp: '10.10.10.10',
    cameraMac: '255.255.255.255',
    cameraPort: '8080',
    cameraType: 'haikang',
    createdAt: '',
    id: 0,
    integrationState: 0,
    isDeleted: 0,
    code: 'SHGD-XDJS-0004',
    networkingState: 0,
    nvrEndAt: '',
    nvrPeriod: 0,
    nvrStartAt: '',
    remark: '',
    resolution: 0,
    status: 0,
    updatedAt: '',
    workshopName: 'ARJ21部装车间',
    workspaceName: '200工位',
  },
  {
    cameraIp: '10.10.10.10',
    cameraMac: '255.255.255.255',
    cameraPort: '8080',
    cameraType: 'dahua',
    createdAt: '',
    id: 0,
    integrationState: 0,
    isDeleted: 0,
    code: 'SHGD-XDJS-0005',
    networkingState: 0,
    nvrEndAt: '',
    nvrPeriod: 0,
    nvrStartAt: '',
    remark: '',
    resolution: 0,
    status: 0,
    updatedAt: '',
    workshopName: 'ARJ21部装车间',
    workspaceName: '200工位',
  },
];

export default [
  {
    url: '/cameraConfig/getCamera',
    timeout: 1000,
    method: 'get',
    response: () => {
      return resultSuccess(list);
    },
  },
];
