예제 #1
0
 public void QueryCellResultCallback(VpNet.Core.Structs.VpObject objectData)
 {
     if (EventQueryCellResult != null)
     {
         EventQueryCellResult(this, objectData);
     }
 }
예제 #2
0
 public void ObjectCreateCallback(int sessionId, VpNet.Core.Structs.VpObject objectData)
 {
     if (EventObjectCreate != null)
     {
         EventObjectCreate(this, sessionId, objectData);
     }
 }
예제 #3
0
        void Instance_EventObjectCreate(IInstance sender, int sessionId, VpNet.Core.Structs.VpObject objectData)
        {
            var client = _clients.Values.FirstOrDefault(p => p.Instance == sender);

            if (client != null)
            {
                client.Callback.ObjectCreateCallback(sessionId, objectData);
            }
        }
예제 #4
0
 public void ChangeObject(VpNet.Core.Structs.VpObject vpObject)
 {
     _pipeProxy.ChangeObject(vpObject);
 }
예제 #5
0
 public void  ChangeObject(VpNet.Core.Structs.VpObject vpObject)
 {
     CurrentClient.Instance.ChangeObject(vpObject);
 }