public AgentStatusAlertTime(Entity area, AgentStatusType type) { Area = area; Type = type; AlertTimeOutSecond = type.AlertTimeOutSecond; AlertTimeOutSecond2 = type.AlertTimeOutSecond2; }
public void ChangeAgentStatus(AgentStatusType status) { agent.Status = status; storedProcedures.ChangeAgentStatus(agent.ID, (int?)status); }