Exemple #1
0
        internal Task Watch(string pipeCode, PipeType pipeType, WatchActionType actionType, object para,
                            WatchResult res)
        {
            if (WatchProxy != null)
            {
                return(WatchProxy.Watch(new WatchDataItem()
                {
                    PipeCode = pipeCode,
                    PipeType = pipeType,
                    ActionType = actionType,

                    Para = para,
                    Result = res
                }));
            }

            return(Task.CompletedTask);
        }
Exemple #2
0
 internal Task Watch(string pipeCode, PipeType pipeType, WatchActionType actionType, object para)
 {
     return(Watch(pipeCode, pipeType, actionType, para, default));
 }