|
@@ -301,6 +301,15 @@ unsigned int CHSPScannerFSM::s0_Idle_on_event(FSMEvent* e)
|
|
|
}
|
|
|
}
|
|
|
break;
|
|
|
+ /** 根据日志查看在空闲状态偶尔会收到取消预览的请求,兼容处理之(参照JS改造) [Gifur@2025613]*/
|
|
|
+ case USER_EVT_STOPPREVIEW:
|
|
|
+ {
|
|
|
+ StopPreviewTask* pTask = new StopPreviewTask(this);
|
|
|
+ StopPreviewEvent* pEvt = dynamic_cast<StopPreviewEvent*>(e);
|
|
|
+ pEvt->m_ctx->Answer(Error_Succeed);
|
|
|
+ }
|
|
|
+ e->SetHandled();
|
|
|
+ break;
|
|
|
// Add after ST !!! --Josephus at 12:37:15 2016129
|
|
|
case USER_EVT_SETWINPOS:
|
|
|
{
|