import { Event as BaseEventNS } from './BaseEvent' ; import { Command as CommandNS } from '../AbstractCommand' ; import IAMCPCommand = CommandNS . IAMCPCommand ; import { AMCPUtil as AMCPUtilNS } from '../AMCP' ; import CasparCGSocketResponse = AMCPUtilNS . CasparCGSocketResponse ; export namespace Event { /**
     *
     */ export class CasparCGSocketCommandEvent extends BaseEventNS . BaseEvent { static readonly RESPONSE = 'casparcgsocketcommandeventresponse' ; /**
         *
         */ constructor ( public command ) { super ( { command } ) ; } /**
         *
         */ valueOf ( ) { return this . command ; } } /**
     *
     */ export class CasparCGSocketResponseEvent extends BaseEventNS . BaseEvent { static readonly RESPONSE = 'casparcgsocketresponseeventresponse' ; static readonly INVALID_RESPONSE = 'casparcgsocketcommandeventresponseinvalid' ; /**
         *
         */ constructor ( public response ) { super ( { response } ) ; } /**
         *
         */ valueOf ( ) { return this . response ; } } }