| | |
| | | @PropertyDef(label = "预置位编号") |
| | | private String preset; |
| | | |
| | | public SecSnapDepot() { |
| | | } |
| | | |
| | | public SecSnapDepot(String id, String companyId, String deptId, String depotId, String cameraId, String result, Date updateTime, String fileSuffix, String fileName, String preset) { |
| | | this.id = id; |
| | | this.companyId = companyId; |
| | | this.deptId = deptId; |
| | | this.depotId = depotId; |
| | | this.cameraId = cameraId; |
| | | this.result = result; |
| | | this.updateTime = updateTime; |
| | | this.fileSuffix = fileSuffix; |
| | | this.fileName = fileName; |
| | | this.preset = preset; |
| | | } |
| | | |
| | | public SecSnapDepot(String tag) { |
| | | if ("TEST".equals(tag)) { |
| | | this.id = "TEST"; |
| | | this.fileName = "./static/images/img-fail.jpg"; |
| | | this.updateTime = new Date(); |
| | | } |
| | | } |
| | | } |