UNPKG

yimultiscreenserver-sdk-web-migration

Version:

YiMultiScreenServer SDK for Web

44 lines 1.47 kB
export class DisplayDeviceVO { constructor() { this.displayCode = -1; this.displayDeviceId = ""; this.displayDeviceName = ""; this.ip = ""; this.gateway = ""; this.mask = ""; this.outIp = ""; } equals(o) { return o instanceof DisplayDeviceVO && this.displayCode === o.displayCode && this.displayDeviceId === o.displayDeviceId && this.displayDeviceName === o.displayDeviceName && this.ip === o.ip && this.gateway === o.gateway && this.mask === o.mask && this.outIp === o.outIp; } toString() { return `DisplayDeviceVO{` + `displayCode=${this.displayCode}, ` + `displayDeviceId='${this.displayDeviceId}', ` + `displayDeviceName='${this.displayDeviceName}', ` + `ip='${this.ip}', ` + `gateway='${this.gateway}', ` + `mask='${this.mask}, '` + `outIp='${this.outIp}'` + `}`; } static copy(vo) { let device = new DisplayDeviceVO(); device.displayCode = vo.displayCode; device.displayDeviceId = vo.displayDeviceId; device.displayDeviceName = vo.displayDeviceName; device.ip = vo.ip; device.gateway = vo.gateway; device.mask = vo.mask; device.outIp = vo.outIp; return device; } } //# sourceMappingURL=DisplayDeviceVO.js.map