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); }
internal Task Watch(string pipeCode, PipeType pipeType, WatchActionType actionType, object para) { return(Watch(pipeCode, pipeType, actionType, para, default)); }