コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TaskByDid" /> class.
 /// </summary>
 /// <param name="Filter">Filter.</param>
 /// <param name="TaskType">Task type.</param>
 /// <param name="ModifiedOn">Modified on.</param>
 /// <param name="Dtid">Device Type ID.</param>
 /// <param name="StatusCounts">Status counts.</param>
 /// <param name="Property">Property.</param>
 /// <param name="Statuses">Last known device task status for the specified did.</param>
 /// <param name="Id">Task ID.</param>
 /// <param name="Dids">Device IDs.</param>
 /// <param name="TaskParameters">Task parameters.</param>
 /// <param name="CreatedOn">Created on.</param>
 /// <param name="Status">Status.</param>
 public TaskByDid(string Filter = null, string TaskType = null, long?ModifiedOn = null, string Dtid = null, TaskStatusCounts StatusCounts = null, string Property = null, List <DeviceTask> Statuses = null, string Id = null, List <string> Dids = null, TaskParameters TaskParameters = null, long?CreatedOn = null, string Status = null)
 {
     this.Filter         = Filter;
     this.TaskType       = TaskType;
     this.ModifiedOn     = ModifiedOn;
     this.Dtid           = Dtid;
     this.StatusCounts   = StatusCounts;
     this.Property       = Property;
     this.Statuses       = Statuses;
     this.Id             = Id;
     this.Dids           = Dids;
     this.TaskParameters = TaskParameters;
     this.CreatedOn      = CreatedOn;
     this.Status         = Status;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TaskRequest" /> class.
 /// </summary>
 /// <param name="Filter">Filter.</param>
 /// <param name="TaskType">Task type.</param>
 /// <param name="Dtid">Device Type ID.</param>
 /// <param name="Property">Property.</param>
 /// <param name="Dids">Device IDs.</param>
 /// <param name="TaskParameters">Task parameters.</param>
 public TaskRequest(string Filter = null, string TaskType = null, string Dtid = null, string Property = null, List <string> Dids = null, TaskParameters TaskParameters = null)
 {
     this.Filter         = Filter;
     this.TaskType       = TaskType;
     this.Dtid           = Dtid;
     this.Property       = Property;
     this.Dids           = Dids;
     this.TaskParameters = TaskParameters;
 }