示例#1
0
 protected virtual void OnDisconnected(PinConnectionEventArgs args)
 {
     if (FDisconnected != null)
     {
         FDisconnected(this, args);
     }
 }
示例#2
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
示例#3
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0]         = link;
            FOutput.Flush();
        }
示例#4
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
示例#5
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient.Count() > 0 && FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublishReceived += FClient_MqttMsgPublishReceived;
         FClient.MqttMsgSubscribed      += FClient_MqttMsgSubscribed;
         FClient.MqttMsgUnsubscribed    += FClient_MqttMsgUnsubscribed;
     }
 }
 void FSource_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
     if (this.oldsource != null)
     {
         this.oldsource.BeginQuery -= new DX11QueryableDelegate(AbstractQueryNode_BeginQuery);
         this.oldsource.EndQuery   -= new DX11QueryableDelegate(AbstractQueryNode_EndQuery);
     }
     this.oldsource = null;
 }
示例#7
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
示例#8
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
示例#9
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
示例#10
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
示例#11
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
示例#12
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0] = link;
            FOutput.Flush();
        }
示例#13
0
 void FSource_Connected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
 }
示例#14
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
示例#15
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
示例#16
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
示例#17
0
        private void pin_Connected(object sender, PinConnectionEventArgs args)
        {
            IPin2 sink = sender as IPin2;

            this.SetLink(sink.InternalCOMInterf, args.OtherPin, false);
        }
示例#18
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
示例#19
0
 void FInEngine_CnnEvent(object sender, PinConnectionEventArgs args)
 {
     this.FInvalidateConnect = true;
 }
示例#20
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
示例#21
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
示例#22
0
 private void FShaderProvider_Connected(object sender, PinConnectionEventArgs args)
 {
     RecalcShader(false);
 }
示例#23
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ( (Pin<BehaviorLink>) sender).Sync();
 }
示例#24
0
 private void Input_Disconnected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "DisConnected");
     init = true;
 }
示例#25
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
示例#26
0
 private void Input_Connected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "connected");
 }
示例#27
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ((Pin <BehaviorLink>)sender).Sync();
 }
示例#28
0
 private void OnConnected(object sender, PinConnectionEventArgs args)
 {
     reset = true;
 }