|
|
@ -32,9 +32,9 @@ public class RobotDigitTypeHandler implements IRobotIdentifyTypeHandler<RobotIde |
|
|
|
recordVo.setTenantId(tenantId); |
|
|
|
recordVo.setTenantId(tenantId); |
|
|
|
recordVo.setContentId(content.getId()); |
|
|
|
recordVo.setContentId(content.getId()); |
|
|
|
String addr = content.getCameraAddr(); |
|
|
|
String addr = content.getCameraAddr(); |
|
|
|
|
|
|
|
recordVo.setFileUrl(picUrl); |
|
|
|
if(Func.isNotEmpty(digits)){ |
|
|
|
if(Func.isNotEmpty(digits)){ |
|
|
|
for (RobotAiDigitReturn re : digits) { |
|
|
|
for (RobotAiDigitReturn re : digits) { |
|
|
|
recordVo.setFileUrl(picUrl); |
|
|
|
|
|
|
|
if(addr.trim().equals(re.getRowindex() + AIContants.COMMA + re.getColindex())){ |
|
|
|
if(addr.trim().equals(re.getRowindex() + AIContants.COMMA + re.getColindex())){ |
|
|
|
recordVo.setCurrentValue(re.getClassname()/Math.pow(10, Double.valueOf(content.getOtherParam())) + ""); |
|
|
|
recordVo.setCurrentValue(re.getClassname()/Math.pow(10, Double.valueOf(content.getOtherParam())) + ""); |
|
|
|
recordVo.setCurrentStatus(setCurrentStatus(recordVo.getCurrentValue(), content.getCheckVal())); |
|
|
|
recordVo.setCurrentStatus(setCurrentStatus(recordVo.getCurrentValue(), content.getCheckVal())); |
|
|
|