public AgentAlertMessage(AgentGuid NewJobGuid,EAlertLevel NewAlertLevel,AgentGuid NewObjectGuid,Int32 NewTypeId,String NewTextMessage)
     : base(NewJobGuid,EMessageType.ALERT)
 {
     AlertLevel  = NewAlertLevel;
     ObjectGuid  = NewObjectGuid;
     TypeId      = NewTypeId;
     TextMessage = NewTextMessage;
 }
 public AgentTaskSpecification(AgentGuid TaskJobGuid,AgentGuid TaskTaskGuid,Int32 TaskTaskFlags,String TaskParameters,Int32 TaskCost,List <String> TaskDependencies)
     : base(TaskJobGuid,ETaskRequestResponseType.SPECIFICATION)
 {
     TaskGuid     = TaskTaskGuid;
     TaskFlags    = TaskTaskFlags;
     Parameters   = TaskParameters;
     Cost         = TaskCost;
     Dependencies = TaskDependencies;
     DependenciesOriginalNames = null;
 }
 public AgentJobSpecification(AgentGuid NewJobGuid,EJobTaskFlags NewJobFlags,String JobExecutableName,String JobParameters,List <String> JobRequiredDependencies,List <String> JobOptionalDependencies)
 {
     JobGuid                   = NewJobGuid;
     JobFlags                  = NewJobFlags;
     ExecutableName            = JobExecutableName;
     Parameters                = JobParameters;
     RequiredDependencies      = JobRequiredDependencies;
     OptionalDependencies      = JobOptionalDependencies;
     DependenciesOriginalNames = null;
 }
 public AgentTaskState(AgentGuid NewJobGuid,AgentGuid NewTaskGuid,EJobTaskState NewTaskState)
     : base(NewJobGuid,EMessageType.TASK_STATE)
 {
     TaskGuid  = NewTaskGuid;
     TaskState = NewTaskState;
 }
 public AgentJobState(AgentGuid NewJobGuid,EJobTaskState NewJobState)
     : base(NewJobGuid,EMessageType.JOB_STATE)
 {
     JobState = NewJobState;
 }
 public AgentTaskRequestResponse(AgentGuid TaskJobGuid,ETaskRequestResponseType TaskResponseType)
     : base(TaskJobGuid,EMessageType.TASK_REQUEST_RESPONSE)
 {
     ResponseType = TaskResponseType;
 }
 public AgentAlertMessage(AgentGuid NewJobGuid)
     : base(NewJobGuid,EMessageType.ALERT)
 {
 }
 public AgentJobMessageBase(AgentGuid NewJobGuid,EMessageType NewType)
     : base(NewType)
 {
     JobGuid = NewJobGuid;
 }