修复PTZType导致声音开关失效的问题
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user