public Port(int id, string number) { Number = number; Id = id; PortStatus = StatusOfPort.NotConnected; ContractStatus = StatusOfContract.NotContracted; }
public void ChangeStatusOfContract() { ContractStatus = ContractStatus != StatusOfContract.NotContracted ? StatusOfContract.NotContracted : StatusOfContract.Contracted; }