示例#1
0
 public void ReportError(string source, Messaging.Protobuf.Error error, string timestamp)
 {
     ErrorCount++;
     StateManager.SetInitialStateAsync(new Dictionary <string, object>
     {
         { RuleConfiguration.ERRORCOUNT, ErrorCount }
     }
                                       );
     StrategyExecutionReport.Add(timestamp + "," + source + "," + "*" + "," + "OnError" + "," + error.Message);
 }
示例#2
0
 public void ReportError(string source, Messaging.Protobuf.Error error, string timestamp)
 {
     ErrorCount++;
     StrategyExecutionReport.Add(timestamp + "," + source + "," + "*" + "," + "OnError" + "," + error.Message);
 }