|
@@ -2,25 +2,13 @@ package com.fdkankan.manage.util;
|
|
|
|
|
|
public class CameraUtils {
|
|
|
|
|
|
- public static Integer getCameraType(Integer type){
|
|
|
- switch (type){
|
|
|
- case 0 :
|
|
|
- case 1 :
|
|
|
- case 2 :
|
|
|
- case 5 :
|
|
|
- return 1;
|
|
|
- case 9 :return 2;
|
|
|
- case 10 :return 3;
|
|
|
- case 11 :return 4;
|
|
|
- }
|
|
|
- return type;
|
|
|
- }
|
|
|
public static Integer getCameraType2(Integer type){
|
|
|
switch (type){
|
|
|
case 0 : return 1;
|
|
|
case 1 : return 9;
|
|
|
case 2 : return 10;
|
|
|
case 3 : return 11;
|
|
|
+ case 4 : return 12;
|
|
|
}
|
|
|
return type;
|
|
|
}
|
|
@@ -35,6 +23,7 @@ public class CameraUtils {
|
|
|
case 9 :return 1;
|
|
|
case 10 :return 2;
|
|
|
case 11 :return 3;
|
|
|
+ case 12 :return 4;
|
|
|
}
|
|
|
return type;
|
|
|
}
|
|
@@ -45,6 +34,7 @@ public class CameraUtils {
|
|
|
case 9 : return "四维看见";
|
|
|
case 10 : return "四维深时";
|
|
|
case 11 : return "四维深光";
|
|
|
+ case 12 : return "四维深巡";
|
|
|
}
|
|
|
return "";
|
|
|
}
|