yimultiscreenserver-sdk-web
Version:
YiMultiScreenServer SDK for Web
26 lines (21 loc) • 800 B
text/typescript
import { ControllerDeviceVO } from "./ControllerDeviceVO";
import { DisplayReportVO } from '../report/DisplayReportVO';
export class DevicePair {
displayReport: DisplayReportVO
controllerDevice: ControllerDeviceVO
constructor(display: DisplayReportVO, controller: ControllerDeviceVO) {
this.displayReport = display;
this.controllerDevice = controller;
}
equals(o: any): boolean {
return o instanceof DevicePair &&
this.controllerDevice.equals(o.controllerDevice) &&
this.displayReport.equals(o.displayReport);
}
toString(): string {
return `DevicePair{` +
`displayReport=${this.displayReport}, ` +
`controllerDevice=${this.controllerDevice}` +
`}`;
}
}