yimultiscreenserver-sdk-web-migration
Version:
YiMultiScreenServer SDK for Web
31 lines • 1.04 kB
JavaScript
import { ControllerDeviceType } from "./ControllerDeviceType";
export class ControllerDeviceVO {
constructor() {
this.guid = "";
this.controllerDeviceType = ControllerDeviceType.Android;
this.ip = "";
this.gateway = "";
this.mask = "";
this.outIp = "";
}
equals(o) {
return o instanceof ControllerDeviceVO &&
this.guid === o.guid &&
this.controllerDeviceType === o.controllerDeviceType &&
this.ip === o.ip &&
this.gateway === o.gateway &&
this.mask === o.mask &&
this.outIp === o.outIp;
}
toString() {
return `ControllerDeviceVO{` +
`guid=${this.guid}, ` +
`controllerDeviceType=${ControllerDeviceType[this.controllerDeviceType]}, ` +
`ip='${this.ip}', ` +
`gateway='${this.gateway}', ` +
`mask='${this.mask}, '` +
`outIp='${this.outIp}'` +
`}`;
}
}
//# sourceMappingURL=ControllerDeviceVO.js.map