53 lines
1.8 KiB
C#
53 lines
1.8 KiB
C#
namespace WorkerService1.Dto.QueryResponse;
|
|
|
|
public class CameraResponse: KSResponse<PageData<CameraItem>>
|
|
{
|
|
|
|
}
|
|
|
|
// {
|
|
// "alarmShortVideo": true,
|
|
// "bodyAnalyze": "0",
|
|
// "closed": true,
|
|
// "deptId": "6e9232ef-7b84-11e8-86b1-6c92bf4e6960",
|
|
// "deptName": "甘泉街道",
|
|
// "faceAnalyze": "0",
|
|
// "gaPlatformDeviceId": "",
|
|
// "gaPlatformId": "",
|
|
// "gbPlatformDeviceId": "",
|
|
// "gbPlatformId": "",
|
|
// "id": "14324899222782976",
|
|
// "labelCodes": [],
|
|
// "labels": [],
|
|
// "lat": 31.27466,
|
|
// "location": "",
|
|
// "lon": 121.44307,
|
|
// "lowQuality": false,
|
|
// "managementId": "6e9232ef-7b84-11e8-86b1-6c92bf4e6960",
|
|
// "managementName": "甘泉街道",
|
|
// "manufacturer": 2,
|
|
// "monitoringType": 1,
|
|
// "motorVehicleAnalyze": "0",
|
|
// "name": "新沪小区595弄3号北",
|
|
// "nonMotorVehicleAnalyze": "0",
|
|
// "numeration": "",
|
|
// "optPermissions": true,
|
|
// "placeIds": [],
|
|
// "policeNet": true,
|
|
// "pulled": true,
|
|
// "rainbowStatus": 0,
|
|
// "roi": "[]",
|
|
// "rois": [],
|
|
// "sncode": "",
|
|
// "status": 1,
|
|
// "systemType": "rainbow-device",
|
|
// "type": 1,
|
|
// "vlowQuality": false
|
|
// }
|
|
public record CameraItem(bool alarmShortVideo, string bodyAnalyze, bool closed, string deptId, string deptName,
|
|
string faceAnalyze, string gaPlatformDeviceId, string gaPlatformId, string gbPlatformDeviceId, string gbPlatformId,
|
|
string id, List<string> labelCodes, List<string> labels, double lat, string location, double lon, bool lowQuality,
|
|
string managementId, string managementName, int manufacturer, int monitoringType, string motorVehicleAnalyze,
|
|
string name, string nonMotorVehicleAnalyze, string numeration, bool optPermissions, List<string> placeIds,
|
|
bool policeNet, bool pulled, int rainbowStatus, string roi, List<string> rois, string sncode, int status,
|
|
string systemType, int type, bool vlowQuality); |