|
@@ -298,19 +298,19 @@ public class SignageFileUtil {
|
|
*/
|
|
*/
|
|
|
|
|
|
fileName = fileName.replace(ROOT_FILE_TYPE_NAME,"");
|
|
fileName = fileName.replace(ROOT_FILE_TYPE_NAME,"");
|
|
- fileName = fileName.replace("/","");
|
|
|
|
|
|
+ fileName = fileName.substring(fileName.lastIndexOf('/')+1);
|
|
|
|
|
|
String typeCode = fileName.substring(0,fileName.length()-2);
|
|
String typeCode = fileName.substring(0,fileName.length()-2);
|
|
|
|
|
|
int fileNumber = Integer.parseInt(fileName.substring(fileName.length()-2));
|
|
int fileNumber = Integer.parseInt(fileName.substring(fileName.length()-2));
|
|
- if(fileNumber <=1){
|
|
|
|
|
|
+ if(fileNumber <=2){
|
|
return 10000;
|
|
return 10000;
|
|
}
|
|
}
|
|
if( typeCode.startsWith("00") // 关机画面
|
|
if( typeCode.startsWith("00") // 关机画面
|
|
|| "01".equals(typeCode.substring(2,4)) //右屏相关
|
|
|| "01".equals(typeCode.substring(2,4)) //右屏相关
|
|
|| "FF".equals(typeCode.substring(typeCode.length() - 4,typeCode.length() - 2))//倒数第二个为FF
|
|
|| "FF".equals(typeCode.substring(typeCode.length() - 4,typeCode.length() - 2))//倒数第二个为FF
|
|
){
|
|
){
|
|
- if(fileNumber ==2 ){
|
|
|
|
|
|
+ if(fileNumber == 3 ){
|
|
return 10000;
|
|
return 10000;
|
|
}
|
|
}
|
|
return 8884;
|
|
return 8884;
|