Exemplo n.º 1
0
        public override String ToString()
        {
            String desStr = "";

            try
            {
                desStr = "Name: " + CameraName + ", " +
                         "Previewing: " + Previewing.ToString() + ", " +
                         "Streamming: " + Streaming.ToString() + ", " +
                         "Analysing: " + Analysing.ToString() + ", " +
                         "Recording: " + Recording.ToString() + ", " +
                         "DataAlerting: " + DataAlerting.ToString() + ", " +
                         "EventAlerting: " + EventAlerting.ToString();
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
            }

            return(desStr);
        }
Exemplo n.º 2
0
        public override String ToString()
        {
            String desStr = null;

            try
            {
                desStr = "Name: " + ChannelName + ", " +
                         "Streamming: " + Streaming.ToString() + ", " +
                         "Multicast Address: " + MulticastAddress + ", " +
                         "Streamer VideoPort: " + StreamerVideoPort.ToString() + ", " +
                         "Streamer AudioPort: " + StreamerAudioPort.ToString() + ", " +
                         "Receiver VideoPort: " + ReceiverVideoPort.ToString() + ", " +
                         "Receiver AudioPort: " + ReceiverAudioPort.ToString();
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
            }

            return(desStr);
        }