add:加上大屏和智能面板的terminal

This commit is contained in:
汉堡 2022-06-24 23:28:24 +08:00
parent fb5bbb8192
commit cee4a97c66

View File

@ -120,7 +120,11 @@ public class TerminalInfo {
@Deprecated
public static final String STR_TERMINAL_SCREEN = "screen";
/**
* 智能面板
*/
@Deprecated
public static final String STR_TERMINAL_SMART_PANEL = "smart_panel";
/**
* CMS - Web 还没选择任何具体的工作台
@ -232,6 +236,16 @@ public class TerminalInfo {
aliasMap.put(STR_TERMINAL_SMP, NT_SM);
}
/**
* 智能面板
*/
public static final String NT_SMART_PANEL = "NT_SMART_PANEL";
static {
aliasMap.put(NT_SMART_PANEL, NT_SMART_PANEL);
aliasMap.put(STR_TERMINAL_SMART_PANEL, NT_SMART_PANEL);
}
/**
* Screen数据大屏
*/
@ -423,6 +437,22 @@ public class TerminalInfo {
return false;
return this.newTerminalString.startsWith("NT_CM_");
}
/**
* 智能面板
* @return
*/
public boolean isSMART_PANEL() {
return NT_SMART_PANEL.equals(this.newTerminalString);
}
/**
* 大屏
* @return
*/
public boolean isSCREEN() {
return NT_SCREEN.equals(this.newTerminalString);
}
/**
*
* @return