本文整理汇总了C#中SMT.SaveEventDataAsync方法的典型用法代码示例。如果您正苦于以下问题:C# SMT.SaveEventDataAsync方法的具体用法?C# SMT.SaveEventDataAsync怎么用?C# SMT.SaveEventDataAsync使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SMT
的用法示例。
在下文中一共展示了SMT.SaveEventDataAsync方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RemindEngineXml
/// <summary>
/// 引擎及其XML
/// </summary>
public void RemindEngineXml(SMT.Saas.Tools.EngineWS.EngineWcfGlobalFunctionClient FlowEngine, string randomPersonRemind, string guidRandomPersonRemind, string MessageUserID)
{
DateTime strDay = DateTime.Now;
string Day = strDay.ToString("yyyy/MM/dd", System.Globalization.DateTimeFormatInfo.InvariantInfo);
string Hour = strDay.AddHours(int.Parse(randomPersonRemind)).ToString("HH:mm");
string strXml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
"<System>" +
"<CompanyCode></CompanyCode>" +
"<SystemCode></SystemCode>" +
"<ModelCode></ModelCode>" +
"<ApplicationOrderCode>" + guidRandomPersonRemind + "</ApplicationOrderCode>" +
"<TaskStartDate>" + Day + "</TaskStartDate>" +
"<TaskStartTime>" + Hour + "</TaskStartTime>" +
"<ProcessCycle></ProcessCycle>" +
"<ReceiveUser>" + MessageUserID + "</ReceiveUser>" +
"<ReceiveRole>Role0002</ReceiveRole>" +
"<MessageBody>消息主体{ReceiveUser}</MessageBody>" +
"<MsgLinkUrl><TTT></TTT>链接Url</MsgLinkUrl>" +
"<ProcessWcfUrl></ProcessWcfUrl>" +
"<WcfFuncName>EventTriggerProcess</WcfFuncName>" +
"<WcfFuncParamter>" +
"<FormID>" + guidRandomPersonRemind + "</FormID>" +
"<ReceiveUser>" + MessageUserID + "</ReceiveUser>" +
"<Content>距离抽查打分还有" + randomPersonRemind + " 小时请迟快处理</Content>" +
"<Url></Url>" +
"</WcfFuncParamter>" +
"<WcfParamSplitChar>Г</WcfParamSplitChar>" +
"<WcfBinding>basicHttpBinding</WcfBinding>" +
"</System>";
//调用引擎
FlowEngine.SaveEventDataAsync(strXml);
}