public void ApplyState(NodeStateInfo otherState) { ApplyState((NodeStateResponse)otherState); TasksSubmitted = otherState.TasksSubmitted; CoresReserved = otherState.CoresReserved; }
public NodeStateInfo(NodeStateInfo otherState) : base(otherState.NodeName) { ResourceName = otherState.ResourceName; NodeName = otherState.NodeName; TasksSubmissionLimit = otherState.TasksSubmissionLimit; CoresCount = otherState.CoresCount; State = otherState.State; TasksSubmitted = otherState.TasksSubmitted; CoresReserved = otherState.CoresReserved; CoresUsed = otherState.CoresUsed; DynamicHardwareParams = new Dictionary <string, string>(otherState.DynamicHardwareParams); }
public NodeStateInfo(NodeStateInfo otherState) : base(otherState.NodeName) { ResourceName = otherState.ResourceName; NodeName = otherState.NodeName; TasksSubmissionLimit = otherState.TasksSubmissionLimit; CoresCount = otherState.CoresCount; State = otherState.State; TasksSubmitted = otherState.TasksSubmitted; CoresReserved = otherState.CoresReserved; CoresUsed = otherState.CoresUsed; DynamicHardwareParams = new Dictionary<string, string>(otherState.DynamicHardwareParams); }
public void ApplyState(NodeStateInfo otherState) { ApplyState((NodeStateResponse) otherState); TasksSubmitted = otherState.TasksSubmitted; CoresReserved = otherState.CoresReserved; }