Beispiel #1
0
 public static object Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_EventsQueryResponse_TO_Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_Proxy_EventsQueryResponse(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventsQueryResponse target = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventsQueryResponse();
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventsQueryResponse       from   = ((global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventsQueryResponse)(transformFrom));
     global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry> tmp = from.Events;
     if ((tmp != null))
     {
         int count = tmp.Count;
         global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry> tmp0 = new global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry>(count);
         for (int index = 0; (index < count); index = (index + 1))
         {
             global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry tmp1 = default(global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry);
             global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry       tmp2 = tmp[index];
             if ((tmp2 != null))
             {
                 tmp1 = ((global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry)(Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_EventListEntry_TO_Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_Proxy_EventListEntry(tmp2)));
             }
             tmp0.Add(tmp1);
         }
         target.Events = tmp0;
     }
     return(target);
 }
Beispiel #2
0
 public static object Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_SpeechRecognizerGuiState_TO_Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_Proxy_SpeechRecognizerGuiState(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.SpeechRecognizerGuiState target = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.SpeechRecognizerGuiState();
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.SpeechRecognizerGuiState       from   = ((global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.SpeechRecognizerGuiState)(transformFrom));
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizerState       tmp    = from.SpeechRecognizerState;
     if ((tmp != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizerState tmp0 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizerState();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp0)));
         target.SpeechRecognizerState = tmp0;
     }
     global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry> tmp1 = from.SpeechEvents;
     if ((tmp1 != null))
     {
         int count = tmp1.Count;
         global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry> tmp2 = new global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry>(count);
         for (int index = 0; (index < count); index = (index + 1))
         {
             global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry tmp3 = default(global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry);
             global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry       tmp4 = tmp1[index];
             if ((tmp4 != null))
             {
                 tmp3 = ((global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry)(Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_EventListEntry_TO_Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_Proxy_EventListEntry(tmp4)));
             }
             tmp2.Add(tmp3);
         }
         target.SpeechEvents = tmp2;
     }
     return(target);
 }
Beispiel #3
0
 public static object Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_EventListEntry_TO_Microsoft_Robotics_Services_Sensors_Kinect_MicArraySpeechRecognizerGui_Proxy_EventListEntry(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry target = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.Proxy.EventListEntry();
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry       from   = ((global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizerGui.EventListEntry)(transformFrom));
     target.Timestamp = from.Timestamp;
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechDetectedNotification tmp = from.SpeechDetected;
     if ((tmp != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechDetectedNotification tmp0 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechDetectedNotification();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp0)));
         target.SpeechDetected = tmp0;
     }
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizedNotification tmp1 = from.SpeechRecognized;
     if ((tmp1 != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizedNotification tmp2 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognizedNotification();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp1)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp2)));
         target.SpeechRecognized = tmp2;
     }
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognitionRejectedNotification tmp3 = from.RecognitionRejected;
     if ((tmp3 != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognitionRejectedNotification tmp4 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechRecognitionRejectedNotification();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp3)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp4)));
         target.RecognitionRejected = tmp4;
     }
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.BeamDirectionChangedNotification tmp5 = from.BeamDirectionChanged;
     if ((tmp5 != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.BeamDirectionChangedNotification tmp6 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.BeamDirectionChangedNotification();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp5)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp6)));
         target.BeamDirectionChanged = tmp6;
     }
     global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechInformation tmp7 = from.SpeechInformation;
     if ((tmp7 != null))
     {
         global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechInformation tmp8 = new global::Microsoft.Robotics.Services.Sensors.Kinect.MicArraySpeechRecognizer.Proxy.SpeechInformation();
         ((Microsoft.Dss.Core.IDssSerializable)(tmp7)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp8)));
         target.SpeechInformation = tmp8;
     }
     return(target);
 }