修复PTZType导致声音开关失效的问题

This commit is contained in:
648540858
2024-03-27 11:15:35 +08:00
parent 1aa347bd2b
commit e886aa4833
6 changed files with 16 additions and 16 deletions

View File

@@ -447,16 +447,16 @@ public class DeviceChannel {
this.password = password;
}
public int getPTZType() {
public int getPtzType() {
return ptzType;
}
public String getPTZTypeText() {
public String getPtzTypeText() {
return ptzTypeText;
}
public void setPTZTypeText(String PTZTypeText) {
this.ptzTypeText = PTZTypeText;
public void setPtzTypeText(String ptzTypeText) {
this.ptzTypeText = ptzTypeText;
}
public boolean isStatus() {

View File

@@ -358,8 +358,8 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
}else {
catalogXml.append("<Password></Password>\r\n");
}
if (!ObjectUtils.isEmpty(channel.getPTZType())) {
catalogXml.append("<PTZType>" + channel.getPTZType() + "</PTZType>\r\n");
if (!ObjectUtils.isEmpty(channel.getPtzType())) {
catalogXml.append("<PTZType>" + channel.getPtzType() + "</PTZType>\r\n");
}else {
catalogXml.append("<PTZType></PTZType>\r\n");
}