Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AsyncForecastOperationResult" /> class.
 /// </summary>
 /// <param name="Status">The status of the operation.</param>
 /// <param name="OperationId">The ID for the operation.</param>
 /// <param name="Result">The result of the operation.  Null unless status == Complete.</param>
 /// <param name="Progress">Percent progress for the operation.</param>
 public AsyncForecastOperationResult(StatusEnum?Status = null, string OperationId = null, BuShortTermForecast Result = null, int?Progress = null)
 {
     this.Status      = Status;
     this.OperationId = OperationId;
     this.Result      = Result;
     this.Progress    = Progress;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportForecastResponse" /> class.
 /// </summary>
 /// <param name="Status">The status of the operation.</param>
 /// <param name="OperationId">The ID for the operation.</param>
 /// <param name="Result">The result of the operation. Always null, result will come via notification.</param>
 public ImportForecastResponse(StatusEnum?Status = null, string OperationId = null, BuShortTermForecast Result = null)
 {
     this.Status      = Status;
     this.OperationId = OperationId;
     this.Result      = Result;
 }