Exemplo n.º 1
0
 private void reDate(byte[] buf, string ipInfo)
 {
     if (crdInter != null)
     {
         crdInter.revePortsData(buf, ipInfo);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 定义委托,输送详细的数据
 /// </summary>
 /// <param name="buf"></param>
 public void issue(byte[] buf)
 {
     if (onDataReceived != null)
     {
         onDataReceived(buf);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(buf);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 4
0
 private void reDate(SendDataType sType)
 {
     if (!sType.isNoDt)
     {
         return;
     }
     if (reveData != null && isOpenUDP)
     {
         reveData(sType);
     }
     if (crdInter != null)
     {
         crdInter.revePortsData(sType);
     }
 }
Exemplo n.º 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 { }
 }