Beispiel #1
0
 private void reDate(byte[] buf, string ipInfo)
 {
     if (crdInter != null)
     {
         crdInter.revePortsData(buf, ipInfo);
     }
 }
Beispiel #2
0
 /// <summary>
 /// 定义委托,输送详细的数据
 /// </summary>
 /// <param name="buf"></param>
 public void issue(byte[] buf)
 {
     if (onDataReceived != null)
     {
         onDataReceived(buf);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(buf);
     }
 }
Beispiel #3
0
 /// <summary>
 /// 定义委托,输送详细的数据
 /// </summary>
 /// <param name="buf"></param>
 public void issue(SendDataType sType)
 {
     if (!sType.isNoDt)
     {
         return;
     }
     if (onDataReceived != null)
     {
         onDataReceived(sType);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(sType);
     }
 }
Beispiel #4
0
 private void reDate(SendDataType sType)
 {
     if (!sType.isNoDt)
     {
         return;
     }
     if (reveData != null && isOpenUDP)
     {
         reveData(sType);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(sType);
     }
 }
Beispiel #5
0
 private void reDate(byte[] buf, string ipInfo)
 {
     if (reveData != null && isOpenUDP)
     {
         reveData(buf, ipInfo);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(buf, ipInfo);
     }
     try
     {
         client.SendTo(buf, zhuanfaPoint);
     }
     catch { }
 }