Пример #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;
     }
 }
Пример #6
0
 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;
 }