public virtual bool StopPlayAlamRecord(int hPlay) { if (hPlay == mHWndPlayAlarmRecord.ToInt32()) { if (SystemContext.RemoteManageClient != null && !mConfig.Host.Equals("")) { SystemContext.RemoteManageClient.StopPlayVisionAlarmRecord(mConfig, hPlay); return(true); } return(false); } else { IVideoSource vs = GetVideoSource(); if (vs != null) { return(vs.StopRecordPlay(hPlay)); } return(false); } }