Exemplo n.º 1
0
 public CheckReesultInfo(string ipv4, string port, string remarks, PingResultStatus status, DateTime receiveTime)
 {
     IpAddresV4        = ipv4;
     TargetPort        = port;
     Remarks           = remarks;
     Status            = status;
     ResultReceiveTime = receiveTime;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ipv4">ip地址</param>
 /// <param name="port">端口号</param>
 /// <param name="remarks">备注</param>
 /// <param name="status">状态</param>
 /// <param name="lossRate">丢包率</param>
 /// <param name="presetTimeout">预设超时时间</param>
 /// <param name="receiveTime">结果接收时间</param>
 public CheckReesultInfo(string ipv4, string port, string remarks, PingResultStatus status, int lossRate, int presetTimeout, DateTime receiveTime)
 {
     IpAddresV4        = ipv4;
     TargetPort        = port;
     Remarks           = remarks;
     Status            = status;
     PresetTimeout     = presetTimeout;
     ResultReceiveTime = receiveTime;
     LossRate          = lossRate;
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ipv4">ip地址</param>
 /// <param name="port">端口号</param>
 /// <param name="remarks">备注</param>
 /// <param name="status">状态</param>
 /// <param name="maxrep">最大响应时间</param>
 /// <param name="minrep">最小响应时间</param>
 /// <param name="avgrep">平均响应时间</param>
 /// <param name="presetTimeout">预设超时时间</param>
 /// <param name="receiveTime">结果接收时间</param>
 public CheckReesultInfo(string ipv4, string port, string remarks, PingResultStatus status, int maxrep, int minrep, int avgrep, int presetTimeout, DateTime receiveTime)
 {
     IpAddresV4        = ipv4;
     TargetPort        = port;
     Remarks           = remarks;
     Status            = status;
     MaxResponseTime   = maxrep;
     MinResponseTime   = minrep;
     AvgResponseTime   = avgrep;
     PresetTimeout     = presetTimeout;
     ResultReceiveTime = receiveTime;
 }