public void AnswerToCall(int target, StateOfCall state, Guid id) { if (EventOfAnswer != null) { EventOfAnswer(this, new EventOfAnswerArgs(Number, target, state, id)); } }
public EventOfAnswerArgs(int number, int target, StateOfCall state, Guid id) { Number = number; TargetNumber = target; StateOfCall = state; Id = id; }
public void AnswerCall(int number, int targetNumber, StateOfCall state, Guid id) { if (PortAnswerEvent != null) { PortAnswerEvent(this, new EventOfAnswerArgs(number, targetNumber, state, id)); } }