diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-04-09 14:25:30 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-04-09 14:25:30 +0300 |
| commit | e8e2f174cc7dc1e6c183e855834982d12e92833c (patch) | |
| tree | ea8c5358d7e6928c513814c8619339f0c6790840 /Software/Visual_Studio | |
| parent | f19e2e305d8baeafc30dde4fc0aa3fa37038869c (diff) | |
| parent | c1ed75027f069e204e52e48bfb610d2d225bbd72 (diff) | |
| download | Tango-e8e2f174cc7dc1e6c183e855834982d12e92833c.tar.gz Tango-e8e2f174cc7dc1e6c183e855834982d12e92833c.zip | |
mERGE
Diffstat (limited to 'Software/Visual_Studio')
369 files changed, 2751 insertions, 28693 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj index efa6d2ad7..384a3fc32 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj @@ -169,6 +169,10 @@ <Project>{cb0b0aa2-bb24-4bca-a720-45e397684e12}</Project> <Name>Tango.MachineStudio.Common</Name> </ProjectReference> + <ProjectReference Include="..\Tango.MachineStudio.Logging\Tango.MachineStudio.Logging.csproj"> + <Project>{1674f726-0e66-414f-b9fd-c6f20d7f07c7}</Project> + <Name>Tango.MachineStudio.Logging</Name> + </ProjectReference> </ItemGroup> <ItemGroup> <Resource Include="Images\data-capture.jpg" /> @@ -185,5 +189,8 @@ <ItemGroup> <Resource Include="Images\capture-device.png" /> </ItemGroup> + <ItemGroup> + <Folder Include="Messages\" /> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/ViewModels/MainViewVM.cs index b3d717263..af65c1430 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/ViewModels/MainViewVM.cs @@ -8,16 +8,21 @@ using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Media.Imaging; +using Tango.BL.Entities; +using Tango.BL.Enumerations; using Tango.Core.Commands; +using Tango.Core.Helpers; using Tango.Integration.Diagnostics; using Tango.Integration.Operation; using Tango.Integration.Services; using Tango.MachineStudio.Common.Diagnostics; +using Tango.MachineStudio.Common.EventLogging; using Tango.MachineStudio.Common.Notifications; using Tango.MachineStudio.Common.StudioApplication; using Tango.MachineStudio.Common.Video; using Tango.MachineStudio.DataCapture.Recording; using Tango.MachineStudio.DataCapture.Views; +using Tango.MachineStudio.Logging.ViewModels; using Tango.PMR.Diagnostics; using Tango.Settings; using Tango.SharedUI; @@ -34,6 +39,7 @@ namespace Tango.MachineStudio.DataCapture.ViewModels private INotificationProvider _notification; private IStudioApplicationManager _applicationManager; private IDiagnosticsFrameProvider _frameProvider; + private IEventLogger _eventLogger; private String _recordingsFolder; private BarItem _recordingBarItem; private BarItem _playerBarItem; @@ -100,6 +106,16 @@ namespace Tango.MachineStudio.DataCapture.ViewModels set { _captureDevices = value; RaisePropertyChangedAuto(); } } + private TimelineViewVM _timelineViewVM; + /// <summary> + /// Gets or sets the timeline view VM. + /// </summary> + public TimelineViewVM TimelineViewVM + { + get { return _timelineViewVM; } + set { _timelineViewVM = value; RaisePropertyChangedAuto(); } + } + #endregion #region Commands @@ -161,15 +177,20 @@ namespace Tango.MachineStudio.DataCapture.ViewModels /// <summary> /// Initializes a new instance of the <see cref="MainViewVM"/> class. /// </summary> - public MainViewVM(IVideoCaptureProvider videoCaptureProvider, INotificationProvider notification, IStudioApplicationManager applicationManager, IDiagnosticsFrameProvider frameProvider) + public MainViewVM(IVideoCaptureProvider videoCaptureProvider, INotificationProvider notification, IStudioApplicationManager applicationManager, IDiagnosticsFrameProvider frameProvider, IEventLogger eventLogger) { _notification = notification; _applicationManager = applicationManager; _frameProvider = frameProvider; + _eventLogger = eventLogger; + + _eventLogger.NewLog += _eventLogger_NewLog; Recorder = new DiagnosticsFileRecorder(); Player = new DiagnosticsFilePlayer(); + TimelineViewVM = new TimelineViewVM(notification) { EnableTimeMarker = true }; + VideoCaptureProvider = videoCaptureProvider; Recordings = new ObservableCollection<DataRecording>(); @@ -204,6 +225,14 @@ namespace Tango.MachineStudio.DataCapture.ViewModels #region Event Handlers + private void _eventLogger_NewLog(object sender, MachinesEvent ev) + { + if (Recorder.IsRecording) + { + Recorder.Write(ev); + } + } + private void ApplicationManager_ConnectedMachineChanged(object sender, IExternalBridgeClient machine) { MachineOperator = machine; @@ -222,7 +251,10 @@ namespace Tango.MachineStudio.DataCapture.ViewModels { CaptureDevices.First().Invoke(() => { - Recorder.Write(CaptureDevices.Where(x => x.VideoSource != null).Select(x => x.VideoSource.GetAsFrozen() as BitmapSource)); + if (Recorder.IsRecording) + { + Recorder.Write(CaptureDevices.Where(x => x.VideoSource != null).Select(x => x.VideoSource.GetAsFrozen() as BitmapSource)); + } }); }); } @@ -240,6 +272,8 @@ namespace Tango.MachineStudio.DataCapture.ViewModels { Recordings.Add(new DataRecording(file, File.GetCreationTime(file))); } + + Recordings = Recordings.OrderByDescending(x => x.Date).ToObservableCollection(); } /// <summary> @@ -248,7 +282,11 @@ namespace Tango.MachineStudio.DataCapture.ViewModels /// <param name="recording">The recording.</param> private void RemoveRecording(DataRecording recording) { - Recordings.Remove(recording); + if (_notification.ShowQuestion("Are you sure you want to remove the specified recording?")) + { + Recordings.Remove(recording); + PathHelper.TryDeleteFile(recording.FilePath); + } } /// <summary> @@ -275,6 +313,8 @@ namespace Tango.MachineStudio.DataCapture.ViewModels { SelectedRecording.Player = new DiagnosticsFilePlayer(); await SelectedRecording.Player.Load(SelectedRecording.FilePath); + TimelineViewVM.Initialize(SelectedRecording.Player.MachineEvents); + TimelineViewVM.TimelineMaxTime = SelectedRecording.Player.TotalTime; } } @@ -327,6 +367,8 @@ namespace Tango.MachineStudio.DataCapture.ViewModels CaptureDevices[i].VideoSource = frame.VideoFrames[i].ToByteArray().ToBitmapSource(); } }); + + TimelineViewVM.CurrentPosition = (sender as DiagnosticsFilePlayer).CurrentTime; } } @@ -335,7 +377,7 @@ namespace Tango.MachineStudio.DataCapture.ViewModels using (_notification.PushTaskItem("Starting Recording...")) { Recorder.Start(); - + _eventLogger.Log(EventTypes.RecordingStarted, "Recording Started..."); _recordingBarItem.Push(); } @@ -350,6 +392,8 @@ namespace Tango.MachineStudio.DataCapture.ViewModels { await Recorder.Stop(); _recordingBarItem.Pop(); + + _eventLogger.Log(EventTypes.RecordingStopped, "Recording Stopped..."); } String recordingName = _notification.ShowTextInput("Enter recording name", "Recording name"); @@ -370,6 +414,7 @@ namespace Tango.MachineStudio.DataCapture.ViewModels else if (Player.IsPlaying) { await Player.Stop(); + TimelineViewVM.CurrentPosition = TimeSpan.Zero; CaptureDevices.ForEach(x => x.EnableSourceUpdate()); _frameProvider.Disable = false; _playerBarItem.Pop(); diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Views/MainView.xaml index 445d0d216..37f92dea7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Views/MainView.xaml @@ -8,6 +8,7 @@ xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls" xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" xmlns:vm="clr-namespace:Tango.MachineStudio.DataCapture.ViewModels" + xmlns:logging="clr-namespace:Tango.MachineStudio.Logging.Views;assembly=Tango.MachineStudio.Logging" xmlns:video="clr-namespace:Tango.Video.DirectCapture;assembly=Tango.Video" xmlns:global="clr-namespace:Tango.MachineStudio.DataCapture" xmlns:local="clr-namespace:Tango.MachineStudio.DataCapture.Views" @@ -73,7 +74,7 @@ <Grid Grid.Column="1" Margin="10"> <Grid.RowDefinitions> <RowDefinition Height="430"/> - <RowDefinition Height="419*"/> + <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid> @@ -179,26 +180,15 @@ </Grid> <Grid Grid.Row="1"> - - <DockPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="60" Visibility="{Binding Recorder.IsRecording,Converter={StaticResource BooleanToVisibilityConverter}}" TextElement.FontSize="20"> - <TextBlock DockPanel.Dock="Left"> - <Run FontWeight="SemiBold" FontStyle="Italic">Total Frames:</Run> - <Run FontStyle="Italic" Foreground="#545454" Text="{Binding Recorder.TotalFramesRecorded,StringFormat={}{0:N0},Mode=OneWay,TargetNullValue=0,FallbackValue=0}"></Run> - </TextBlock> - <TextBlock Margin="80 0 0 0" HorizontalAlignment="Right" Width="250"> - <Run FontWeight="SemiBold" FontStyle="Italic">File Size:</Run> - <Run FontStyle="Italic" Foreground="#545454" Text="{Binding Recorder.TotalBytesRecorded,Mode=OneWay,Converter={StaticResource NumberToFileSizeConverter},TargetNullValue=0,FallbackValue=0}"></Run> - </TextBlock> - </DockPanel> - - <StackPanel VerticalAlignment="Bottom" Margin="0 0 0 50"> + <DockPanel> + <StackPanel VerticalAlignment="Bottom" Margin="0 10 0 0" DockPanel.Dock="Bottom"> <Grid Margin="50 0 0 0"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> - <Button Command="{Binding MediaSeekBackwardCommand}" Margin="0 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="150" Height="150" Background="Transparent"> - <materialDesign:PackIcon Width="100" Height="100" Kind="Rewind" Foreground="{StaticResource AccentColorBrush}" /> + <Button Command="{Binding MediaSeekBackwardCommand}" Margin="0 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="60" Height="60" Background="Transparent"> + <materialDesign:PackIcon Width="40" Height="40" Kind="Rewind" Foreground="{StaticResource AccentColorBrush}" /> </Button> - <Button Command="{Binding MediaPlayPauseCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="200" Height="200" Background="Transparent"> - <materialDesign:PackIcon Width="100" Height="100" Foreground="{StaticResource AccentColorBrush}"> + <Button Command="{Binding MediaPlayPauseCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="80" Height="80" Background="Transparent"> + <materialDesign:PackIcon Width="60" Height="60" Foreground="{StaticResource AccentColorBrush}"> <materialDesign:PackIcon.Style> <Style TargetType="materialDesign:PackIcon"> <Setter Property="Kind" Value="Play"></Setter> @@ -215,18 +205,18 @@ </materialDesign:PackIcon.Style> </materialDesign:PackIcon> </Button> - <Button Command="{Binding MediaStopCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="150" Height="150" Background="Transparent"> - <materialDesign:PackIcon Width="100" Height="100" Kind="Stop" Foreground="{StaticResource AccentColorBrush}" /> + <Button Command="{Binding MediaStopCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="60" Height="60" Background="Transparent"> + <materialDesign:PackIcon Width="40" Height="40" Kind="Stop" Foreground="{StaticResource AccentColorBrush}" /> </Button> - <Button Command="{Binding MediaSeekForwardCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="150" Height="150" Background="Transparent"> - <materialDesign:PackIcon Width="100" Height="100" Kind="FastForward" Foreground="{StaticResource AccentColorBrush}" /> + <Button Command="{Binding MediaSeekForwardCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Padding="0" Width="60" Height="60" Background="Transparent"> + <materialDesign:PackIcon Width="40" Height="40" Kind="FastForward" Foreground="{StaticResource AccentColorBrush}" /> </Button> - <Button Command="{Binding MediaRecordingCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Foreground="#FF7A7A" BorderBrush="#FF8585" Padding="0" Width="100" Height="100" Background="Transparent" ToolTip="Start Recording"> - <materialDesign:PackIcon Width="50" Height="50" Kind="Record" /> + <Button Command="{Binding MediaRecordingCommand}" Margin="20 0 0 0" Style="{StaticResource MaterialDesignFloatingActionButton}" Foreground="#FF7A7A" BorderBrush="#FF8585" Padding="0" Width="50" Height="50" Background="Transparent" ToolTip="Start Recording"> + <materialDesign:PackIcon Width="30" Height="30" Kind="Record" /> </Button> </StackPanel> <Grid> - <Label Margin="0 0 50 0" VerticalAlignment="Center" HorizontalAlignment="Right" Foreground="#FF8585" FontSize="60" FontFamily="{StaticResource digital-7}"> + <Label Margin="0 0 15 0" VerticalAlignment="Center" HorizontalAlignment="Right" Foreground="#FF8585" FontSize="40" FontFamily="{StaticResource digital-7}"> <Label.Style> <Style TargetType="Label"> <Setter Property="Opacity" Value="1"></Setter> @@ -273,8 +263,19 @@ </Label.Style> </Label> </Grid> + + <DockPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" TextElement.FontSize="16" Visibility="{Binding Recorder.IsRecording,Converter={StaticResource BooleanToVisibilityConverter}}"> + <TextBlock DockPanel.Dock="Left"> + <Run FontWeight="SemiBold" FontStyle="Italic">Total Frames:</Run> + <Run FontStyle="Italic" Foreground="#545454" Text="{Binding Recorder.TotalFramesRecorded,StringFormat={}{0:N0},Mode=OneWay,TargetNullValue=0,FallbackValue=0}"></Run> + </TextBlock> + <TextBlock Margin="80 0 0 0" HorizontalAlignment="Right" Width="250"> + <Run FontWeight="SemiBold" FontStyle="Italic">File Size:</Run> + <Run FontStyle="Italic" Foreground="#545454" Text="{Binding Recorder.TotalBytesRecorded,Mode=OneWay,Converter={StaticResource NumberToFileSizeConverter},TargetNullValue=0,FallbackValue=0}"></Run> + </TextBlock> + </DockPanel> </Grid> - <Slider x:Name="slider" Margin="10 40 50 0" Visibility="{Binding Recorder.IsRecording,Converter={StaticResource BooleanToVisibilityInverseConverter}}" Maximum="{Binding Player.TotalFrames}" Value="{Binding Player.CurrentFrame,Mode=OneWay}"> + <Slider x:Name="slider" Margin="0 10 20 0" Visibility="{Binding Recorder.IsRecording,Converter={StaticResource BooleanToVisibilityInverseConverter}}" Maximum="{Binding Player.TotalFrames}" Value="{Binding Player.CurrentFrame,Mode=OneWay}"> <i:Interaction.Triggers> <i:EventTrigger EventName="PreviewMouseDown"> <i:InvokeCommandAction Command="{Binding MediaSeekHoldCommand}"></i:InvokeCommandAction> @@ -285,6 +286,39 @@ </i:Interaction.Triggers> </Slider> </StackPanel> + + <logging:TimelineView RenderTransformOrigin="0.5,0.5" DataContext="{Binding TimelineViewVM}" Margin="0 0 0 10"> + <FrameworkElement.Style> + <Style TargetType="FrameworkElement"> + <Setter Property="RenderTransform"> + <Setter.Value> + <ScaleTransform ScaleX="0" ScaleY="0" /> + </Setter.Value> + </Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.Player.IsPlaying}" Value="True"> + <DataTrigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" To="1" Duration="00:00:0.2" /> + <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" To="1" Duration="00:00:0.2" /> + </Storyboard> + </BeginStoryboard> + </DataTrigger.EnterActions> + <DataTrigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" To="0" Duration="00:00:0.2" /> + <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" To="0" Duration="00:00:0.2" /> + </Storyboard> + </BeginStoryboard> + </DataTrigger.ExitActions> + </DataTrigger> + </Style.Triggers> + </Style> + </FrameworkElement.Style> + </logging:TimelineView> + </DockPanel> </Grid> </Grid> </Grid> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs index f455faa9e..7891f96b7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs @@ -33,6 +33,7 @@ using System.Windows; using Tango.Core.Helpers; using System.Speech.Synthesis; using System.Media; +using Tango.MachineStudio.Common.EventLogging; namespace Tango.MachineStudio.Developer.ViewModels { @@ -57,6 +58,7 @@ namespace Tango.MachineStudio.Developer.ViewModels private SpeechSynthesizer _speech; private SoundPlayer _soundPlayer; private SoundPlayer _soundPlayerErr; + private IEventLogger _eventLogger; #region Properties @@ -598,7 +600,7 @@ namespace Tango.MachineStudio.Developer.ViewModels /// </summary> /// <param name="applicationManager">The application manager.</param> /// <param name="notificationProvider">The notification provider.</param> - public MainViewVM(IStudioApplicationManager applicationManager, INotificationProvider notificationProvider, IDiagnosticsFrameProvider diagnosticsFrameProvider, IVideoCaptureProvider videoCaptureProvider, DeveloperNavigationManager navigation, IAuthenticationProvider authentication) + public MainViewVM(IStudioApplicationManager applicationManager, INotificationProvider notificationProvider, IDiagnosticsFrameProvider diagnosticsFrameProvider, IVideoCaptureProvider videoCaptureProvider, DeveloperNavigationManager navigation, IAuthenticationProvider authentication, IEventLogger eventLogger) { SelectedJobs = new ObservableCollection<Job>(); @@ -625,6 +627,7 @@ namespace Tango.MachineStudio.Developer.ViewModels _navigation = navigation; ApplicationManager = applicationManager; VideoCaptureProvider = videoCaptureProvider; + _eventLogger = eventLogger; LogManager.Log("Initializing relay commands..."); @@ -1011,6 +1014,8 @@ namespace Tango.MachineStudio.Developer.ViewModels _jobHandler = MachineOperator.Print(ActiveJob, SelectedProcessParametersTable); + _eventLogger.Log(String.Format("Job '{0}' started...", ActiveJob.Name)); + _jobHandler.StatusReceived += (x, status) => { if (IsJobRunning) @@ -1044,10 +1049,12 @@ namespace Tango.MachineStudio.Developer.ViewModels if (segment.ID != -1) { SpeakInfo(String.Format("Segment {0} Started.", segment.SegmentIndex)); + _eventLogger.Log(String.Format("Segment {0} Started.", segment.SegmentIndex)); } else { SpeakInfo(String.Format("Inter Segment Started.")); + _eventLogger.Log("Inter Segment Started."); } } } @@ -1064,6 +1071,7 @@ namespace Tango.MachineStudio.Developer.ViewModels _jobHandler.Failed += (x, ex) => { LogManager.Log(ex, String.Format("Job {0} has failed.", RunningJob.Name)); + _eventLogger.Log(ex, String.Format("Job {0} has failed.", RunningJob.Name)); SetJobFailed(); InvokeUI(() => @@ -1075,18 +1083,21 @@ namespace Tango.MachineStudio.Developer.ViewModels _jobHandler.Completed += (x, e) => { LogManager.Log(String.Format("Job {0} has completed.", RunningJob.Name)); + _eventLogger.Log(String.Format("Job {0} has completed.", RunningJob.Name)); SetJobCompleted(); }; _jobHandler.Canceled += (x, y) => { LogManager.Log(String.Format("Job {0} has been canceled.", RunningJob.Name)); + _eventLogger.Log(String.Format("Job {0} has been canceled.", RunningJob.Name)); //Finally Canceled.. }; } catch (Exception ex) { LogManager.Log(ex); + _eventLogger.Log(ex, "An error occurred while starting the job."); _notification.ShowError("An error occurred while starting the job. " + Environment.NewLine + ex.Message); SetJobFailed(); } @@ -1741,7 +1752,7 @@ namespace Tango.MachineStudio.Developer.ViewModels segment.Length = totalLength; segment.Name = "Embroidery Segment"; - segment.SegmentIndex = vm.Paths.IndexOf(path) + 2; + segment.SegmentIndex = vm.Paths.IndexOf(path); if (path.Brush is SolidColorBrush) { diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimeRuler.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimeRuler.cs new file mode 100644 index 000000000..552f8f416 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimeRuler.cs @@ -0,0 +1,227 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace Tango.MachineStudio.Logging.Controls +{ + public class TimeRuler : Control + { + private double _smallStep; + private double _bigStep; + + #region Private Methods + + private static T FindVisualParent<T>(DependencyObject child) where T : DependencyObject + { + // get parent item + DependencyObject parentObject = VisualTreeHelper.GetParent(child); + + // we’ve reached the end of the tree + if (parentObject == null) return null; + + // check if the parent matches the type we’re looking for + T parent = parentObject as T; + if (parent != null) + { + return parent; + } + else + { + // use recursion to proceed with next level + return FindVisualParent<T>(parentObject); + } + } + + #endregion + + #region Properties + + public double RenderWidth + { + get { return (double)GetValue(RenderWidthProperty); } + set { SetValue(RenderWidthProperty, value); } + } + public static readonly DependencyProperty RenderWidthProperty = + DependencyProperty.Register("RenderWidth", typeof(double), typeof(TimeRuler), new FrameworkPropertyMetadata(400.0, FrameworkPropertyMetadataOptions.AffectsRender)); + + public double HorizontalOffset + { + get { return (double)GetValue(HorizontalOffsetProperty); } + set { SetValue(HorizontalOffsetProperty, value); } + } + public static readonly DependencyProperty HorizontalOffsetProperty = + DependencyProperty.Register("HorizontalOffset", typeof(double), typeof(TimeRuler), new PropertyMetadata(0.0, HorizontalOffsetChanged)); + + private static void HorizontalOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var control = d as TimeRuler; + control.Margin = new Thickness(-control.HorizontalOffset, 0, 0, 0); + control.InvalidateVisual(); + } + + + + #region Zoom + /// <summary> + /// Gets or sets the zoom factor for the ruler. The default value is 1.0. + /// </summary> + public double Zoom + { + get + { + return (double)GetValue(ZoomProperty); + } + set + { + SetValue(ZoomProperty, value); + this.InvalidateVisual(); + } + } + + private void SetSteps(double value) + { + if (value >= 50) + { + _smallStep = 0.25; + _bigStep = 1; + } + else if (value >= 40) + { + _smallStep = 0.25; + _bigStep = 2; + } + else if (value >= 30) + { + _smallStep = 0.5; + _bigStep = 2; + } + else if (value >= 20) + { + _smallStep = 1; + _bigStep = 5; + } + else if (value >= 10) + { + _smallStep = 1; + _bigStep = 10; + } + else if (value >= 5) + { + _smallStep = 2; + _bigStep = 20; + } + else if (value >= 3) + { + _smallStep = 5; + _bigStep = 30; + } + else if (value >= 1) + { + _smallStep = 30; + _bigStep = 300; + } + else if (value >= 0.5) + { + _smallStep = 60; + _bigStep = 600; + } + } + + /// <summary> + /// Identifies the Zoom dependency property. + /// </summary> + public static readonly DependencyProperty ZoomProperty = + DependencyProperty.Register("Zoom", typeof(double), typeof(TimeRuler), new FrameworkPropertyMetadata((double)1.0, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(ZoomChanged))); + + private static void ZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + (d as TimeRuler).SetSteps((double)e.NewValue); + } + + + #endregion + + #endregion + + #region Constructor + + public TimeRuler() + { + _smallStep = 1; + _bigStep = 10; + FontSize = 10; + this.Loaded += TimeRuler_Loaded; + } + + private void TimeRuler_Loaded(object sender, RoutedEventArgs e) + { + this.InvalidateVisual(); + } + + #endregion + + #region Methods + + /// <summary> + /// Participates in rendering operations. + /// </summary> + /// <param name="drawingContext">The drawing instructions for a specific element. This context is provided to the layout system.</param> + protected override void OnRender(DrawingContext drawingContext) + { + base.OnRender(drawingContext); + + double xDest = RenderWidth; + int start = (int)(HorizontalOffset / Zoom); + + drawingContext.DrawRectangle(Background, new Pen(BorderBrush, 0), new Rect(new Point(start * Zoom, 0.0), new Point(xDest + (start * Zoom) + 100, Height))); + drawingContext.DrawLine(new Pen(BorderBrush, 1), new Point(start * Zoom, Height - 1), new Point(xDest + (start * Zoom) + 100, Height)); + + + double l = (start % _smallStep); + while (l != 0) //I don't know why, but this is needed in order to prevent ruler from flickering on some lower scale factors :/ + { + start += 1; + l = (start % _smallStep); + } + + for (double dUnit = start; dUnit < (RenderWidth / Zoom) + (start) + 10; dUnit += _smallStep) + { + double d = dUnit * (this.Zoom); + + double startHeight; + double endHeight; + + startHeight = Height; + endHeight = ((dUnit % _bigStep == 0) ? (this.ActualHeight / 5) * 1.5 : this.ActualHeight / 5); + + drawingContext.DrawLine(new Pen(Foreground, 1), new Point(d, startHeight), new Point(d, (startHeight - endHeight))); + + double uu = (dUnit % _bigStep); + + if ((dUnit != 0.0) && (uu == 0) && (dUnit < (RenderWidth / Zoom) + start + 10)) + { + double u = dUnit; + TimeSpan t = TimeSpan.FromSeconds((u)); + + FormattedText ft = new FormattedText(t.ToString("g"), + CultureInfo.CurrentCulture, + FlowDirection.LeftToRight, + new Typeface(FontFamily.ToString()), + FontSize, + Foreground); + ft.SetFontWeight(FontWeight); + ft.TextAlignment = TextAlignment.Center; + drawingContext.DrawText(ft, new Point(d, (Height / 2) - (ft.Height / 2) - 2)); + } + } + } + + #endregion + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimelineScrollViewer.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimelineScrollViewer.cs new file mode 100644 index 000000000..dd1227a06 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Controls/TimelineScrollViewer.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Controls; +using System.Windows.Input; + +namespace Tango.MachineStudio.Logging.Controls +{ + public class TimelineScrollViewer : ScrollViewer + { + public event EventHandler<MouseWheelEventArgs> MouseZooming; + + protected override void OnMouseWheel(MouseWheelEventArgs e) + { + if (Keyboard.IsKeyDown(Key.LeftCtrl)) + { + e.Handled = true; + OnMouseZooming(e); + } + else + { + base.OnMouseWheel(e); + } + + e.Handled = false; + } + + protected override void OnKeyDown(KeyEventArgs e) + { + if (e.KeyboardDevice.Modifiers == ModifierKeys.Control) + { + if (e.Key == Key.Left || e.Key == Key.Right) + e.Handled = true; + return; + } + base.OnKeyDown(e); + } + + protected override void OnPreviewKeyDown(KeyEventArgs e) + { + e.Handled = true; + } + + protected virtual void OnMouseZooming(MouseWheelEventArgs e) + { + if (MouseZooming != null) MouseZooming(this, e); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/DateIsInListToBooleanConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/DateIsInListToBooleanConverter.cs new file mode 100644 index 000000000..cd4f60d4c --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/DateIsInListToBooleanConverter.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using Tango.MachineStudio.Logging.ViewModels; + +namespace Tango.MachineStudio.Logging.Converters +{ + public class DateIsInListToBooleanConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values.Length < 2 || !(values[0] is DateTime) || !(values[1] is IEnumerable<DateTime>)) + return false; + + var date = (DateTime)values[0]; + var dateList = (IEnumerable<DateTime>)values[1]; + + return dateList.ToList().Exists(x => x.ToLocalTime().ToShortDateString() == date.ToLocalTime().ToShortDateString()); + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/EventsToTimeRulerTicksConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/EventsToTimeRulerTicksConverter.cs new file mode 100644 index 000000000..35df1723b --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/EventsToTimeRulerTicksConverter.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using Tango.MachineStudio.Logging.ViewModels; + +namespace Tango.MachineStudio.Logging.Converters +{ + public class EventsToTimeRulerTicksConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + ObservableCollection<TimelineEventGroup> groups = value as ObservableCollection<TimelineEventGroup>; + + DateTime maxTime = groups.SelectMany(x => x.Events).Max(x => x.DateTime); + DateTime minTime = groups.SelectMany(x => x.Events).Min(x => x.DateTime); + + List<DateTime> dates = new List<DateTime>(); + + for (DateTime time = minTime; time < maxTime; time = time.AddSeconds(1)) + { + dates.Add(time); + } + + return dates; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/MachineEventToXConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/MachineEventToXConverter.cs new file mode 100644 index 000000000..193a63ffc --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/MachineEventToXConverter.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using Tango.BL.Entities; +using Tango.MachineStudio.Logging.Helpers; +using Tango.MachineStudio.Logging.ViewModels; + +namespace Tango.MachineStudio.Logging.Converters +{ + public class MachineEventToXConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values.Length == 3) + { + MachinesEvent ev = values[0] as MachinesEvent; + + if (ev != null) + { + ObservableCollection<TimelineEventGroup> groups = values[1] as ObservableCollection<TimelineEventGroup>; + + if (groups.Count > 0) + { + double scale = (double)values[2]; + + DateTime maxTime = groups.SelectMany(x => x.Events).Max(x => x.DateTime); + DateTime minTime = groups.SelectMany(x => x.Events).Min(x => x.DateTime); + + TimeSpan range = maxTime - minTime; + TimeSpan time = maxTime - ev.DateTime; + + time = range - time; + + return TimelineHelper.ConvertTimeToPixels(time, scale); + } + } + } + + return 0.0; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/SecondsToWidthConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/SecondsToWidthConverter.cs new file mode 100644 index 000000000..66e888cc0 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/SecondsToWidthConverter.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using Tango.MachineStudio.Logging.Helpers; + +namespace Tango.MachineStudio.Logging.Converters +{ + public class SecondsToWidthConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + double scale = (double)value; + double seconds = System.Convert.ToDouble(parameter.ToString()); + + return TimelineHelper.ConvertTimeToPixels(TimeSpan.FromSeconds(seconds), scale); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/TimeSpanToXConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/TimeSpanToXConverter.cs new file mode 100644 index 000000000..c5f310d52 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Converters/TimeSpanToXConverter.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using Tango.MachineStudio.Logging.Helpers; + +namespace Tango.MachineStudio.Logging.Converters +{ + public class TimeSpanToXConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values.Length == 2) + { + TimeSpan time = (TimeSpan)values[0]; + double scale = (double)values[1]; + + return TimelineHelper.ConvertTimeToPixels(time, scale) + (parameter != null ? System.Convert.ToDouble(parameter) : 0); + } + + return null; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Helpers/TimelineHelper.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Helpers/TimelineHelper.cs new file mode 100644 index 000000000..6cfe51ba4 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Helpers/TimelineHelper.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.MachineStudio.Logging.Helpers +{ + public static class TimelineHelper + { + public static double ConvertTimeToPixels(TimeSpan time, double scaleFactor) + { + return ((double)(0.05f * ((double)(time.TotalSeconds) * 20))) * scaleFactor; + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationManager.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationManager.cs new file mode 100644 index 000000000..b86df7b0f --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationManager.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Logging; +using Tango.MachineStudio.Common.Navigation; +using Tango.MachineStudio.Logging.Views; + +namespace Tango.MachineStudio.Logging.Navigation +{ + public class LoggingNavigationManager + { + private LogManager LogManager = LogManager.Default; + + public void NavigateTo(LoggingNavigationView view) + { + LogManager.Log(String.Format("Navigating to view {0}...", view.ToString())); + MainView.Instance.TransitionControl.AutoNavigate(view.ToString()); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationView.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationView.cs new file mode 100644 index 000000000..6f4fcbceb --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Navigation/LoggingNavigationView.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.MachineStudio.Logging.Navigation +{ + public enum LoggingNavigationView + { + EventsView, + TimelineView, + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj index be3e1ef93..4b817a124 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj @@ -81,13 +81,37 @@ <Compile Include="..\..\..\Versioning\GlobalVersionInfo.cs"> <Link>GlobalVersionInfo.cs</Link> </Compile> + <Compile Include="Controls\TimelineScrollViewer.cs" /> + <Compile Include="Controls\TimeRuler.cs" /> + <Compile Include="Converters\DateIsInListToBooleanConverter.cs" /> + <Compile Include="Converters\EventsToTimeRulerTicksConverter.cs" /> + <Compile Include="Converters\MachineEventToXConverter.cs" /> + <Compile Include="Converters\SecondsToWidthConverter.cs" /> + <Compile Include="Converters\TimeSpanToXConverter.cs" /> + <Compile Include="Helpers\TimelineHelper.cs" /> <Compile Include="LoggingModule.cs" /> + <Compile Include="Navigation\LoggingNavigationManager.cs" /> + <Compile Include="Navigation\LoggingNavigationView.cs" /> <Compile Include="ViewModelLocator.cs" /> - <Compile Include="ViewModels\DateVM.cs" /> + <Compile Include="ViewModels\EventDetailsViewVM.cs" /> <Compile Include="ViewModels\MainViewVM.cs" /> + <Compile Include="ViewModels\TimelineEventGroup.cs" /> + <Compile Include="ViewModels\TimelineViewVM.cs" /> + <Compile Include="Views\EventDetailsView.xaml.cs"> + <DependentUpon>EventDetailsView.xaml</DependentUpon> + </Compile> + <Compile Include="Views\EventsView.xaml.cs"> + <DependentUpon>EventsView.xaml</DependentUpon> + </Compile> <Compile Include="Views\MainView.xaml.cs"> <DependentUpon>MainView.xaml</DependentUpon> </Compile> + <Compile Include="Views\TimelineView.xaml.cs"> + <DependentUpon>TimelineView.xaml</DependentUpon> + </Compile> + <Compile Include="Views\TimelineWrapperView.xaml.cs"> + <DependentUpon>TimelineWrapperView.xaml</DependentUpon> + </Compile> </ItemGroup> <ItemGroup> <Compile Include="Properties\AssemblyInfo.cs"> @@ -160,10 +184,26 @@ </ProjectReference> </ItemGroup> <ItemGroup> + <Page Include="Views\EventDetailsView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Views\EventsView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> <Page Include="Views\MainView.xaml"> <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> </Page> + <Page Include="Views\TimelineView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Views\TimelineWrapperView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> </ItemGroup> <ItemGroup> <Resource Include="Images\machine-trans.png" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs index 76c89000d..ef6923e27 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs @@ -1,6 +1,7 @@ using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Ioc; using Microsoft.Practices.ServiceLocation; +using Tango.MachineStudio.Logging.Navigation; using Tango.MachineStudio.Logging.ViewModels; namespace Tango.MachineStudio.Logging @@ -18,6 +19,9 @@ namespace Tango.MachineStudio.Logging { ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default); SimpleIoc.Default.Register<MainViewVM>(); + + SimpleIoc.Default.Unregister<LoggingNavigationManager>(); + SimpleIoc.Default.Register<LoggingNavigationManager>(() => new LoggingNavigationManager()); } public static MainViewVM MainViewVM diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/DateVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/DateVM.cs deleted file mode 100644 index fd03d6328..000000000 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/DateVM.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Tango.Core; - -namespace Tango.MachineStudio.Logging.ViewModels -{ - public class DateVM : ExtendedObject - { - public DateTime Date { get; set; } - - public String Description { get; set; } - - public DateVM(DateTime date) - { - Date = date; - Description = date.ToLocalTime().ToShortDateString(); - } - } -} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EventDetailsViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EventDetailsViewVM.cs new file mode 100644 index 000000000..0e3d19748 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EventDetailsViewVM.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL.Entities; +using Tango.Core.Commands; +using Tango.MachineStudio.Common.Notifications; +using Tango.SharedUI; + +namespace Tango.MachineStudio.Logging.ViewModels +{ + public class EventDetailsViewVM : DialogViewVM + { + public MachinesEvent Event { get; set; } + + public EventDetailsViewVM() + { + + } + + public EventDetailsViewVM(MachinesEvent ev) : this() + { + Event = ev; + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/MainViewVM.cs index 2b773c1c2..e5121e709 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/MainViewVM.cs @@ -7,10 +7,13 @@ using System.Text; using System.Threading.Tasks; using Tango.BL; using Tango.BL.Entities; +using Tango.Core.Commands; using Tango.MachineStudio.Common.EventLogging; using Tango.MachineStudio.Common.Messages; using Tango.MachineStudio.Common.Notifications; using Tango.MachineStudio.Common.StudioApplication; +using Tango.MachineStudio.Logging.Navigation; +using Tango.MachineStudio.Logging.Views; using Tango.SharedUI; namespace Tango.MachineStudio.Logging.ViewModels @@ -20,9 +23,9 @@ namespace Tango.MachineStudio.Logging.ViewModels private INotificationProvider _notification; private IStudioApplicationManager _application; private IEventLogger _eventLogger; - private DateVM _realTimeDate; private ObservableCollection<MachinesEvent> _realTimeEvents; private Machine _connectedMachine; + private LoggingNavigationManager _navigation; private Machine _selectedMachine; public Machine SelectedMachine @@ -45,30 +48,68 @@ namespace Tango.MachineStudio.Logging.ViewModels set { _selectedEvent = value; RaisePropertyChangedAuto(); OnSelectedEventChanged(); } } - private ObservableCollection<DateVM> _dates; - public ObservableCollection<DateVM> Dates + private ObservableCollection<DateTime> _dates; + public ObservableCollection<DateTime> Dates { get { return _dates; } set { _dates = value; RaisePropertyChangedAuto(); } } - private DateVM _selectedDate; - public DateVM SelectedDate + private DateTime _selectedDate; + public DateTime SelectedDate { get { return _selectedDate; } set { _selectedDate = value; RaisePropertyChangedAuto(); OnSelectedDateChanged(); } } - public MainViewVM(INotificationProvider notification, IEventLogger eventLogger, IStudioApplicationManager application) + private DateTime _minDate; + public DateTime MinDate { + get { return _minDate; } + set { _minDate = value; RaisePropertyChangedAuto(); } + } + + private DateTime _maxDate; + public DateTime MaxDate + { + get { return _maxDate; } + set { _maxDate = value; RaisePropertyChangedAuto(); } + } + + + private bool _isRealTime; + public bool IsRealTime + { + get { return _isRealTime; } + set { _isRealTime = value; RaisePropertyChangedAuto(); OnSelectedDateChanged(); } + } + + private TimelineViewVM _timelineViewVM; + + public TimelineViewVM TimelineViewVM + { + get { return _timelineViewVM; } + set { _timelineViewVM = value; RaisePropertyChangedAuto(); } + } + + public RelayCommand<MachinesEvent> DisplayTimelineCommand { get; set; } + + public RelayCommand NavigateToEventsCommand { get; set; } + + public MainViewVM(INotificationProvider notification, IEventLogger eventLogger, IStudioApplicationManager application, LoggingNavigationManager navigation) + { + TimelineViewVM = new TimelineViewVM(notification); + + _navigation = navigation; _application = application; _notification = notification; _eventLogger = eventLogger; - _realTimeDate = new DateVM(DateTime.Now) { Description = "Real Time" }; _realTimeEvents = new ObservableCollection<MachinesEvent>(); _eventLogger.NewLog += _eventLogger_NewLog; RegisterMessage<MachineConnectionChangedMessage>(OnMachineConnectionChanged); + DisplayTimelineCommand = new RelayCommand<MachinesEvent>(DisplayTimeline); + NavigateToEventsCommand = new RelayCommand(() => _navigation.NavigateTo(LoggingNavigationView.EventsView)); } private void OnMachineConnectionChanged(MachineConnectionChangedMessage msg) @@ -88,7 +129,7 @@ namespace Tango.MachineStudio.Logging.ViewModels { InvokeUI(() => { - _realTimeEvents.Add(machineEvent); + _realTimeEvents.Insert(0, machineEvent); }); } @@ -96,27 +137,30 @@ namespace Tango.MachineStudio.Logging.ViewModels { if (SelectedMachine != null) { - Dates = new ObservableCollection<DateVM>(); + Dates = new ObservableCollection<DateTime>(); if (SelectedMachine == _connectedMachine) { - Dates.Add(_realTimeDate); + IsRealTime = true; } foreach (var day in SelectedMachine.MachinesEvents.GroupBy(x => x.DateTime.DayOfYear).Select(x => x.First().DateTime).OrderByDescending(x => x)) { - Dates.Add(new DateVM(day)); + Dates.Add(day); } + MinDate = Dates.Min(); + MaxDate = Dates.Max(); + SelectedDate = Dates.FirstOrDefault(); } } private void OnSelectedDateChanged() { - if (SelectedDate != null) + if (SelectedDate != null && SelectedMachine != null) { - if (SelectedDate == _realTimeDate) + if (IsRealTime) { Events = _realTimeEvents; } @@ -129,10 +173,20 @@ namespace Tango.MachineStudio.Logging.ViewModels private void OnSelectedEventChanged() { - if (SelectedEvent != null) + if (SelectedEvent != null && SelectedEvent.Type != BL.Enumerations.EventTypes.ApplicationStarted) { - _notification.ShowInfo(SelectedEvent.Description); + _notification.ShowModalDialog<EventDetailsViewVM, EventDetailsView>(new EventDetailsViewVM(SelectedEvent), (x) => { }, () => { }); } } + + private void DisplayTimeline(MachinesEvent ev) + { + var events = Events.OrderBy(x => x.DateTime).SkipWhile(x => x != ev).Skip(1).TakeWhile(x => x.DateTime > ev.DateTime && x.Type != BL.Enumerations.EventTypes.ApplicationStarted).ToObservableCollection(); + events.Insert(0, ev); + + TimelineViewVM.Initialize(events.ToList()); + + _navigation.NavigateTo(LoggingNavigationView.TimelineView); + } } } diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineEventGroup.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineEventGroup.cs new file mode 100644 index 000000000..978348fd2 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineEventGroup.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL.Entities; +using Tango.Core; + +namespace Tango.MachineStudio.Logging.ViewModels +{ + public class TimelineEventGroup : ExtendedObject + { + public String Name { get; set; } + + public ObservableCollection<MachinesEvent> Events { get; set; } + + public TimelineEventGroup() + { + Events = new ObservableCollection<MachinesEvent>(); + } + + public TimelineEventGroup(String name) : this() + { + Name = name; + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineViewVM.cs new file mode 100644 index 000000000..edf53bbd2 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/TimelineViewVM.cs @@ -0,0 +1,97 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL.Entities; +using Tango.Core.Commands; +using Tango.MachineStudio.Common.Notifications; +using Tango.MachineStudio.Logging.Views; +using Tango.SharedUI; + +namespace Tango.MachineStudio.Logging.ViewModels +{ + public class TimelineViewVM : ViewModel + { + private ObservableCollection<TimelineEventGroup> _timelineEventGroups; + public ObservableCollection<TimelineEventGroup> TimelineEventGroups + { + get { return _timelineEventGroups; } + set { _timelineEventGroups = value; RaisePropertyChangedAuto(); } + } + + private TimeSpan _timelineMaxTime; + public TimeSpan TimelineMaxTime + { + get { return _timelineMaxTime; } + set { _timelineMaxTime = value; RaisePropertyChangedAuto(); } + } + + private double _timelineScaleFactor; + public double TimelineScaleFactor + { + get { return _timelineScaleFactor; } + set + { + + if (value < 0.1) value = 0.1; + + _timelineScaleFactor = value; + RaisePropertyChangedAuto(); + } + } + + private TimeSpan _currentPosition; + + public TimeSpan CurrentPosition + { + get { return _currentPosition; } + set { _currentPosition = value; RaisePropertyChangedAuto(); } + } + + private bool _enableTimeMarker; + + public bool EnableTimeMarker + { + get { return _enableTimeMarker; } + set { _enableTimeMarker = value; RaisePropertyChangedAuto(); } + } + + public RelayCommand<MachinesEvent> EventSelectedCommand { get; set; } + + + public TimelineViewVM(INotificationProvider notification) + { + TimelineScaleFactor = 10; + TimelineEventGroups = new ObservableCollection<TimelineEventGroup>(); + + EventSelectedCommand = new RelayCommand<MachinesEvent>((ev) => + { + notification.ShowModalDialog<EventDetailsViewVM, EventDetailsView>(new EventDetailsViewVM(ev), (x) => { }, () => { }); + }); + } + + public void Initialize(List<MachinesEvent> events) + { + TimelineEventGroups = new ObservableCollection<TimelineEventGroup>(); + + if (events != null && events.Count > 0) + { + foreach (var group in events.GroupBy(x => x.Group)) + { + TimelineEventGroup evGroup = new TimelineEventGroup(group.Key.ToString().ToWords()); + + foreach (var e in group) + { + evGroup.Events.Add(e); + } + + TimelineEventGroups.Add(evGroup); + } + + TimelineMaxTime = events.Max(x => x.DateTime) - events.Min(x => x.DateTime); + } + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml new file mode 100644 index 000000000..c75ef41ee --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml @@ -0,0 +1,93 @@ +<UserControl x:Class="Tango.MachineStudio.Logging.Views.EventDetailsView" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI" + xmlns:vm="clr-namespace:Tango.MachineStudio.Logging.ViewModels" + xmlns:entities="clr-namespace:Tango.BL.Entities;assembly=Tango.BL" + xmlns:local="clr-namespace:Tango.MachineStudio.Logging.Views" + mc:Ignorable="d" + Height="500" Width="800" Background="White" d:DataContext="{d:DesignInstance Type=vm:EventDetailsViewVM, IsDesignTimeCreatable=False}"> + + <UserControl.Resources> + <converters:DateTimeUTCToStringConverter x:Key="DateTimeUTCToStringConverter" /> + </UserControl.Resources> + + <Grid> + <Grid Grid.RowSpan="2"> + <Grid.RowDefinitions> + <RowDefinition Height="60"/> + <RowDefinition Height="31*"/> + <RowDefinition Height="50"/> + </Grid.RowDefinitions> + + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Width="42" Height="42" VerticalAlignment="Center"> + <materialDesign:PackIcon.Style> + <Style TargetType="materialDesign:PackIcon"> + <Setter Property="Kind" Value="Alert"></Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding Event.Category}" Value="Info"> + <Setter Property="Kind" Value="Information"></Setter> + <Setter Property="Foreground" Value="DimGray"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Event.Category}" Value="Warning"> + <Setter Property="Kind" Value="Alert"></Setter> + <Setter Property="Foreground" Value="#FFA300"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Event.Category}" Value="Error"> + <Setter Property="Kind" Value="AlertOctagon"></Setter> + <Setter Property="Foreground" Value="#FF5C5C"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Event.Category}" Value="Critical"> + <Setter Property="Kind" Value="BellPlus"></Setter> + <Setter Property="Foreground" Value="Red"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Event.Type}" Value="ApplicationStarted"> + <Setter Property="Kind" Value="ClockFast"></Setter> + <Setter Property="Foreground" Value="White"></Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </materialDesign:PackIcon.Style> + </materialDesign:PackIcon> + <TextBlock VerticalAlignment="Center" Text="{Binding Event.EventType.Name}" Margin="10 0 0 0" FontSize="16"></TextBlock> + </StackPanel> + + <Grid Grid.Row="1"> + <DockPanel> + <UniformGrid Columns="2" DockPanel.Dock="Top"> + <controls:TableGrid RowHeight="30"> + <TextBlock Text="Date:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.DateTime,Converter={StaticResource DateTimeUTCToStringConverter},ConverterParameter='MM/dd/yyyy HH:mm:ss.fff'}"></TextBlock> + <TextBlock Text="Host Name:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.HostName}"></TextBlock> + <TextBlock Text="Machine:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.Machine.SerialNumber}"></TextBlock> + <TextBlock Text="User:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.User.Contact.FullName}"></TextBlock> + </controls:TableGrid> + + <controls:TableGrid RowHeight="30"> + <TextBlock Text="Category:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.EventType.EventTypesCategory.Name}"></TextBlock> + <TextBlock Text="Group:" FontWeight="SemiBold" /> + <TextBlock Text="{Binding Event.EventType.EventTypesGroup.Name}"></TextBlock> + </controls:TableGrid> + </UniformGrid> + + <Border Padding="5" BorderThickness="1" BorderBrush="Gainsboro"> + <TextBox BorderThickness="0" Text="{Binding Event.Description}" Style="{x:Null}" TextWrapping="Wrap" IsReadOnly="True" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Background="Transparent" /> + </Border> + </DockPanel> + </Grid> + + <Grid Grid.Row="2"> + <Button HorizontalAlignment="Right" Width="140" Command="{Binding CloseCommand}">CLOSE</Button> + </Grid> + </Grid> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml.cs new file mode 100644 index 000000000..dd447e1b6 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Tango.MachineStudio.Logging.Views +{ + /// <summary> + /// Interaction logic for EventDetailsView.xaml + /// </summary> + public partial class EventDetailsView : UserControl + { + public EventDetailsView() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml new file mode 100644 index 000000000..d92e56ddc --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml @@ -0,0 +1,245 @@ +<UserControl x:Class="Tango.MachineStudio.Logging.Views.EventsView" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:autoComplete="clr-namespace:Tango.AutoComplete.Editors;assembly=Tango.AutoComplete" + xmlns:autoCompleteMachine="clr-namespace:Tango.MachineStudio.Common.AutoComplete;assembly=Tango.MachineStudio.Common" + xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" + xmlns:global="clr-namespace:Tango.MachineStudio.Logging" + xmlns:localConverters="clr-namespace:Tango.MachineStudio.Logging.Converters" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:vm="clr-namespace:Tango.MachineStudio.Logging.ViewModels" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:Tango.MachineStudio.Logging.Views" + mc:Ignorable="d" + d:DesignHeight="1080" d:DesignWidth="1920" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}"> + <UserControl.Resources> + <autoCompleteMachine:MachinesProvider x:Key="MachinesProvider" /> + <converters:DateTimeUTCToShortDateTimeConverter x:Key="DateTimeUTCToShortDateTimeConverter" /> + <converters:DateTimeUTCToStringConverter x:Key="DateTimeUTCToStringConverter" /> + <localConverters:DateIsInListToBooleanConverter x:Key="DateIsInListToBooleanConverter" /> + + <Style x:Key="CustomCalendarDayButtonStyle" TargetType="{x:Type CalendarDayButton}" BasedOn="{StaticResource MaterialDesignCalendarDayButton}"> + <Style.Triggers> + <DataTrigger Value="True"> + <DataTrigger.Binding> + <MultiBinding Converter="{StaticResource DateIsInListToBooleanConverter}"> + <Binding /> + <Binding RelativeSource="{RelativeSource AncestorType=UserControl}" Path="DataContext.Dates" /> + <Binding RelativeSource="{RelativeSource AncestorType=DatePicker}" Path="IsDropDownOpen" ></Binding> + </MultiBinding> + </DataTrigger.Binding> + <Setter Property="Foreground" Value="{StaticResource AccentColorBrush}" /> + </DataTrigger> + </Style.Triggers> + </Style> + + <Style x:Key="HighlightDatePickerStyle" TargetType="{x:Type Calendar}" BasedOn="{StaticResource {x:Type Calendar}}"> + <Setter Property="CalendarDayButtonStyle" Value="{StaticResource CustomCalendarDayButtonStyle}" /> + </Style> + + <Style TargetType="DatePickerTextBox" BasedOn="{StaticResource {x:Type DatePickerTextBox}}"> + <Setter Property="IsReadOnly" Value="True"/> + </Style> + </UserControl.Resources> + + <Grid> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="79"/> + <RowDefinition Height="1*"/> + </Grid.RowDefinitions> + + <Border Background="#F1F1F1"> + <Border.Effect> + <DropShadowEffect /> + </Border.Effect> + <Grid> + <StackPanel Orientation="Horizontal"> + <Border Margin="10" Padding="5" BorderBrush="DimGray" BorderThickness="1"> + <Border.Background> + <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="White"/> + <GradientStop Color="#FFEAEAEA" Offset="1"/> + </LinearGradientBrush> + </Border.Background> + <StackPanel Orientation="Horizontal"> + <Image Source="../Images/machine-trans.png" RenderOptions.BitmapScalingMode="Fant"></Image> + <StackPanel Orientation="Horizontal" Width="300" Margin="20 0 0 5" VerticalAlignment="Bottom"> + <materialDesign:PackIcon Kind="BarcodeScan" VerticalAlignment="Center" Width="24" Height="24" /> + <autoComplete:AutoCompleteTextBox HorizontalContentAlignment="Stretch" Width="300" Margin="10 0 0 0" FontSize="16" Provider="{StaticResource MachinesProvider}" SelectedItem="{Binding SelectedMachine,Mode=TwoWay}" materialDesign:HintAssist.Hint="Serial Number / Name" DisplayMember="SerialNumber"> + <autoComplete:AutoCompleteTextBox.ItemTemplate> + <DataTemplate> + <Border Padding="5"> + <DockPanel LastChildFill="False" Width="250"> + <StackPanel Orientation="Horizontal" DockPanel.Dock="Left"> + <Image Source="/Images/machine-trans.png" Width="24" RenderOptions.BitmapScalingMode="Fant" /> + <TextBlock Margin="10 0 0 0" FontWeight="SemiBold" Text="{Binding SerialNumber}" VerticalAlignment="Center"></TextBlock> + </StackPanel> + <TextBlock DockPanel.Dock="Right" HorizontalAlignment="Right" Text="{Binding Name}" Foreground="Gray" VerticalAlignment="Center"></TextBlock> + </DockPanel> + </Border> + </DataTemplate> + </autoComplete:AutoCompleteTextBox.ItemTemplate> + </autoComplete:AutoCompleteTextBox> + </StackPanel> + </StackPanel> + </Border> + <Border Margin="10" Padding="5" BorderBrush="DimGray" BorderThickness="1"> + <Border.Background> + <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="White"/> + <GradientStop Color="#FFEAEAEA" Offset="1"/> + </LinearGradientBrush> + </Border.Background> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Calendar" Width="24" Height="24" VerticalAlignment="Bottom" Margin="0 0 0 5" /> + <DatePicker x:Name="datePicker" DisplayDateStart="{Binding MinDate}" DisplayDateEnd="{Binding MaxDate}" CalendarStyle="{StaticResource HighlightDatePickerStyle}" SelectedDate="{Binding SelectedDate}" materialDesign:HintAssist.Hint="Pick Date" Margin="10 0 0 5" Width="200" VerticalAlignment="Bottom" FontSize="16"> + </DatePicker> + <ToggleButton VerticalAlignment="Bottom" Margin="20 0 0 5" IsChecked="{Binding IsRealTime}"></ToggleButton> + <TextBlock VerticalAlignment="Center" Margin="10 17 0 0">Real-Time</TextBlock> + </StackPanel> + </Border> + </StackPanel> + </Grid> + </Border> + + <Grid Grid.Row="1" Background="#B3FFFFFF"> + <Grid Margin="10"> + <Grid.ColumnDefinitions> + + <ColumnDefinition Width="1*"/> + </Grid.ColumnDefinitions> + + <Grid> + <Grid> + <Grid> + <DataGrid Background="Transparent" AutoGenerateColumns="False" SelectionMode="Single" ItemsSource="{Binding Events}" SelectedItem="{Binding SelectedEvent}" RowHeight="40" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="True" IsReadOnly="True"> + <DataGrid.RowStyle> + <Style TargetType="DataGridRow" BasedOn="{StaticResource {x:Type DataGridRow}}"> + <Style.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + <Setter Property="Foreground" Value="{StaticResource AccentColorBrush}" /> + <Setter Property="Cursor" Value="Hand"></Setter> + </Trigger> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + </Trigger> + <Trigger Property="IsFocused" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + </Trigger> + <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> + <Setter Property="Background" Value="{StaticResource AccentColorBrush}"></Setter> + <Setter Property="Foreground" Value="White" /> + <Setter Property="FontWeight" Value="SemiBold"></Setter> + <Setter Property="Cursor" Value="Arrow"></Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </DataGrid.RowStyle> + <DataGrid.CellStyle> + <Style TargetType="DataGridCell" BasedOn="{StaticResource {x:Type DataGridCell}}"> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="VerticalContentAlignment" Value="Center"></Setter> + <Style.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + </Trigger> + <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> + <Setter Property="Background" Value="{StaticResource AccentColorBrush}"></Setter> + <Setter Property="Foreground" Value="White" /> + <Setter Property="FontWeight" Value="SemiBold"></Setter> + <Setter Property="Cursor" Value="Arrow"></Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </DataGrid.CellStyle> + <DataGrid.Columns> + <DataGridTemplateColumn Header="#"> + <DataGridTemplateColumn.CellTemplate> + <DataTemplate> + <materialDesign:PackIcon Width="16" Height="16"> + <materialDesign:PackIcon.Style> + <Style TargetType="materialDesign:PackIcon"> + <Setter Property="Kind" Value="Alert"></Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding Category}" Value="Info"> + <Setter Property="Kind" Value="Information"></Setter> + <Setter Property="Foreground" Value="DimGray"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Warning"> + <Setter Property="Kind" Value="Alert"></Setter> + <Setter Property="Foreground" Value="#FFA300"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Error"> + <Setter Property="Kind" Value="AlertOctagon"></Setter> + <Setter Property="Foreground" Value="#FF5C5C"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Critical"> + <Setter Property="Kind" Value="BellPlus"></Setter> + <Setter Property="Foreground" Value="Red"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> + <Setter Property="Kind" Value="ClockFast"></Setter> + <Setter Property="Foreground" Value="White"></Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </materialDesign:PackIcon.Style> + </materialDesign:PackIcon> + </DataTemplate> + </DataGridTemplateColumn.CellTemplate> + </DataGridTemplateColumn> + <DataGridTextColumn Header="DATE TIME" Binding="{Binding DateTime,Converter={StaticResource DateTimeUTCToStringConverter},ConverterParameter='MM/dd/yyyy HH:mm:ss.fff'}" /> + <DataGridTextColumn Header="HOST" Binding="{Binding HostName}" /> + <DataGridTextColumn Header="USER" Binding="{Binding User.Contact.FullName,Mode=OneTime}" /> + <DataGridTextColumn Header="GROUP" Binding="{Binding EventType.EventTypesGroup.Name}" /> + <DataGridTextColumn Header="EVENT" Binding="{Binding EventType.Name}" /> + <DataGridTemplateColumn Header="MESSAGE" Width="1*"> + <DataGridTemplateColumn.CellTemplate> + <DataTemplate> + <TextBlock Text="{Binding Description}" TextTrimming="CharacterEllipsis"></TextBlock> + </DataTemplate> + </DataGridTemplateColumn.CellTemplate> + </DataGridTemplateColumn> + <DataGridTemplateColumn Header="" Width="150"> + <DataGridTemplateColumn.CellTemplate> + <DataTemplate> + <ContentControl> + <ContentControl.Style> + <Style TargetType="ContentControl"> + <Setter Property="ContentTemplate" Value="{x:Null}"></Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> + <Setter Property="ContentTemplate"> + <Setter.Value> + <DataTemplate> + <Button Style="{StaticResource emptyButton}" Cursor="Hand" Foreground="White" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.DisplayTimelineCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=ContentControl},Path=DataContext}"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="Display Timeline" VerticalAlignment="Center"></TextBlock> + <materialDesign:PackIcon VerticalAlignment="Center" Margin="5 0 0 0" Kind="ArrowRight" Width="16" Height="16" /> + </StackPanel> + </Button> + </DataTemplate> + </Setter.Value> + </Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </ContentControl.Style> + </ContentControl> + </DataTemplate> + </DataGridTemplateColumn.CellTemplate> + </DataGridTemplateColumn> + </DataGrid.Columns> + </DataGrid> + </Grid> + </Grid> + </Grid> + </Grid> + </Grid> + </Grid> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml.cs new file mode 100644 index 000000000..b17eea54c --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventsView.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Tango.MachineStudio.Logging.Views +{ + /// <summary> + /// Interaction logic for EventsView.xaml + /// </summary> + public partial class EventsView : UserControl + { + public EventsView() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml index 3d59ee88e..6d5f98b51 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml @@ -8,153 +8,23 @@ xmlns:autoCompleteMachine="clr-namespace:Tango.MachineStudio.Common.AutoComplete;assembly=Tango.MachineStudio.Common" xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" xmlns:global="clr-namespace:Tango.MachineStudio.Logging" + xmlns:localConverters="clr-namespace:Tango.MachineStudio.Logging.Converters" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI" xmlns:vm="clr-namespace:Tango.MachineStudio.Logging.ViewModels" mc:Ignorable="d" d:DesignHeight="1080" d:DesignWidth="1920" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}"> - <UserControl.Resources> - <autoCompleteMachine:MachinesProvider x:Key="MachinesProvider" /> - <converters:DateTimeUTCToShortDateTimeConverter x:Key="DateTimeUTCToShortDateTimeConverter" /> - </UserControl.Resources> - <Grid> - <Grid> - <Grid.RowDefinitions> - <RowDefinition Height="79"/> - <RowDefinition Height="1*"/> - </Grid.RowDefinitions> - - <Border Background="#F1F1F1"> - <Border.Effect> - <DropShadowEffect /> - </Border.Effect> - <Grid> - <StackPanel Orientation="Horizontal" Margin="10"> - <Image Source="../Images/machine-trans.png" RenderOptions.BitmapScalingMode="Fant"></Image> - <StackPanel Orientation="Horizontal" Width="300" Margin="20 0 0 5" VerticalAlignment="Bottom"> - <materialDesign:PackIcon Kind="BarcodeScan" VerticalAlignment="Center" Width="24" Height="24" /> - <autoComplete:AutoCompleteTextBox HorizontalContentAlignment="Stretch" Width="300" Margin="10 0 0 0" FontSize="16" Provider="{StaticResource MachinesProvider}" SelectedItem="{Binding SelectedMachine,Mode=TwoWay}" materialDesign:HintAssist.Hint="Serial Number / Name" DisplayMember="SerialNumber"> - <autoComplete:AutoCompleteTextBox.ItemTemplate> - <DataTemplate> - <Border Padding="5"> - <DockPanel LastChildFill="False" Width="250"> - <StackPanel Orientation="Horizontal" DockPanel.Dock="Left"> - <Image Source="/Images/machine-trans.png" Width="24" RenderOptions.BitmapScalingMode="Fant" /> - <TextBlock Margin="10 0 0 0" FontWeight="SemiBold" Text="{Binding SerialNumber}" VerticalAlignment="Center"></TextBlock> - </StackPanel> - <TextBlock DockPanel.Dock="Right" HorizontalAlignment="Right" Text="{Binding Name}" Foreground="Gray" VerticalAlignment="Center"></TextBlock> - </DockPanel> - </Border> - </DataTemplate> - </autoComplete:AutoCompleteTextBox.ItemTemplate> - </autoComplete:AutoCompleteTextBox> - </StackPanel> - - <materialDesign:PackIcon Kind="Calendar" Width="24" Height="24" VerticalAlignment="Bottom" Margin="20 0 0 5" /> - <ComboBox Margin="10 0 0 5" Width="200" VerticalAlignment="Bottom" FontSize="16" ItemsSource="{Binding Dates}" SelectedItem="{Binding SelectedDate}" DisplayMemberPath="Description"></ComboBox> - </StackPanel> - </Grid> - </Border> - - <Grid Grid.Row="1" Background="#B3FFFFFF"> - <Grid Margin="10"> - <Grid.ColumnDefinitions> - - <ColumnDefinition Width="1*"/> - </Grid.ColumnDefinitions> - - <Grid> - <DockPanel> - <Grid DockPanel.Dock="Top"> - <StackPanel Orientation="Horizontal"> - <materialDesign:PackIcon Kind="NoteText" Width="32" Height="32" /> - <TextBlock VerticalAlignment="Center" Margin="10 0 0 0" FontSize="16" FontWeight="SemiBold" FontStyle="Italic">MACHINE EVENTS</TextBlock> - </StackPanel> - </Grid> - - <Grid> - <DataGrid Background="Transparent" AutoGenerateColumns="False" SelectionMode="Single" ItemsSource="{Binding Events}" SelectedItem="{Binding SelectedEvent}" RowHeight="40" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="True" IsReadOnly="True"> - <DataGrid.RowStyle> - <Style TargetType="DataGridRow" BasedOn="{StaticResource {x:Type DataGridRow}}"> - <Style.Triggers> - <Trigger Property="IsMouseOver" Value="True"> - <Setter Property="Background" Value="Transparent"></Setter> - <Setter Property="Foreground" Value="{StaticResource AccentColorBrush}" /> - <Setter Property="Cursor" Value="Hand"></Setter> - </Trigger> - <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> - <Setter Property="Background" Value="{StaticResource AccentColorBrush}"></Setter> - <Setter Property="Foreground" Value="White" /> - <Setter Property="FontWeight" Value="SemiBold"></Setter> - <Setter Property="Cursor" Value="Arrow"></Setter> - <Setter Property="IsHitTestVisible" Value="False"></Setter> - </DataTrigger> - </Style.Triggers> - </Style> - </DataGrid.RowStyle> - <DataGrid.CellStyle> - <Style TargetType="DataGridCell" BasedOn="{StaticResource {x:Type DataGridCell}}"> - <Setter Property="BorderThickness" Value="0"/> - <Setter Property="FocusVisualStyle" Value="{x:Null}"/> - <Setter Property="VerticalContentAlignment" Value="Center"></Setter> - </Style> - </DataGrid.CellStyle> - <DataGrid.Columns> - <DataGridTemplateColumn Header="#"> - <DataGridTemplateColumn.CellTemplate> - <DataTemplate> - <materialDesign:PackIcon Width="16" Height="16"> - <materialDesign:PackIcon.Style> - <Style TargetType="materialDesign:PackIcon"> - <Setter Property="Kind" Value="Alert"></Setter> - <Style.Triggers> - <DataTrigger Binding="{Binding Category}" Value="Info"> - <Setter Property="Kind" Value="Information"></Setter> - <Setter Property="Foreground" Value="DimGray"></Setter> - </DataTrigger> - <DataTrigger Binding="{Binding Category}" Value="Warning"> - <Setter Property="Kind" Value="Alert"></Setter> - <Setter Property="Foreground" Value="#FFA300"></Setter> - </DataTrigger> - <DataTrigger Binding="{Binding Category}" Value="Error"> - <Setter Property="Kind" Value="AlertOctagon"></Setter> - <Setter Property="Foreground" Value="#FF5C5C"></Setter> - </DataTrigger> - <DataTrigger Binding="{Binding Category}" Value="Critical"> - <Setter Property="Kind" Value="BellPlus"></Setter> - <Setter Property="Foreground" Value="Red"></Setter> - </DataTrigger> - <DataTrigger Binding="{Binding Type}" Value="ApplicationStarted"> - <Setter Property="Kind" Value="ClockFast"></Setter> - <Setter Property="Foreground" Value="White"></Setter> - </DataTrigger> - </Style.Triggers> - </Style> - </materialDesign:PackIcon.Style> - </materialDesign:PackIcon> - </DataTemplate> - </DataGridTemplateColumn.CellTemplate> - </DataGridTemplateColumn> - <DataGridTextColumn Header="DATE TIME" Binding="{Binding DateTime,Converter={StaticResource DateTimeUTCToShortDateTimeConverter}}" /> - <DataGridTextColumn Header="HOST" Binding="{Binding HostName}" /> - <DataGridTextColumn Header="USER" Binding="{Binding User.Contact.FullName,Mode=OneTime}" /> - <DataGridTextColumn Header="GROUP" Binding="{Binding EventType.EventTypesGroup.Name}" /> - <DataGridTextColumn Header="EVENT" Binding="{Binding EventType.Name}" /> - <DataGridTemplateColumn Header="MESSAGE" Width="1*"> - <DataGridTemplateColumn.CellTemplate> - <DataTemplate> - <TextBlock Text="{Binding Description}" TextTrimming="CharacterEllipsis"></TextBlock> - </DataTemplate> - </DataGridTemplateColumn.CellTemplate> - </DataGridTemplateColumn> - </DataGrid.Columns> - </DataGrid> - </Grid> - </DockPanel> - </Grid> - </Grid> - </Grid> - </Grid> + <controls:MultiTransitionControl x:Name="TransitionControl" x:FieldModifier="internal" TransitionType="Slide"> + <controls:MultiTransitionControl.Controls> + <ContentControl Tag="EventsView"> + <local:EventsView/> + </ContentControl> + <ContentControl Tag="TimelineView"> + <local:TimelineWrapperView /> + </ContentControl> + </controls:MultiTransitionControl.Controls> + </controls:MultiTransitionControl> </Grid> </UserControl> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml.cs index 160767603..c8d232e86 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/MainView.xaml.cs @@ -20,9 +20,12 @@ namespace Tango.MachineStudio.Logging.Views /// </summary> public partial class MainView : UserControl { + public static MainView Instance { get; private set; } + public MainView() { InitializeComponent(); + Instance = this; } } } diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml new file mode 100644 index 000000000..504514cbb --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml @@ -0,0 +1,187 @@ +<UserControl x:Class="Tango.MachineStudio.Logging.Views.TimelineView" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" + xmlns:global="clr-namespace:Tango.MachineStudio.Logging" + xmlns:localConverters="clr-namespace:Tango.MachineStudio.Logging.Converters" + xmlns:entities="clr-namespace:Tango.BL.Entities;assembly=Tango.BL" + xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:vm="clr-namespace:Tango.MachineStudio.Logging.ViewModels" + xmlns:localControls="clr-namespace:Tango.MachineStudio.Logging.Controls" + xmlns:local="clr-namespace:Tango.MachineStudio.Logging.Views" + mc:Ignorable="d" + d:DesignHeight="1080" d:DesignWidth="1920" Background="White" d:DataContext="{d:DesignInstance Type=vm:TimelineViewVM, IsDesignTimeCreatable=False}" MouseWheel="UserControl_MouseWheel"> + + <UserControl.Resources> + <localConverters:TimeSpanToXConverter x:Key="TimeSpanToXConverter" /> + <localConverters:MachineEventToXConverter x:Key="MachineEventToXConverter" /> + <localConverters:SecondsToWidthConverter x:Key="SecondsToWidthConverter" /> + <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + + <LinearGradientBrush x:Key="infoBrush" StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="White"/> + <GradientStop Color="#FFBFBFBF" Offset="1"/> + </LinearGradientBrush> + + <LinearGradientBrush x:Key="warningBrush" StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="#FFFF8C57"/> + <GradientStop Color="White" Offset="1"/> + </LinearGradientBrush> + + <LinearGradientBrush x:Key="errorBrush" StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="#FFFF6A6A"/> + <GradientStop Color="#FFD9D9" Offset="1"/> + </LinearGradientBrush> + + <LinearGradientBrush x:Key="criticalBrush" StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="Red"/> + <GradientStop Color="White" Offset="1"/> + </LinearGradientBrush> + + <LinearGradientBrush x:Key="hoverBrush" StartPoint="0.5,0" EndPoint="0.5,1"> + <GradientStop Color="#9D9D9D"/> + <GradientStop Color="#F9F9F9" Offset="1"/> + </LinearGradientBrush> + </UserControl.Resources> + + <Grid> + <Grid> + <Grid Grid.Row="1"> + <Grid.RowDefinitions> + <RowDefinition Height="30"/> + <RowDefinition Height="1*"/> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="300"/> + <ColumnDefinition Width="1*"/> + </Grid.ColumnDefinitions> + + <Grid Grid.Column="1" ClipToBounds="True"> + <localControls:TimeRuler HorizontalAlignment="Left" FontSize="14" HorizontalOffset="{Binding ElementName=scrollViewer,Path=HorizontalOffset}" Background="White" BorderBrush="{StaticResource AccentColorBrush}" BorderThickness="1" Foreground="{StaticResource AccentColorBrush}" Height="30" x:Name="ruler" Width="{Binding RelativeSource={RelativeSource AncestorType=Grid},Path=ActualWidth}" RenderWidth="{Binding RelativeSource={RelativeSource AncestorType=Grid},Path=ActualWidth}" Zoom="{Binding TimelineScaleFactor}"></localControls:TimeRuler> + </Grid> + + <Grid Background="White"> + + </Grid> + + <ItemsControl ItemsSource="{Binding TimelineEventGroups}" Grid.Column="0" Grid.Row="1" Margin="0 0 0 0" Background="#FCFCFC" Height="{Binding ElementName=scrollViewer,Path=ViewportHeight}" VerticalAlignment="Top"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <UniformGrid Columns="1" /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + <ItemsControl.ItemTemplate> + <DataTemplate DataType="{x:Type vm:TimelineEventGroup}"> + <Border BorderThickness="1 0.5 1 0.5" BorderBrush="{StaticResource AccentColorBrush}" Margin="2 0 0 0" Padding="5"> + + <TextBlock Text="{Binding Name}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="22" TextWrapping="Wrap" TextAlignment="Center" FontWeight="SemiBold" Foreground="{StaticResource AccentColorBrush}"></TextBlock> + </Border> + </DataTemplate> + </ItemsControl.ItemTemplate> + </ItemsControl> + + <localControls:TimelineScrollViewer x:Name="scrollViewer" Grid.Column="1" Grid.Row="1" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Auto"> + <Grid HorizontalAlignment="Left"> + <ItemsControl ItemsSource="{Binding TimelineEventGroups}" HorizontalAlignment="Left" MinWidth="{Binding RelativeSource={RelativeSource AncestorType=localControls:TimelineScrollViewer},Path=ActualWidth}"> + <ItemsControl.Width> + <MultiBinding Converter="{StaticResource TimeSpanToXConverter}" ConverterParameter="300"> + <Binding Path="TimelineMaxTime" /> + <Binding Path="TimelineScaleFactor" /> + </MultiBinding> + </ItemsControl.Width> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <UniformGrid Columns="1" /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + <ItemsControl.ItemTemplate> + <DataTemplate DataType="{x:Type vm:TimelineEventGroup}"> + <Border BorderThickness="0 0 0 1" BorderBrush="#98DEFF" Margin="0 0 0 0"> + <ItemsControl ItemsSource="{Binding Events}"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <UniformGrid IsItemsHost="True" Columns="1"></UniformGrid> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + <ItemsControl.ItemTemplate> + <DataTemplate DataType="{x:Type entities:MachinesEvent}"> + <Canvas Margin="0 5 0 5" MinHeight="20"> + <Grid Height="{Binding RelativeSource={RelativeSource AncestorType=Canvas},Path=ActualHeight}"> + <Canvas.Left> + <MultiBinding Converter="{StaticResource MachineEventToXConverter}"> + <Binding Path="." /> + <Binding RelativeSource="{RelativeSource AncestorType=UserControl}" Path="DataContext.TimelineEventGroups" /> + <Binding RelativeSource="{RelativeSource AncestorType=UserControl}" Path="DataContext.TimelineScaleFactor" /> + </MultiBinding> + </Canvas.Left> + <Border BorderBrush="#4E4E4E" BorderThickness="1" Padding="2" MinWidth="50" Cursor="Hand"> + <i:Interaction.Triggers> + <i:EventTrigger EventName="PreviewMouseUp"> + <i:InvokeCommandAction Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.EventSelectedCommand}" CommandParameter="{Binding}" /> + </i:EventTrigger> + </i:Interaction.Triggers> + <Border.Style> + <Style TargetType="Border"> + <Style.Triggers> + <DataTrigger Binding="{Binding Category}" Value="Info"> + <Setter Property="Background" Value="{StaticResource infoBrush}"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Warning"> + <Setter Property="Background" Value="{StaticResource warningBrush}"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Error"> + <Setter Property="Background" Value="{StaticResource errorBrush}"></Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Category}" Value="Crtitical"> + <Setter Property="Background" Value="{StaticResource criticalBrush}"></Setter> + </DataTrigger> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Opacity" Value="0.7"></Setter> + </Trigger> + </Style.Triggers> + </Style> + </Border.Style> + <StackPanel Orientation="Horizontal"> + <TextBlock FontWeight="SemiBold" Text="{Binding EventType.Name}" Height="14" FontSize="11"></TextBlock> + <TextBlock Margin="10 0 0 0" Text="{Binding Description}" Height="14" FontSize="11"></TextBlock> + </StackPanel> + </Border> + </Grid> + </Canvas> + </DataTemplate> + </ItemsControl.ItemTemplate> + </ItemsControl> + </Border> + </DataTemplate> + </ItemsControl.ItemTemplate> + </ItemsControl> + + <Canvas Visibility="{Binding EnableTimeMarker,Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="{Binding RelativeSource={RelativeSource AncestorType=localControls:TimelineScrollViewer},Path=ActualWidth}" ClipToBounds="False" IsHitTestVisible="False"> + <Grid Height="{Binding RelativeSource={RelativeSource AncestorType=Canvas},Path=ActualHeight}" ClipToBounds="False"> + <Canvas.Left> + <MultiBinding Converter="{StaticResource TimeSpanToXConverter}"> + <Binding Path="CurrentPosition" /> + <Binding Path="TimelineScaleFactor" /> + </MultiBinding> + </Canvas.Left> + + <Rectangle Stroke="DodgerBlue" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Stretch" /> + <Polygon Fill="DodgerBlue" Points="0,0 16,0 8,15 0,0" Margin="-8 -5 0 0" VerticalAlignment="Top" /> + </Grid> + </Canvas> + </Grid> + </localControls:TimelineScrollViewer> + + <Border Grid.Row="1" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="20" Padding="10" Background="#7ECECECE" CornerRadius="5"> + <Grid> + <materialDesign:PackIcon Kind="MagnifyPlus" Margin="0 -35 0 0" Width="20" Height="20" Foreground="Gray" /> + <Slider Minimum="0.5" Maximum="100" Value="{Binding TimelineScaleFactor}" Orientation="Vertical" Height="120"/> + </Grid> + </Border> + </Grid> + </Grid> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml.cs new file mode 100644 index 000000000..e1c09e49f --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineView.xaml.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using Tango.MachineStudio.Logging.ViewModels; + +namespace Tango.MachineStudio.Logging.Views +{ + /// <summary> + /// Interaction logic for TimelineView.xaml + /// </summary> + public partial class TimelineView : UserControl + { + private TimelineViewVM _vm; + + public TimelineView() + { + InitializeComponent(); + this.Loaded += (_, __) => _vm = DataContext as TimelineViewVM; + } + + private void UserControl_MouseWheel(object sender, MouseWheelEventArgs e) + { + if (e.Delta > 0) + { + _vm.TimelineScaleFactor += 0.5; + } + else + { + _vm.TimelineScaleFactor -= 0.5; + } + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml new file mode 100644 index 000000000..abab55264 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml @@ -0,0 +1,33 @@ +<UserControl x:Class="Tango.MachineStudio.Logging.Views.TimelineWrapperView" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:global="clr-namespace:Tango.MachineStudio.Logging" + xmlns:vm="clr-namespace:Tango.MachineStudio.Logging.ViewModels" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:local="clr-namespace:Tango.MachineStudio.Logging.Views" + mc:Ignorable="d" + d:DesignHeight="1080" d:DesignWidth="1920" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="70"/> + <RowDefinition Height="1*"/> + </Grid.RowDefinitions> + + <Grid> + <StackPanel Orientation="Horizontal" Margin="10"> + <Button MinWidth="160" Height="50" Style="{StaticResource MaterialDesignFlatButton}" Command="{Binding NavigateToEventsCommand}" HorizontalContentAlignment="Left"> + <StackPanel Orientation="Horizontal" > + <materialDesign:PackIcon Kind="KeyboardBackspace" Width="20" Height="20" /> + <TextBlock Margin="5 0 0 0" FontSize="16">BACK</TextBlock> + </StackPanel> + </Button> + </StackPanel> + </Grid> + + <Grid Grid.Row="1"> + <local:TimelineView DataContext="{Binding TimelineViewVM}" /> + </Grid> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml.cs new file mode 100644 index 000000000..1ca2c30cb --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/TimelineWrapperView.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Tango.MachineStudio.Logging.Views +{ + /// <summary> + /// Interaction logic for TimelineWrapperView.xaml + /// </summary> + public partial class TimelineWrapperView : UserControl + { + public TimelineWrapperView() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/DefaultDiagnosticsFrameProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/DefaultDiagnosticsFrameProvider.cs index 8f1076bb8..63612d420 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/DefaultDiagnosticsFrameProvider.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/DefaultDiagnosticsFrameProvider.cs @@ -34,25 +34,6 @@ namespace Tango.MachineStudio.Common.Diagnostics set { _disable = value; - - if (!_disable) - { - if (_application.ConnectedMachine != null) - { - MachineEventsStateProvider = _application.ConnectedMachine.MachineEventsStateProvider; - } - else - { - MachineEventsStateProvider = new DefaultMachineEventsStateProvider(); - } - } - else - { - if (_application.ConnectedMachine != null) - { - MachineEventsStateProvider = new DefaultMachineEventsStateProvider(); - } - } } } @@ -61,21 +42,6 @@ namespace Tango.MachineStudio.Common.Diagnostics /// </summary> public event EventHandler<PushDiagnosticsResponse> FrameReceived; - private IMachineEventsStateProvider _machineEventsStateProvider; - /// <summary> - /// Gets or sets the machine events state provider used to get notifications about current machine events and errors. - /// </summary> - public IMachineEventsStateProvider MachineEventsStateProvider - { - get { return _machineEventsStateProvider; } - set - { - _machineEventsStateProvider = value; - RaisePropertyChangedAuto(); - MachineEventsStateProviderChanged?.Invoke(this, _machineEventsStateProvider); - } - } - /// <summary> /// Initializes a new instance of the <see cref="DefaultDiagnosticsFrameProvider"/> class. /// </summary> @@ -83,7 +49,6 @@ namespace Tango.MachineStudio.Common.Diagnostics public DefaultDiagnosticsFrameProvider(IStudioApplicationManager applicationManager) { _application = applicationManager; - MachineEventsStateProvider = new DefaultMachineEventsStateProvider(); applicationManager.ConnectedMachineChanged += ApplicationManager_ConnectedMachineChanged; } @@ -97,11 +62,6 @@ namespace Tango.MachineStudio.Common.Diagnostics if (machine != null) { machine.DiagnosticsDataAvailable += DefaultDiagnosticsFrameProvider_DiagnosticsDataAvailable; - - if (!Disable) - { - MachineEventsStateProvider = machine.MachineEventsStateProvider; - } } } @@ -127,7 +87,6 @@ namespace Tango.MachineStudio.Common.Diagnostics if (Disable) { OnFrameReceived(frame); - MachineEventsStateProvider.ApplyEvents(frame.Events); } } diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/IDiagnosticsFrameProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/IDiagnosticsFrameProvider.cs index ab4780a1f..3294b341d 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/IDiagnosticsFrameProvider.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Diagnostics/IDiagnosticsFrameProvider.cs @@ -19,16 +19,6 @@ namespace Tango.MachineStudio.Common.Diagnostics event EventHandler<PushDiagnosticsResponse> FrameReceived; /// <summary> - /// Occurs when the machine events state provider has changed. - /// </summary> - event EventHandler<IMachineEventsStateProvider> MachineEventsStateProviderChanged; - - /// <summary> - /// Gets or sets the machine events state provider used to get notifications about current machine events and errors. - /// </summary> - IMachineEventsStateProvider MachineEventsStateProvider { get; } - - /// <summary> /// Disables the frame delivery from the current connected machine and enables the manual push frame method. /// </summary> bool Disable { get; set; } diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs index d3fb0897f..f3ae1002b 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs @@ -78,21 +78,28 @@ namespace Tango.MachineStudio.Common.EventLogging { if (!_isInitialized) { - _db = ObservablesContext.CreateDefault(); - _db.Configuration.LazyLoadingEnabled = false; + try + { + _db = ObservablesContext.CreateDefault(); + _db.Configuration.LazyLoadingEnabled = false; - _db.ActionTypes.ToList(); - _db.EventTypesActions.ToList(); - _db.EventTypesCategories.ToList(); - _db.EventTypesGroups.ToList(); - _db.EventTypes.ToList(); + _db.ActionTypes.ToList(); + _db.EventTypesActions.ToList(); + _db.EventTypesCategories.ToList(); + _db.EventTypesGroups.ToList(); + _db.EventTypes.ToList(); - foreach (var type in _db.EventTypes) + foreach (var type in _db.EventTypes) + { + _eventTypesGuids.Add((EventTypes)type.Code, type); + } + + _isInitialized = true; + } + catch { - _eventTypesGuids.Add((EventTypes)type.Code, type); + _isInitialized = false; } - - _isInitialized = true; } } @@ -220,6 +227,7 @@ namespace Tango.MachineStudio.Common.EventLogging machineEvent.DateTime = DateTime.UtcNow; machineEvent.Description = message; machineEvent.EventType = _eventTypesGuids[eventType]; + machineEvent.EventTypeGuid = machineEvent.EventType.Guid; Log(machineEvent); } diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs index 8b3233ab1..76c7b3e58 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs @@ -50,12 +50,6 @@ namespace Tango.MachineStudio.UI exceptionTrapper = new WpfGlobalExceptionTrapper(); exceptionTrapper.Initialize(this); exceptionTrapper.ApplicationCrashed += ExceptionTrapper_ApplicationCrashed; - - var eventLogger = ServiceLocator.Current.GetInstance<IEventLogger>(); - if (eventLogger != null) - { - eventLogger.Log(EventTypes.ApplicationStarted, "Application Started!"); - } } #region Global Exception Trapping diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs index 5776cadc2..512341f7e 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs @@ -14,6 +14,7 @@ using Tango.MachineStudio.Common.StudioApplication; using Tango.SharedUI; using Tango.BL; using Tango.MachineStudio.Common.EventLogging; +using Tango.BL.Enumerations; namespace Tango.MachineStudio.UI.ViewModels { @@ -66,6 +67,9 @@ namespace Tango.MachineStudio.UI.ViewModels try { ObservablesEntitiesAdapter.Instance.Initialize(); + + _eventLogger.Log(EventTypes.ApplicationStarted, "Application Started!"); + InvokeUI(() => { _studioModuleLoader.LoadModules(); diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs index 81719287b..c9f4b3441 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs @@ -238,8 +238,6 @@ namespace Tango.MachineStudio.UI.ViewModels ApplicationManager = applicationManager; DiagnosticsFrameProvider = frameProvider; - DiagnosticsFrameProvider.MachineEventsStateProviderChanged += FrameProvider_MachineEventsStateProviderChanged; - StartModuleCommand = new RelayCommand<IStudioModule>(StartModule); HomeCommand = new RelayCommand(Home); @@ -253,26 +251,23 @@ namespace Tango.MachineStudio.UI.ViewModels _updateCheckThread = new Thread(UpdateCheckThreadMethod); _updateCheckThread.IsBackground = true; _updateCheckThread.Start(); - } - private void FrameProvider_MachineEventsStateProviderChanged(object sender, Integration.Operation.IMachineEventsStateProvider provider) - { - - if (DiagnosticsFrameProvider.MachineEventsStateProvider.Events.Count == 0) + ApplicationManager.ConnectedMachineChanged += (sender, machine) => { - IsMachineErrorsOpened = false; - } - - provider.NewEvents -= MachineEventsStateProvider_NewEvents; - provider.NewEvents += MachineEventsStateProvider_NewEvents; + if (machine != null) + { + machine.MachineEventsStateProvider.NewEvents -= MachineEventsStateProvider_NewEvents; + machine.MachineEventsStateProvider.NewEvents += MachineEventsStateProvider_NewEvents; - provider.EventsResolved -= MachineEventsStateProvider_EventsResolved; - provider.EventsResolved += MachineEventsStateProvider_EventsResolved; + machine.MachineEventsStateProvider.EventsResolved -= MachineEventsStateProvider_EventsResolved; + machine.MachineEventsStateProvider.EventsResolved += MachineEventsStateProvider_EventsResolved; + } + }; } private void MachineEventsStateProvider_EventsResolved(object sender, IEnumerable<MachinesEvent> e) { - if (DiagnosticsFrameProvider.MachineEventsStateProvider.Events.Count == 0) + if (ApplicationManager.ConnectedMachine.MachineEventsStateProvider.Events.Count == 0) { IsMachineErrorsOpened = false; } diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml index a85e0a850..b7a4cc93f 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml @@ -227,11 +227,11 @@ </StackPanel> </Button> - <ToggleButton Visibility="{Binding DiagnosticsFrameProvider.MachineEventsStateProvider.HasEvents,Converter={StaticResource BooleanToVisibilityConverter},FallbackValue=Collapsed,TargetNullValue=Collapsed,Mode=OneWay}" IsChecked="{Binding IsMachineErrorsOpened}" Style="{StaticResource emptyToggleButton}" Margin="0 0 10 0" Cursor="Hand"> + <ToggleButton Visibility="{Binding ApplicationManager.ConnectedMachine.MachineEventsStateProvider.HasEvents,Converter={StaticResource BooleanToVisibilityConverter},FallbackValue=Collapsed,TargetNullValue=Collapsed,Mode=OneWay}" IsChecked="{Binding IsMachineErrorsOpened}" Style="{StaticResource emptyToggleButton}" Margin="0 0 10 0" Cursor="Hand"> <ToggleButton.ToolTip> <TextBlock> <Run>Press to view</Run> - <Run Text="{Binding DiagnosticsFrameProvider.MachineEventsStateProvider.Events.Count,Mode=OneWay}"></Run> + <Run Text="{Binding ApplicationManager.ConnectedMachine.MachineEventsStateProvider.Events.Count,Mode=OneWay}"></Run> <Run>hardware messages</Run> </TextBlock> </ToggleButton.ToolTip> @@ -240,7 +240,7 @@ <Style TargetType="Grid"> <Setter Property="Opacity" Value="1"></Setter> <Style.Triggers> - <DataTrigger Binding="{Binding DiagnosticsFrameProvider.MachineEventsStateProvider.HasEvents}" Value="True"> + <DataTrigger Binding="{Binding ApplicationManager.ConnectedMachine.MachineEventsStateProvider.HasEvents}" Value="True"> <DataTrigger.EnterActions> <BeginStoryboard> <Storyboard> @@ -433,7 +433,7 @@ <DropShadowEffect ShadowDepth="0" BlurRadius="10" /> </Border.Effect> - <ItemsControl ItemsSource="{Binding DiagnosticsFrameProvider.MachineEventsStateProvider.Events}"> + <ItemsControl ItemsSource="{Binding ApplicationManager.ConnectedMachine.MachineEventsStateProvider.Events}"> <ItemsControl.ItemTemplate> <DataTemplate DataType="{x:Type entities:MachinesEvent}"> <Border BorderThickness="0 0 0 1" BorderBrush="#E1E1E1" Padding="5"> diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp index 99877e30a..1ef43efc9 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp +++ b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp @@ -1,14 +1,14 @@ #include "ColorConverter.h" -#include "PMR\ColorLab\CalibrationPoint.pb-c.h" -#include "PMR\ColorLab\CalibrationData.pb-c.h" -#include "PMR\ColorLab/ColorSpace.pb-c.h" -#include "PMR\ColorLab/ConversionInput.pb-c.h" -#include "PMR\ColorLab/ConversionOutput.pb-c.h" -#include "PMR\ColorLab/InputCoordinates.pb-c.h" -#include "PMR\ColorLab/OutputCoordinates.pb-c.h" -#include "PMR\ColorLab/OutputLiquid.pb-c.h" -#include "PMR\ColorLab/InputLiquid.pb-c.h" -#include "PMR\ColorLab/LiquidType.pb-c.h" +#include "PMR/ColorLab/CalibrationPoint.pb-c.h" +#include "PMR/ColorLab/CalibrationData.pb-c.h" +#include "PMR/ColorLab/ColorSpace.pb-c.h" +#include "PMR/ColorLab/ConversionInput.pb-c.h" +#include "PMR/ColorLab/ConversionOutput.pb-c.h" +#include "PMR/ColorLab/InputCoordinates.pb-c.h" +#include "PMR/ColorLab/OutputCoordinates.pb-c.h" +#include "PMR/ColorLab/OutputLiquid.pb-c.h" +#include "PMR/ColorLab/InputLiquid.pb-c.h" +#include "PMR/ColorLab/LiquidType.pb-c.h" Tango::ColorLib::ColorConverter::ColorConverter() { @@ -94,7 +94,7 @@ size_t Tango::ColorLib::ColorConverter::Convert(uint8_t * input_buffer, size_t i //The request is for volumes to RGB... - else if (conversionInput->colorspace = COLOR_SPACE__Volume) + else if (conversionInput->colorspace == COLOR_SPACE__Volume) { //iterate over input liquids... for (size_t i = 0; i < conversionInput->inputcoordinates->n_inputliquids; i++) diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp index eced78115..18c4505b9 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp @@ -1,5 +1,4 @@ #include <cstdlib> -#include "Tester.h" #include "ColorConverter.h" #pragma once @@ -7,15 +6,8 @@ #define EXPORT_API __declspec(dllexport) using namespace std; -using namespace Tango::ColoLib; using namespace Tango::ColorLib; -extern "C" EXPORT_API size_t __cdecl Calculate(uint8_t* request_buffer, size_t request_buffer_size, uint8_t*& response_buffer) -{ - Tester tester; - return tester.Calculate(request_buffer, request_buffer_size, response_buffer); -} - extern "C" EXPORT_API size_t __cdecl Convert(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer) { ColorConverter converter; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c index 663c73262..23f827f18 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c @@ -13,7 +13,7 @@ static const ProtobufCEnumValue color_space__enum_values_by_number[5] = { "RGB", "COLOR_SPACE__RGB", 1 }, { "CMYK", "COLOR_SPACE__CMYK", 2 }, { "LAB", "COLOR_SPACE__LAB", 3 }, - { "Panton", "COLOR_SPACE__Panton", 4 }, + { "PANTON", "COLOR_SPACE__PANTON", 4 }, }; static const ProtobufCIntRange color_space__value_ranges[] = { {0, 0},{0, 5} @@ -22,7 +22,7 @@ static const ProtobufCEnumValueIndex color_space__enum_values_by_name[5] = { { "CMYK", 2 }, { "LAB", 3 }, - { "Panton", 4 }, + { "PANTON", 4 }, { "RGB", 1 }, { "Volume", 0 }, }; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h index 70d386e0c..2f25ef087 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h @@ -24,7 +24,7 @@ typedef enum _ColorSpace { COLOR_SPACE__RGB = 1, COLOR_SPACE__CMYK = 2, COLOR_SPACE__LAB = 3, - COLOR_SPACE__Panton = 4 + COLOR_SPACE__PANTON = 4 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(COLOR_SPACE) } ColorSpace; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c index a6221c8ba..46b4b2f54 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c @@ -52,7 +52,7 @@ void conversion_input__free_unpacked assert(message->base.descriptor == &conversion_input__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = +static const ProtobufCFieldDescriptor conversion_input__field_descriptors[10] = { { "ThreadL", @@ -150,9 +150,35 @@ static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "DeltaChroma", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(ConversionInput, has_deltachroma), + offsetof(ConversionInput, deltachroma), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "DeltaL", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(ConversionInput, has_deltal), + offsetof(ConversionInput, deltal), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned conversion_input__field_indices_by_name[] = { 3, /* field[3] = ColorSpace */ + 8, /* field[8] = DeltaChroma */ + 9, /* field[9] = DeltaL */ 5, /* field[5] = ForwardData */ 4, /* field[4] = InputCoordinates */ 6, /* field[6] = InverseData */ @@ -164,7 +190,7 @@ static const unsigned conversion_input__field_indices_by_name[] = { static const ProtobufCIntRange conversion_input__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 8 } + { 0, 10 } }; const ProtobufCMessageDescriptor conversion_input__descriptor = { @@ -174,7 +200,7 @@ const ProtobufCMessageDescriptor conversion_input__descriptor = "ConversionInput", "", sizeof(ConversionInput), - 8, + 10, conversion_input__field_descriptors, conversion_input__field_indices_by_name, 1, conversion_input__number_ranges, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h index 6b929033a..4184f6551 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h @@ -43,10 +43,14 @@ struct _ConversionInput ProtobufCBinaryData inversedata; protobuf_c_boolean has_segmentlength; double segmentlength; + protobuf_c_boolean has_deltachroma; + double deltachroma; + protobuf_c_boolean has_deltal; + double deltal; }; #define CONVERSION_INPUT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&conversion_input__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, COLOR_SPACE__Volume, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0, COLOR_SPACE__Volume, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, 0 } /* ConversionInput methods */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c index 10b061dd6..d1bc8c432 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c @@ -7,22 +7,26 @@ #endif #include "LiquidType.pb-c.h" -static const ProtobufCEnumValue liquid_type__enum_values_by_number[5] = +static const ProtobufCEnumValue liquid_type__enum_values_by_number[7] = { { "Cyan", "LIQUID_TYPE__Cyan", 0 }, { "Magenta", "LIQUID_TYPE__Magenta", 1 }, { "Yellow", "LIQUID_TYPE__Yellow", 2 }, { "Black", "LIQUID_TYPE__Black", 3 }, { "TransparentInk", "LIQUID_TYPE__TransparentInk", 4 }, + { "Lubricant", "LIQUID_TYPE__Lubricant", 5 }, + { "Red", "LIQUID_TYPE__Red", 7 }, }; static const ProtobufCIntRange liquid_type__value_ranges[] = { -{0, 0},{0, 5} +{0, 0},{7, 6},{0, 7} }; -static const ProtobufCEnumValueIndex liquid_type__enum_values_by_name[5] = +static const ProtobufCEnumValueIndex liquid_type__enum_values_by_name[7] = { { "Black", 3 }, { "Cyan", 0 }, + { "Lubricant", 5 }, { "Magenta", 1 }, + { "Red", 6 }, { "TransparentInk", 4 }, { "Yellow", 2 }, }; @@ -33,11 +37,11 @@ const ProtobufCEnumDescriptor liquid_type__descriptor = "LiquidType", "LiquidType", "", - 5, + 7, liquid_type__enum_values_by_number, - 5, + 7, liquid_type__enum_values_by_name, - 1, + 2, liquid_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h index 3559cc09c..19f99411c 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h @@ -24,7 +24,9 @@ typedef enum _LiquidType { LIQUID_TYPE__Magenta = 1, LIQUID_TYPE__Yellow = 2, LIQUID_TYPE__Black = 3, - LIQUID_TYPE__TransparentInk = 4 + LIQUID_TYPE__TransparentInk = 4, + LIQUID_TYPE__Lubricant = 5, + LIQUID_TYPE__Red = 7 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LIQUID_TYPE) } LiquidType; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c deleted file mode 100644 index d5690d60f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ErrorCode.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ErrorCode.pb-c.h" -static const ProtobufCEnumValue error_code__enum_values_by_number[3] = -{ - { "NONE", "ERROR_CODE__NONE", 0 }, - { "BAD_CRC", "ERROR_CODE__BAD_CRC", 1 }, - { "INVALID_DIGITAL_PIN_NUMBER", "ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER", 2 }, -}; -static const ProtobufCIntRange error_code__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex error_code__enum_values_by_name[3] = -{ - { "BAD_CRC", 1 }, - { "INVALID_DIGITAL_PIN_NUMBER", 2 }, - { "NONE", 0 }, -}; -const ProtobufCEnumDescriptor error_code__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "ErrorCode", - "ErrorCode", - "ErrorCode", - "", - 3, - error_code__enum_values_by_number, - 3, - error_code__enum_values_by_name, - 1, - error_code__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h deleted file mode 100644 index feb3bf249..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h +++ /dev/null @@ -1,47 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ErrorCode.proto */ - -#ifndef PROTOBUF_C_ErrorCode_2eproto__INCLUDED -#define PROTOBUF_C_ErrorCode_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _ErrorCode { - ERROR_CODE__NONE = 0, - ERROR_CODE__BAD_CRC = 1, - /* - *Can be returned by SetDigitalOutResponse. - */ - ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(ERROR_CODE) -} ErrorCode; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor error_code__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ErrorCode_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c deleted file mode 100644 index 70fca2425..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: KeepAliveRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "KeepAliveRequest.pb-c.h" -void keep_alive_request__init - (KeepAliveRequest *message) -{ - static const KeepAliveRequest init_value = KEEP_ALIVE_REQUEST__INIT; - *message = init_value; -} -size_t keep_alive_request__get_packed_size - (const KeepAliveRequest *message) -{ - assert(message->base.descriptor == &keep_alive_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t keep_alive_request__pack - (const KeepAliveRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &keep_alive_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t keep_alive_request__pack_to_buffer - (const KeepAliveRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &keep_alive_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -KeepAliveRequest * - keep_alive_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (KeepAliveRequest *) - protobuf_c_message_unpack (&keep_alive_request__descriptor, - allocator, len, data); -} -void keep_alive_request__free_unpacked - (KeepAliveRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &keep_alive_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define keep_alive_request__field_descriptors NULL -#define keep_alive_request__field_indices_by_name NULL -#define keep_alive_request__number_ranges NULL -const ProtobufCMessageDescriptor keep_alive_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "KeepAliveRequest", - "KeepAliveRequest", - "KeepAliveRequest", - "", - sizeof(KeepAliveRequest), - 0, - keep_alive_request__field_descriptors, - keep_alive_request__field_indices_by_name, - 0, keep_alive_request__number_ranges, - (ProtobufCMessageInit) keep_alive_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h deleted file mode 100644 index 379aa6caa..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: KeepAliveRequest.proto */ - -#ifndef PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED -#define PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _KeepAliveRequest KeepAliveRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _KeepAliveRequest -{ - ProtobufCMessage base; -}; -#define KEEP_ALIVE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&keep_alive_request__descriptor) \ - } - - -/* KeepAliveRequest methods */ -void keep_alive_request__init - (KeepAliveRequest *message); -size_t keep_alive_request__get_packed_size - (const KeepAliveRequest *message); -size_t keep_alive_request__pack - (const KeepAliveRequest *message, - uint8_t *out); -size_t keep_alive_request__pack_to_buffer - (const KeepAliveRequest *message, - ProtobufCBuffer *buffer); -KeepAliveRequest * - keep_alive_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void keep_alive_request__free_unpacked - (KeepAliveRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*KeepAliveRequest_Closure) - (const KeepAliveRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor keep_alive_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c deleted file mode 100644 index 9bae1f119..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: KeepAliveResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "KeepAliveResponse.pb-c.h" -void keep_alive_response__init - (KeepAliveResponse *message) -{ - static const KeepAliveResponse init_value = KEEP_ALIVE_RESPONSE__INIT; - *message = init_value; -} -size_t keep_alive_response__get_packed_size - (const KeepAliveResponse *message) -{ - assert(message->base.descriptor == &keep_alive_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t keep_alive_response__pack - (const KeepAliveResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &keep_alive_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t keep_alive_response__pack_to_buffer - (const KeepAliveResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &keep_alive_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -KeepAliveResponse * - keep_alive_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (KeepAliveResponse *) - protobuf_c_message_unpack (&keep_alive_response__descriptor, - allocator, len, data); -} -void keep_alive_response__free_unpacked - (KeepAliveResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &keep_alive_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define keep_alive_response__field_descriptors NULL -#define keep_alive_response__field_indices_by_name NULL -#define keep_alive_response__number_ranges NULL -const ProtobufCMessageDescriptor keep_alive_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "KeepAliveResponse", - "KeepAliveResponse", - "KeepAliveResponse", - "", - sizeof(KeepAliveResponse), - 0, - keep_alive_response__field_descriptors, - keep_alive_response__field_indices_by_name, - 0, keep_alive_response__number_ranges, - (ProtobufCMessageInit) keep_alive_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h deleted file mode 100644 index a29f79c99..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: KeepAliveResponse.proto */ - -#ifndef PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED -#define PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _KeepAliveResponse KeepAliveResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _KeepAliveResponse -{ - ProtobufCMessage base; -}; -#define KEEP_ALIVE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&keep_alive_response__descriptor) \ - } - - -/* KeepAliveResponse methods */ -void keep_alive_response__init - (KeepAliveResponse *message); -size_t keep_alive_response__get_packed_size - (const KeepAliveResponse *message); -size_t keep_alive_response__pack - (const KeepAliveResponse *message, - uint8_t *out); -size_t keep_alive_response__pack_to_buffer - (const KeepAliveResponse *message, - ProtobufCBuffer *buffer); -KeepAliveResponse * - keep_alive_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void keep_alive_response__free_unpacked - (KeepAliveResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*KeepAliveResponse_Closure) - (const KeepAliveResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor keep_alive_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.c deleted file mode 100644 index de74c4054..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MessageContainer.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MessageContainer.pb-c.h" -void message_container__init - (MessageContainer *message) -{ - static const MessageContainer init_value = MESSAGE_CONTAINER__INIT; - *message = init_value; -} -size_t message_container__get_packed_size - (const MessageContainer *message) -{ - assert(message->base.descriptor == &message_container__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t message_container__pack - (const MessageContainer *message, - uint8_t *out) -{ - assert(message->base.descriptor == &message_container__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t message_container__pack_to_buffer - (const MessageContainer *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &message_container__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MessageContainer * - message_container__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MessageContainer *) - protobuf_c_message_unpack (&message_container__descriptor, - allocator, len, data); -} -void message_container__free_unpacked - (MessageContainer *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &message_container__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor message_container__field_descriptors[7] = -{ - { - "Type", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(MessageContainer, has_type), - offsetof(MessageContainer, type), - &message_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Token", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(MessageContainer, token), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Continuous", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(MessageContainer, has_continuous), - offsetof(MessageContainer, continuous), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Completed", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(MessageContainer, has_completed), - offsetof(MessageContainer, completed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Data", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(MessageContainer, has_data), - offsetof(MessageContainer, data), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CRC", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(MessageContainer, has_crc), - offsetof(MessageContainer, crc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Error", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(MessageContainer, has_error), - offsetof(MessageContainer, error), - &error_code__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned message_container__field_indices_by_name[] = { - 5, /* field[5] = CRC */ - 3, /* field[3] = Completed */ - 2, /* field[2] = Continuous */ - 4, /* field[4] = Data */ - 6, /* field[6] = Error */ - 1, /* field[1] = Token */ - 0, /* field[0] = Type */ -}; -static const ProtobufCIntRange message_container__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor message_container__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MessageContainer", - "MessageContainer", - "MessageContainer", - "", - sizeof(MessageContainer), - 7, - message_container__field_descriptors, - message_container__field_indices_by_name, - 1, message_container__number_ranges, - (ProtobufCMessageInit) message_container__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h deleted file mode 100644 index edb24d775..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MessageContainer.proto */ - -#ifndef PROTOBUF_C_MessageContainer_2eproto__INCLUDED -#define PROTOBUF_C_MessageContainer_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "MessageType.pb-c.h" -#include "ErrorCode.pb-c.h" - -typedef struct _MessageContainer MessageContainer; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MessageContainer -{ - ProtobufCMessage base; - protobuf_c_boolean has_type; - MessageType type; - char *token; - protobuf_c_boolean has_continuous; - protobuf_c_boolean continuous; - protobuf_c_boolean has_completed; - protobuf_c_boolean completed; - protobuf_c_boolean has_data; - ProtobufCBinaryData data; - protobuf_c_boolean has_crc; - uint32_t crc; - protobuf_c_boolean has_error; - ErrorCode error; -}; -#define MESSAGE_CONTAINER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&message_container__descriptor) \ - , 0, MESSAGE_TYPE__None, NULL, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, ERROR_CODE__NONE } - - -/* MessageContainer methods */ -void message_container__init - (MessageContainer *message); -size_t message_container__get_packed_size - (const MessageContainer *message); -size_t message_container__pack - (const MessageContainer *message, - uint8_t *out); -size_t message_container__pack_to_buffer - (const MessageContainer *message, - ProtobufCBuffer *buffer); -MessageContainer * - message_container__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void message_container__free_unpacked - (MessageContainer *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MessageContainer_Closure) - (const MessageContainer *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor message_container__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MessageContainer_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c deleted file mode 100644 index b193ae3e1..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c +++ /dev/null @@ -1,237 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MessageType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MessageType.pb-c.h" -static const ProtobufCEnumValue message_type__enum_values_by_number[102] = -{ - { "None", "MESSAGE_TYPE__None", 0 }, - { "CalculateRequest", "MESSAGE_TYPE__CalculateRequest", 3 }, - { "CalculateResponse", "MESSAGE_TYPE__CalculateResponse", 4 }, - { "ProgressRequest", "MESSAGE_TYPE__ProgressRequest", 5 }, - { "ProgressResponse", "MESSAGE_TYPE__ProgressResponse", 6 }, - { "StubCartridgeReadRequest", "MESSAGE_TYPE__StubCartridgeReadRequest", 7 }, - { "StubCartridgeReadResponse", "MESSAGE_TYPE__StubCartridgeReadResponse", 8 }, - { "StubCartridgeWriteRequest", "MESSAGE_TYPE__StubCartridgeWriteRequest", 9 }, - { "StubCartridgeWriteResponse", "MESSAGE_TYPE__StubCartridgeWriteResponse", 10 }, - { "StubDispenserRequest", "MESSAGE_TYPE__StubDispenserRequest", 11 }, - { "StubDispenserResponse", "MESSAGE_TYPE__StubDispenserResponse", 12 }, - { "StubGPIOInputSetupRequest", "MESSAGE_TYPE__StubGPIOInputSetupRequest", 13 }, - { "StubGPIOInputSetupResponse", "MESSAGE_TYPE__StubGPIOInputSetupResponse", 14 }, - { "StubGPIOReadBitRequest", "MESSAGE_TYPE__StubGPIOReadBitRequest", 15 }, - { "StubGPIOReadBitResponse", "MESSAGE_TYPE__StubGPIOReadBitResponse", 16 }, - { "StubGPIOReadByteRequest", "MESSAGE_TYPE__StubGPIOReadByteRequest", 17 }, - { "StubGPIOReadByteResponse", "MESSAGE_TYPE__StubGPIOReadByteResponse", 18 }, - { "StubGPIOWriteBitRequest", "MESSAGE_TYPE__StubGPIOWriteBitRequest", 19 }, - { "StubGPIOWriteBitResponse", "MESSAGE_TYPE__StubGPIOWriteBitResponse", 20 }, - { "StubGPIOWriteByteRequest", "MESSAGE_TYPE__StubGPIOWriteByteRequest", 21 }, - { "StubGPIOWriteByteResponse", "MESSAGE_TYPE__StubGPIOWriteByteResponse", 22 }, - { "StubHeaterRequest", "MESSAGE_TYPE__StubHeaterRequest", 23 }, - { "StubHeaterResponse", "MESSAGE_TYPE__StubHeaterResponse", 24 }, - { "StubMotorEncoderRequest", "MESSAGE_TYPE__StubMotorEncoderRequest", 25 }, - { "StubMotorEncoderResponse", "MESSAGE_TYPE__StubMotorEncoderResponse", 26 }, - { "StubOptLimitSwitchRequest", "MESSAGE_TYPE__StubOptLimitSwitchRequest", 27 }, - { "StubOptLimitSwitchResponse", "MESSAGE_TYPE__StubOptLimitSwitchResponse", 28 }, - { "StubSteperMotorRequest", "MESSAGE_TYPE__StubSteperMotorRequest", 29 }, - { "StubSteperMotorResponse", "MESSAGE_TYPE__StubSteperMotorResponse", 30 }, - { "StubValveRequest", "MESSAGE_TYPE__StubValveRequest", 31 }, - { "StubValveResponse", "MESSAGE_TYPE__StubValveResponse", 32 }, - { "StubExtFlashReadRequest", "MESSAGE_TYPE__StubExtFlashReadRequest", 33 }, - { "StubExtFlashReadResponse", "MESSAGE_TYPE__StubExtFlashReadResponse", 34 }, - { "StubExtFlashWriteRequest", "MESSAGE_TYPE__StubExtFlashWriteRequest", 35 }, - { "StubExtFlashWriteResponse", "MESSAGE_TYPE__StubExtFlashWriteResponse", 36 }, - { "StubFPGAReadBackRegRequest", "MESSAGE_TYPE__StubFPGAReadBackRegRequest", 37 }, - { "StubFPGAReadBackRegResponse", "MESSAGE_TYPE__StubFPGAReadBackRegResponse", 38 }, - { "StubFPGAReadVersionRequest", "MESSAGE_TYPE__StubFPGAReadVersionRequest", 39 }, - { "StubFPGAReadVersionResponse", "MESSAGE_TYPE__StubFPGAReadVersionResponse", 40 }, - { "StubL6470DriverRequest", "MESSAGE_TYPE__StubL6470DriverRequest", 41 }, - { "StubL6470DriverResponse", "MESSAGE_TYPE__StubL6470DriverResponse", 42 }, - { "StubMotorInitRequest", "MESSAGE_TYPE__StubMotorInitRequest", 43 }, - { "StubMotorInitResponse", "MESSAGE_TYPE__StubMotorInitResponse", 44 }, - { "StubMotorRunRequest", "MESSAGE_TYPE__StubMotorRunRequest", 45 }, - { "StubMotorRunResponse", "MESSAGE_TYPE__StubMotorRunResponse", 46 }, - { "StubMotorStopRequest", "MESSAGE_TYPE__StubMotorStopRequest", 47 }, - { "StubMotorStopResponse", "MESSAGE_TYPE__StubMotorStopResponse", 48 }, - { "StubMotorStatusRequest", "MESSAGE_TYPE__StubMotorStatusRequest", 49 }, - { "StubMotorStatusResponse", "MESSAGE_TYPE__StubMotorStatusResponse", 50 }, - { "StubMotorMovRequest", "MESSAGE_TYPE__StubMotorMovRequest", 51 }, - { "StubMotorMovResponse", "MESSAGE_TYPE__StubMotorMovResponse", 52 }, - { "StubMotorSpeedRequest", "MESSAGE_TYPE__StubMotorSpeedRequest", 53 }, - { "StubMotorSpeedResponse", "MESSAGE_TYPE__StubMotorSpeedResponse", 54 }, - { "StubMotorPositionRequest", "MESSAGE_TYPE__StubMotorPositionRequest", 55 }, - { "StubMotorPositionResponse", "MESSAGE_TYPE__StubMotorPositionResponse", 56 }, - { "StubHWVersionRequest", "MESSAGE_TYPE__StubHWVersionRequest", 57 }, - { "StubHWVersionResponse", "MESSAGE_TYPE__StubHWVersionResponse", 58 }, - { "StubF3Gpo01WriteRequest", "MESSAGE_TYPE__StubF3Gpo01WriteRequest", 59 }, - { "StubF3Gpo01WriteResponse", "MESSAGE_TYPE__StubF3Gpo01WriteResponse", 60 }, - { "ExternalBridgeUdpDiscoveryPacket", "MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket", 1000 }, - { "ExternalClientLoginRequest", "MESSAGE_TYPE__ExternalClientLoginRequest", 1001 }, - { "ExternalClientLoginResponse", "MESSAGE_TYPE__ExternalClientLoginResponse", 1002 }, - { "DirectSynchronizationRequest", "MESSAGE_TYPE__DirectSynchronizationRequest", 1003 }, - { "DirectSynchronizationResponse", "MESSAGE_TYPE__DirectSynchronizationResponse", 1004 }, - { "OverrideDataBaseRequest", "MESSAGE_TYPE__OverrideDataBaseRequest", 1005 }, - { "OverrideDataBaseResponse", "MESSAGE_TYPE__OverrideDataBaseResponse", 1006 }, - { "KeepAliveRequest", "MESSAGE_TYPE__KeepAliveRequest", 1007 }, - { "KeepAliveResponse", "MESSAGE_TYPE__KeepAliveResponse", 1008 }, - { "PushDiagnosticsRequest", "MESSAGE_TYPE__PushDiagnosticsRequest", 2000 }, - { "PushDiagnosticsResponse", "MESSAGE_TYPE__PushDiagnosticsResponse", 2001 }, - { "MotorAbortHomingRequest", "MESSAGE_TYPE__MotorAbortHomingRequest", 2002 }, - { "MotorAbortHomingResponse", "MESSAGE_TYPE__MotorAbortHomingResponse", 2003 }, - { "MotorHomingRequest", "MESSAGE_TYPE__MotorHomingRequest", 2004 }, - { "MotorHomingResponse", "MESSAGE_TYPE__MotorHomingResponse", 2005 }, - { "MotorJoggingRequest", "MESSAGE_TYPE__MotorJoggingRequest", 2006 }, - { "MotorJoggingResponse", "MESSAGE_TYPE__MotorJoggingResponse", 2007 }, - { "MotorAbortJoggingRequest", "MESSAGE_TYPE__MotorAbortJoggingRequest", 2008 }, - { "MotorAbortJoggingResponse", "MESSAGE_TYPE__MotorAbortJoggingResponse", 2009 }, - { "DispenserAbortHomingRequest", "MESSAGE_TYPE__DispenserAbortHomingRequest", 2010 }, - { "DispenserAbortHomingResponse", "MESSAGE_TYPE__DispenserAbortHomingResponse", 2011 }, - { "DispenserHomingRequest", "MESSAGE_TYPE__DispenserHomingRequest", 2012 }, - { "DispenserHomingResponse", "MESSAGE_TYPE__DispenserHomingResponse", 2013 }, - { "DispenserJoggingRequest", "MESSAGE_TYPE__DispenserJoggingRequest", 2014 }, - { "DispenserJoggingResponse", "MESSAGE_TYPE__DispenserJoggingResponse", 2015 }, - { "DispenserAbortJoggingRequest", "MESSAGE_TYPE__DispenserAbortJoggingRequest", 2016 }, - { "DispenserAbortJoggingResponse", "MESSAGE_TYPE__DispenserAbortJoggingResponse", 2017 }, - { "SetDigitalOutRequest", "MESSAGE_TYPE__SetDigitalOutRequest", 2018 }, - { "SetDigitalOutResponse", "MESSAGE_TYPE__SetDigitalOutResponse", 2019 }, - { "ThreadJoggingRequest", "MESSAGE_TYPE__ThreadJoggingRequest", 2020 }, - { "ThreadJoggingResponse", "MESSAGE_TYPE__ThreadJoggingResponse", 2021 }, - { "ThreadAbortJoggingRequest", "MESSAGE_TYPE__ThreadAbortJoggingRequest", 2022 }, - { "ThreadAbortJoggingResponse", "MESSAGE_TYPE__ThreadAbortJoggingResponse", 2023 }, - { "JobRequest", "MESSAGE_TYPE__JobRequest", 3000 }, - { "JobResponse", "MESSAGE_TYPE__JobResponse", 3001 }, - { "AbortJobRequest", "MESSAGE_TYPE__AbortJobRequest", 3002 }, - { "AbortJobResponse", "MESSAGE_TYPE__AbortJobResponse", 3003 }, - { "UploadProcessParametersRequest", "MESSAGE_TYPE__UploadProcessParametersRequest", 3004 }, - { "UploadProcessParametersResponse", "MESSAGE_TYPE__UploadProcessParametersResponse", 3005 }, - { "DebugLogRequest", "MESSAGE_TYPE__DebugLogRequest", 4000 }, - { "DebugLogResponse", "MESSAGE_TYPE__DebugLogResponse", 4001 }, - { "UploadHardwareConfigurationRequest", "MESSAGE_TYPE__UploadHardwareConfigurationRequest", 5000 }, - { "UploadHardwareConfigurationResponse", "MESSAGE_TYPE__UploadHardwareConfigurationResponse", 5001 }, -}; -static const ProtobufCIntRange message_type__value_ranges[] = { -{0, 0},{3, 1},{1000, 59},{2000, 68},{3000, 92},{4000, 98},{5000, 100},{0, 102} -}; -static const ProtobufCEnumValueIndex message_type__enum_values_by_name[102] = -{ - { "AbortJobRequest", 94 }, - { "AbortJobResponse", 95 }, - { "CalculateRequest", 1 }, - { "CalculateResponse", 2 }, - { "DebugLogRequest", 98 }, - { "DebugLogResponse", 99 }, - { "DirectSynchronizationRequest", 62 }, - { "DirectSynchronizationResponse", 63 }, - { "DispenserAbortHomingRequest", 78 }, - { "DispenserAbortHomingResponse", 79 }, - { "DispenserAbortJoggingRequest", 84 }, - { "DispenserAbortJoggingResponse", 85 }, - { "DispenserHomingRequest", 80 }, - { "DispenserHomingResponse", 81 }, - { "DispenserJoggingRequest", 82 }, - { "DispenserJoggingResponse", 83 }, - { "ExternalBridgeUdpDiscoveryPacket", 59 }, - { "ExternalClientLoginRequest", 60 }, - { "ExternalClientLoginResponse", 61 }, - { "JobRequest", 92 }, - { "JobResponse", 93 }, - { "KeepAliveRequest", 66 }, - { "KeepAliveResponse", 67 }, - { "MotorAbortHomingRequest", 70 }, - { "MotorAbortHomingResponse", 71 }, - { "MotorAbortJoggingRequest", 76 }, - { "MotorAbortJoggingResponse", 77 }, - { "MotorHomingRequest", 72 }, - { "MotorHomingResponse", 73 }, - { "MotorJoggingRequest", 74 }, - { "MotorJoggingResponse", 75 }, - { "None", 0 }, - { "OverrideDataBaseRequest", 64 }, - { "OverrideDataBaseResponse", 65 }, - { "ProgressRequest", 3 }, - { "ProgressResponse", 4 }, - { "PushDiagnosticsRequest", 68 }, - { "PushDiagnosticsResponse", 69 }, - { "SetDigitalOutRequest", 86 }, - { "SetDigitalOutResponse", 87 }, - { "StubCartridgeReadRequest", 5 }, - { "StubCartridgeReadResponse", 6 }, - { "StubCartridgeWriteRequest", 7 }, - { "StubCartridgeWriteResponse", 8 }, - { "StubDispenserRequest", 9 }, - { "StubDispenserResponse", 10 }, - { "StubExtFlashReadRequest", 31 }, - { "StubExtFlashReadResponse", 32 }, - { "StubExtFlashWriteRequest", 33 }, - { "StubExtFlashWriteResponse", 34 }, - { "StubF3Gpo01WriteRequest", 57 }, - { "StubF3Gpo01WriteResponse", 58 }, - { "StubFPGAReadBackRegRequest", 35 }, - { "StubFPGAReadBackRegResponse", 36 }, - { "StubFPGAReadVersionRequest", 37 }, - { "StubFPGAReadVersionResponse", 38 }, - { "StubGPIOInputSetupRequest", 11 }, - { "StubGPIOInputSetupResponse", 12 }, - { "StubGPIOReadBitRequest", 13 }, - { "StubGPIOReadBitResponse", 14 }, - { "StubGPIOReadByteRequest", 15 }, - { "StubGPIOReadByteResponse", 16 }, - { "StubGPIOWriteBitRequest", 17 }, - { "StubGPIOWriteBitResponse", 18 }, - { "StubGPIOWriteByteRequest", 19 }, - { "StubGPIOWriteByteResponse", 20 }, - { "StubHWVersionRequest", 55 }, - { "StubHWVersionResponse", 56 }, - { "StubHeaterRequest", 21 }, - { "StubHeaterResponse", 22 }, - { "StubL6470DriverRequest", 39 }, - { "StubL6470DriverResponse", 40 }, - { "StubMotorEncoderRequest", 23 }, - { "StubMotorEncoderResponse", 24 }, - { "StubMotorInitRequest", 41 }, - { "StubMotorInitResponse", 42 }, - { "StubMotorMovRequest", 49 }, - { "StubMotorMovResponse", 50 }, - { "StubMotorPositionRequest", 53 }, - { "StubMotorPositionResponse", 54 }, - { "StubMotorRunRequest", 43 }, - { "StubMotorRunResponse", 44 }, - { "StubMotorSpeedRequest", 51 }, - { "StubMotorSpeedResponse", 52 }, - { "StubMotorStatusRequest", 47 }, - { "StubMotorStatusResponse", 48 }, - { "StubMotorStopRequest", 45 }, - { "StubMotorStopResponse", 46 }, - { "StubOptLimitSwitchRequest", 25 }, - { "StubOptLimitSwitchResponse", 26 }, - { "StubSteperMotorRequest", 27 }, - { "StubSteperMotorResponse", 28 }, - { "StubValveRequest", 29 }, - { "StubValveResponse", 30 }, - { "ThreadAbortJoggingRequest", 90 }, - { "ThreadAbortJoggingResponse", 91 }, - { "ThreadJoggingRequest", 88 }, - { "ThreadJoggingResponse", 89 }, - { "UploadHardwareConfigurationRequest", 100 }, - { "UploadHardwareConfigurationResponse", 101 }, - { "UploadProcessParametersRequest", 96 }, - { "UploadProcessParametersResponse", 97 }, -}; -const ProtobufCEnumDescriptor message_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "MessageType", - "MessageType", - "MessageType", - "", - 102, - message_type__enum_values_by_number, - 102, - message_type__enum_values_by_name, - 7, - message_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h deleted file mode 100644 index f5e6eb785..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h +++ /dev/null @@ -1,143 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MessageType.proto */ - -#ifndef PROTOBUF_C_MessageType_2eproto__INCLUDED -#define PROTOBUF_C_MessageType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _MessageType { - MESSAGE_TYPE__None = 0, - MESSAGE_TYPE__CalculateRequest = 3, - MESSAGE_TYPE__CalculateResponse = 4, - MESSAGE_TYPE__ProgressRequest = 5, - MESSAGE_TYPE__ProgressResponse = 6, - MESSAGE_TYPE__StubCartridgeReadRequest = 7, - MESSAGE_TYPE__StubCartridgeReadResponse = 8, - MESSAGE_TYPE__StubCartridgeWriteRequest = 9, - MESSAGE_TYPE__StubCartridgeWriteResponse = 10, - MESSAGE_TYPE__StubDispenserRequest = 11, - MESSAGE_TYPE__StubDispenserResponse = 12, - MESSAGE_TYPE__StubGPIOInputSetupRequest = 13, - MESSAGE_TYPE__StubGPIOInputSetupResponse = 14, - MESSAGE_TYPE__StubGPIOReadBitRequest = 15, - MESSAGE_TYPE__StubGPIOReadBitResponse = 16, - MESSAGE_TYPE__StubGPIOReadByteRequest = 17, - MESSAGE_TYPE__StubGPIOReadByteResponse = 18, - MESSAGE_TYPE__StubGPIOWriteBitRequest = 19, - MESSAGE_TYPE__StubGPIOWriteBitResponse = 20, - MESSAGE_TYPE__StubGPIOWriteByteRequest = 21, - MESSAGE_TYPE__StubGPIOWriteByteResponse = 22, - MESSAGE_TYPE__StubHeaterRequest = 23, - MESSAGE_TYPE__StubHeaterResponse = 24, - MESSAGE_TYPE__StubMotorEncoderRequest = 25, - MESSAGE_TYPE__StubMotorEncoderResponse = 26, - MESSAGE_TYPE__StubOptLimitSwitchRequest = 27, - MESSAGE_TYPE__StubOptLimitSwitchResponse = 28, - MESSAGE_TYPE__StubSteperMotorRequest = 29, - MESSAGE_TYPE__StubSteperMotorResponse = 30, - MESSAGE_TYPE__StubValveRequest = 31, - MESSAGE_TYPE__StubValveResponse = 32, - MESSAGE_TYPE__StubExtFlashReadRequest = 33, - MESSAGE_TYPE__StubExtFlashReadResponse = 34, - MESSAGE_TYPE__StubExtFlashWriteRequest = 35, - MESSAGE_TYPE__StubExtFlashWriteResponse = 36, - MESSAGE_TYPE__StubFPGAReadBackRegRequest = 37, - MESSAGE_TYPE__StubFPGAReadBackRegResponse = 38, - MESSAGE_TYPE__StubFPGAReadVersionRequest = 39, - MESSAGE_TYPE__StubFPGAReadVersionResponse = 40, - MESSAGE_TYPE__StubL6470DriverRequest = 41, - MESSAGE_TYPE__StubL6470DriverResponse = 42, - MESSAGE_TYPE__StubMotorInitRequest = 43, - MESSAGE_TYPE__StubMotorInitResponse = 44, - MESSAGE_TYPE__StubMotorRunRequest = 45, - MESSAGE_TYPE__StubMotorRunResponse = 46, - MESSAGE_TYPE__StubMotorStopRequest = 47, - MESSAGE_TYPE__StubMotorStopResponse = 48, - MESSAGE_TYPE__StubMotorStatusRequest = 49, - MESSAGE_TYPE__StubMotorStatusResponse = 50, - MESSAGE_TYPE__StubMotorMovRequest = 51, - MESSAGE_TYPE__StubMotorMovResponse = 52, - MESSAGE_TYPE__StubMotorSpeedRequest = 53, - MESSAGE_TYPE__StubMotorSpeedResponse = 54, - MESSAGE_TYPE__StubMotorPositionRequest = 55, - MESSAGE_TYPE__StubMotorPositionResponse = 56, - MESSAGE_TYPE__StubHWVersionRequest = 57, - MESSAGE_TYPE__StubHWVersionResponse = 58, - MESSAGE_TYPE__StubF3Gpo01WriteRequest = 59, - MESSAGE_TYPE__StubF3Gpo01WriteResponse = 60, - MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket = 1000, - MESSAGE_TYPE__ExternalClientLoginRequest = 1001, - MESSAGE_TYPE__ExternalClientLoginResponse = 1002, - MESSAGE_TYPE__DirectSynchronizationRequest = 1003, - MESSAGE_TYPE__DirectSynchronizationResponse = 1004, - MESSAGE_TYPE__OverrideDataBaseRequest = 1005, - MESSAGE_TYPE__OverrideDataBaseResponse = 1006, - MESSAGE_TYPE__KeepAliveRequest = 1007, - MESSAGE_TYPE__KeepAliveResponse = 1008, - MESSAGE_TYPE__PushDiagnosticsRequest = 2000, - MESSAGE_TYPE__PushDiagnosticsResponse = 2001, - MESSAGE_TYPE__MotorAbortHomingRequest = 2002, - MESSAGE_TYPE__MotorAbortHomingResponse = 2003, - MESSAGE_TYPE__MotorHomingRequest = 2004, - MESSAGE_TYPE__MotorHomingResponse = 2005, - MESSAGE_TYPE__MotorJoggingRequest = 2006, - MESSAGE_TYPE__MotorJoggingResponse = 2007, - MESSAGE_TYPE__MotorAbortJoggingRequest = 2008, - MESSAGE_TYPE__MotorAbortJoggingResponse = 2009, - MESSAGE_TYPE__DispenserAbortHomingRequest = 2010, - MESSAGE_TYPE__DispenserAbortHomingResponse = 2011, - MESSAGE_TYPE__DispenserHomingRequest = 2012, - MESSAGE_TYPE__DispenserHomingResponse = 2013, - MESSAGE_TYPE__DispenserJoggingRequest = 2014, - MESSAGE_TYPE__DispenserJoggingResponse = 2015, - MESSAGE_TYPE__DispenserAbortJoggingRequest = 2016, - MESSAGE_TYPE__DispenserAbortJoggingResponse = 2017, - MESSAGE_TYPE__SetDigitalOutRequest = 2018, - MESSAGE_TYPE__SetDigitalOutResponse = 2019, - MESSAGE_TYPE__ThreadJoggingRequest = 2020, - MESSAGE_TYPE__ThreadJoggingResponse = 2021, - MESSAGE_TYPE__ThreadAbortJoggingRequest = 2022, - MESSAGE_TYPE__ThreadAbortJoggingResponse = 2023, - MESSAGE_TYPE__JobRequest = 3000, - MESSAGE_TYPE__JobResponse = 3001, - MESSAGE_TYPE__AbortJobRequest = 3002, - MESSAGE_TYPE__AbortJobResponse = 3003, - MESSAGE_TYPE__UploadProcessParametersRequest = 3004, - MESSAGE_TYPE__UploadProcessParametersResponse = 3005, - MESSAGE_TYPE__DebugLogRequest = 4000, - MESSAGE_TYPE__DebugLogResponse = 4001, - MESSAGE_TYPE__UploadHardwareConfigurationRequest = 5000, - MESSAGE_TYPE__UploadHardwareConfigurationResponse = 5001 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MESSAGE_TYPE) -} MessageType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor message_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MessageType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.c deleted file mode 100644 index df4a0e32f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: RGB.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "RGB.pb-c.h" -void rgb__init - (RGB *message) -{ - static const RGB init_value = RGB__INIT; - *message = init_value; -} -size_t rgb__get_packed_size - (const RGB *message) -{ - assert(message->base.descriptor == &rgb__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t rgb__pack - (const RGB *message, - uint8_t *out) -{ - assert(message->base.descriptor == &rgb__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t rgb__pack_to_buffer - (const RGB *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &rgb__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -RGB * - rgb__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (RGB *) - protobuf_c_message_unpack (&rgb__descriptor, - allocator, len, data); -} -void rgb__free_unpacked - (RGB *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &rgb__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor rgb__field_descriptors[3] = -{ - { - "R", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(RGB, has_r), - offsetof(RGB, r), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "G", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(RGB, has_g), - offsetof(RGB, g), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "B", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(RGB, has_b), - offsetof(RGB, b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned rgb__field_indices_by_name[] = { - 2, /* field[2] = B */ - 1, /* field[1] = G */ - 0, /* field[0] = R */ -}; -static const ProtobufCIntRange rgb__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor rgb__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "RGB", - "RGB", - "RGB", - "", - sizeof(RGB), - 3, - rgb__field_descriptors, - rgb__field_indices_by_name, - 1, rgb__number_ranges, - (ProtobufCMessageInit) rgb__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.h deleted file mode 100644 index 464d75297..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/RGB.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: RGB.proto */ - -#ifndef PROTOBUF_C_RGB_2eproto__INCLUDED -#define PROTOBUF_C_RGB_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _RGB RGB; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _RGB -{ - ProtobufCMessage base; - protobuf_c_boolean has_r; - int32_t r; - protobuf_c_boolean has_g; - int32_t g; - protobuf_c_boolean has_b; - int32_t b; -}; -#define RGB__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&rgb__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* RGB methods */ -void rgb__init - (RGB *message); -size_t rgb__get_packed_size - (const RGB *message); -size_t rgb__pack - (const RGB *message, - uint8_t *out); -size_t rgb__pack_to_buffer - (const RGB *message, - ProtobufCBuffer *buffer); -RGB * - rgb__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void rgb__free_unpacked - (RGB *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*RGB_Closure) - (const RGB *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor rgb__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_RGB_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.c deleted file mode 100644 index ebb901ba8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogCategory.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DebugLogCategory.pb-c.h" -static const ProtobufCEnumValue debug_log_category__enum_values_by_number[5] = -{ - { "Info", "DEBUG_LOG_CATEGORY__Info", 0 }, - { "Warning", "DEBUG_LOG_CATEGORY__Warning", 1 }, - { "Error", "DEBUG_LOG_CATEGORY__Error", 2 }, - { "Critical", "DEBUG_LOG_CATEGORY__Critical", 3 }, - { "Debug", "DEBUG_LOG_CATEGORY__Debug", 4 }, -}; -static const ProtobufCIntRange debug_log_category__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex debug_log_category__enum_values_by_name[5] = -{ - { "Critical", 3 }, - { "Debug", 4 }, - { "Error", 2 }, - { "Info", 0 }, - { "Warning", 1 }, -}; -const ProtobufCEnumDescriptor debug_log_category__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "DebugLogCategory", - "DebugLogCategory", - "DebugLogCategory", - "", - 5, - debug_log_category__enum_values_by_number, - 5, - debug_log_category__enum_values_by_name, - 1, - debug_log_category__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.h deleted file mode 100644 index d97b42d33..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogCategory.pb-c.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogCategory.proto */ - -#ifndef PROTOBUF_C_DebugLogCategory_2eproto__INCLUDED -#define PROTOBUF_C_DebugLogCategory_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _DebugLogCategory { - DEBUG_LOG_CATEGORY__Info = 0, - DEBUG_LOG_CATEGORY__Warning = 1, - DEBUG_LOG_CATEGORY__Error = 2, - DEBUG_LOG_CATEGORY__Critical = 3, - DEBUG_LOG_CATEGORY__Debug = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(DEBUG_LOG_CATEGORY) -} DebugLogCategory; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor debug_log_category__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DebugLogCategory_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.c deleted file mode 100644 index e8faeddcb..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DebugLogRequest.pb-c.h" -void debug_log_request__init - (DebugLogRequest *message) -{ - static const DebugLogRequest init_value = DEBUG_LOG_REQUEST__INIT; - *message = init_value; -} -size_t debug_log_request__get_packed_size - (const DebugLogRequest *message) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t debug_log_request__pack - (const DebugLogRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t debug_log_request__pack_to_buffer - (const DebugLogRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DebugLogRequest * - debug_log_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DebugLogRequest *) - protobuf_c_message_unpack (&debug_log_request__descriptor, - allocator, len, data); -} -void debug_log_request__free_unpacked - (DebugLogRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &debug_log_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define debug_log_request__field_descriptors NULL -#define debug_log_request__field_indices_by_name NULL -#define debug_log_request__number_ranges NULL -const ProtobufCMessageDescriptor debug_log_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DebugLogRequest", - "DebugLogRequest", - "DebugLogRequest", - "", - sizeof(DebugLogRequest), - 0, - debug_log_request__field_descriptors, - debug_log_request__field_indices_by_name, - 0, debug_log_request__number_ranges, - (ProtobufCMessageInit) debug_log_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.h deleted file mode 100644 index 2507b3068..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogRequest.proto */ - -#ifndef PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED -#define PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DebugLogRequest DebugLogRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DebugLogRequest -{ - ProtobufCMessage base; -}; -#define DEBUG_LOG_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&debug_log_request__descriptor) \ - } - - -/* DebugLogRequest methods */ -void debug_log_request__init - (DebugLogRequest *message); -size_t debug_log_request__get_packed_size - (const DebugLogRequest *message); -size_t debug_log_request__pack - (const DebugLogRequest *message, - uint8_t *out); -size_t debug_log_request__pack_to_buffer - (const DebugLogRequest *message, - ProtobufCBuffer *buffer); -DebugLogRequest * - debug_log_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void debug_log_request__free_unpacked - (DebugLogRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DebugLogRequest_Closure) - (const DebugLogRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor debug_log_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.c deleted file mode 100644 index 36e08e981..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.c +++ /dev/null @@ -1,157 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DebugLogResponse.pb-c.h" -void debug_log_response__init - (DebugLogResponse *message) -{ - static const DebugLogResponse init_value = DEBUG_LOG_RESPONSE__INIT; - *message = init_value; -} -size_t debug_log_response__get_packed_size - (const DebugLogResponse *message) -{ - assert(message->base.descriptor == &debug_log_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t debug_log_response__pack - (const DebugLogResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &debug_log_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t debug_log_response__pack_to_buffer - (const DebugLogResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &debug_log_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DebugLogResponse * - debug_log_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DebugLogResponse *) - protobuf_c_message_unpack (&debug_log_response__descriptor, - allocator, len, data); -} -void debug_log_response__free_unpacked - (DebugLogResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &debug_log_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = -{ - { - "Category", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(DebugLogResponse, has_category), - offsetof(DebugLogResponse, category), - &debug_log_category__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "FileName", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(DebugLogResponse, filename), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LineNumber", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_linenumber), - offsetof(DebugLogResponse, linenumber), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Filter", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_filter), - offsetof(DebugLogResponse, filter), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Message", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(DebugLogResponse, message), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ModuleId", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_moduleid), - offsetof(DebugLogResponse, moduleid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned debug_log_response__field_indices_by_name[] = { - 0, /* field[0] = Category */ - 1, /* field[1] = FileName */ - 3, /* field[3] = Filter */ - 2, /* field[2] = LineNumber */ - 4, /* field[4] = Message */ - 5, /* field[5] = ModuleId */ -}; -static const ProtobufCIntRange debug_log_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor debug_log_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DebugLogResponse", - "DebugLogResponse", - "DebugLogResponse", - "", - sizeof(DebugLogResponse), - 6, - debug_log_response__field_descriptors, - debug_log_response__field_indices_by_name, - 1, debug_log_response__number_ranges, - (ProtobufCMessageInit) debug_log_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.h deleted file mode 100644 index 414c07188..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Debugging/DebugLogResponse.pb-c.h +++ /dev/null @@ -1,81 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogResponse.proto */ - -#ifndef PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED -#define PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "DebugLogCategory.pb-c.h" - -typedef struct _DebugLogResponse DebugLogResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DebugLogResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_category; - DebugLogCategory category; - char *filename; - protobuf_c_boolean has_linenumber; - uint32_t linenumber; - protobuf_c_boolean has_filter; - uint32_t filter; - char *message; - protobuf_c_boolean has_moduleid; - uint32_t moduleid; -}; -#define DEBUG_LOG_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&debug_log_response__descriptor) \ - , 0, DEBUG_LOG_CATEGORY__Info, NULL, 0, 0, 0, 0, NULL, 0, 0 } - - -/* DebugLogResponse methods */ -void debug_log_response__init - (DebugLogResponse *message); -size_t debug_log_response__get_packed_size - (const DebugLogResponse *message); -size_t debug_log_response__pack - (const DebugLogResponse *message, - uint8_t *out); -size_t debug_log_response__pack_to_buffer - (const DebugLogResponse *message, - ProtobufCBuffer *buffer); -DebugLogResponse * - debug_log_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void debug_log_response__free_unpacked - (DebugLogResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DebugLogResponse_Closure) - (const DebugLogResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor debug_log_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c deleted file mode 100644 index e50aa5c2c..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DataFileFrame.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DataFileFrame.pb-c.h" -void data_file_frame__init - (DataFileFrame *message) -{ - static const DataFileFrame init_value = DATA_FILE_FRAME__INIT; - *message = init_value; -} -size_t data_file_frame__get_packed_size - (const DataFileFrame *message) -{ - assert(message->base.descriptor == &data_file_frame__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t data_file_frame__pack - (const DataFileFrame *message, - uint8_t *out) -{ - assert(message->base.descriptor == &data_file_frame__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t data_file_frame__pack_to_buffer - (const DataFileFrame *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &data_file_frame__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DataFileFrame * - data_file_frame__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DataFileFrame *) - protobuf_c_message_unpack (&data_file_frame__descriptor, - allocator, len, data); -} -void data_file_frame__free_unpacked - (DataFileFrame *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &data_file_frame__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor data_file_frame__field_descriptors[2] = -{ - { - "Milliseconds", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DataFileFrame, has_milliseconds), - offsetof(DataFileFrame, milliseconds), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PushDiagnosticsResponse", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(DataFileFrame, pushdiagnosticsresponse), - &push_diagnostics_response__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned data_file_frame__field_indices_by_name[] = { - 0, /* field[0] = Milliseconds */ - 1, /* field[1] = PushDiagnosticsResponse */ -}; -static const ProtobufCIntRange data_file_frame__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor data_file_frame__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DataFileFrame", - "DataFileFrame", - "DataFileFrame", - "", - sizeof(DataFileFrame), - 2, - data_file_frame__field_descriptors, - data_file_frame__field_indices_by_name, - 1, data_file_frame__number_ranges, - (ProtobufCMessageInit) data_file_frame__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h deleted file mode 100644 index 9ad0da792..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DataFileFrame.proto */ - -#ifndef PROTOBUF_C_DataFileFrame_2eproto__INCLUDED -#define PROTOBUF_C_DataFileFrame_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "PushDiagnosticsResponse.pb-c.h" - -typedef struct _DataFileFrame DataFileFrame; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DataFileFrame -{ - ProtobufCMessage base; - protobuf_c_boolean has_milliseconds; - int32_t milliseconds; - PushDiagnosticsResponse *pushdiagnosticsresponse; -}; -#define DATA_FILE_FRAME__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&data_file_frame__descriptor) \ - , 0, 0, NULL } - - -/* DataFileFrame methods */ -void data_file_frame__init - (DataFileFrame *message); -size_t data_file_frame__get_packed_size - (const DataFileFrame *message); -size_t data_file_frame__pack - (const DataFileFrame *message, - uint8_t *out); -size_t data_file_frame__pack_to_buffer - (const DataFileFrame *message, - ProtobufCBuffer *buffer); -DataFileFrame * - data_file_frame__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void data_file_frame__free_unpacked - (DataFileFrame *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DataFileFrame_Closure) - (const DataFileFrame *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor data_file_frame__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DataFileFrame_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c deleted file mode 100644 index 48e358d3d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DigitalPin.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DigitalPin.pb-c.h" -void digital_pin__init - (DigitalPin *message) -{ - static const DigitalPin init_value = DIGITAL_PIN__INIT; - *message = init_value; -} -size_t digital_pin__get_packed_size - (const DigitalPin *message) -{ - assert(message->base.descriptor == &digital_pin__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t digital_pin__pack - (const DigitalPin *message, - uint8_t *out) -{ - assert(message->base.descriptor == &digital_pin__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t digital_pin__pack_to_buffer - (const DigitalPin *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &digital_pin__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DigitalPin * - digital_pin__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DigitalPin *) - protobuf_c_message_unpack (&digital_pin__descriptor, - allocator, len, data); -} -void digital_pin__free_unpacked - (DigitalPin *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &digital_pin__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor digital_pin__field_descriptors[2] = -{ - { - "Port", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DigitalPin, has_port), - offsetof(DigitalPin, port), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Value", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(DigitalPin, has_value), - offsetof(DigitalPin, value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned digital_pin__field_indices_by_name[] = { - 0, /* field[0] = Port */ - 1, /* field[1] = Value */ -}; -static const ProtobufCIntRange digital_pin__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor digital_pin__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DigitalPin", - "DigitalPin", - "DigitalPin", - "", - sizeof(DigitalPin), - 2, - digital_pin__field_descriptors, - digital_pin__field_indices_by_name, - 1, digital_pin__number_ranges, - (ProtobufCMessageInit) digital_pin__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h deleted file mode 100644 index 2fd18cdff..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DigitalPin.proto */ - -#ifndef PROTOBUF_C_DigitalPin_2eproto__INCLUDED -#define PROTOBUF_C_DigitalPin_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DigitalPin DigitalPin; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DigitalPin -{ - ProtobufCMessage base; - protobuf_c_boolean has_port; - int32_t port; - protobuf_c_boolean has_value; - protobuf_c_boolean value; -}; -#define DIGITAL_PIN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&digital_pin__descriptor) \ - , 0, 0, 0, 0 } - - -/* DigitalPin methods */ -void digital_pin__init - (DigitalPin *message); -size_t digital_pin__get_packed_size - (const DigitalPin *message); -size_t digital_pin__pack - (const DigitalPin *message, - uint8_t *out); -size_t digital_pin__pack_to_buffer - (const DigitalPin *message, - ProtobufCBuffer *buffer); -DigitalPin * - digital_pin__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void digital_pin__free_unpacked - (DigitalPin *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DigitalPin_Closure) - (const DigitalPin *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor digital_pin__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DigitalPin_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c deleted file mode 100644 index 57826af15..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortHomingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserAbortHomingRequest.pb-c.h" -void dispenser_abort_homing_request__init - (DispenserAbortHomingRequest *message) -{ - static const DispenserAbortHomingRequest init_value = DISPENSER_ABORT_HOMING_REQUEST__INIT; - *message = init_value; -} -size_t dispenser_abort_homing_request__get_packed_size - (const DispenserAbortHomingRequest *message) -{ - assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_abort_homing_request__pack - (const DispenserAbortHomingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_abort_homing_request__pack_to_buffer - (const DispenserAbortHomingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserAbortHomingRequest * - dispenser_abort_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserAbortHomingRequest *) - protobuf_c_message_unpack (&dispenser_abort_homing_request__descriptor, - allocator, len, data); -} -void dispenser_abort_homing_request__free_unpacked - (DispenserAbortHomingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_abort_homing_request__field_descriptors[1] = -{ - { - "Code", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DispenserAbortHomingRequest, has_code), - offsetof(DispenserAbortHomingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_abort_homing_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange dispenser_abort_homing_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor dispenser_abort_homing_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserAbortHomingRequest", - "DispenserAbortHomingRequest", - "DispenserAbortHomingRequest", - "", - sizeof(DispenserAbortHomingRequest), - 1, - dispenser_abort_homing_request__field_descriptors, - dispenser_abort_homing_request__field_indices_by_name, - 1, dispenser_abort_homing_request__number_ranges, - (ProtobufCMessageInit) dispenser_abort_homing_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h deleted file mode 100644 index 2e2395277..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortHomingRequest.proto */ - -#ifndef PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED -#define PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserAbortHomingRequest DispenserAbortHomingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserAbortHomingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define DISPENSER_ABORT_HOMING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_homing_request__descriptor) \ - , 0, 0 } - - -/* DispenserAbortHomingRequest methods */ -void dispenser_abort_homing_request__init - (DispenserAbortHomingRequest *message); -size_t dispenser_abort_homing_request__get_packed_size - (const DispenserAbortHomingRequest *message); -size_t dispenser_abort_homing_request__pack - (const DispenserAbortHomingRequest *message, - uint8_t *out); -size_t dispenser_abort_homing_request__pack_to_buffer - (const DispenserAbortHomingRequest *message, - ProtobufCBuffer *buffer); -DispenserAbortHomingRequest * - dispenser_abort_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_abort_homing_request__free_unpacked - (DispenserAbortHomingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserAbortHomingRequest_Closure) - (const DispenserAbortHomingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_abort_homing_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c deleted file mode 100644 index a5de8be16..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortHomingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserAbortHomingResponse.pb-c.h" -void dispenser_abort_homing_response__init - (DispenserAbortHomingResponse *message) -{ - static const DispenserAbortHomingResponse init_value = DISPENSER_ABORT_HOMING_RESPONSE__INIT; - *message = init_value; -} -size_t dispenser_abort_homing_response__get_packed_size - (const DispenserAbortHomingResponse *message) -{ - assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_abort_homing_response__pack - (const DispenserAbortHomingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_abort_homing_response__pack_to_buffer - (const DispenserAbortHomingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserAbortHomingResponse * - dispenser_abort_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserAbortHomingResponse *) - protobuf_c_message_unpack (&dispenser_abort_homing_response__descriptor, - allocator, len, data); -} -void dispenser_abort_homing_response__free_unpacked - (DispenserAbortHomingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define dispenser_abort_homing_response__field_descriptors NULL -#define dispenser_abort_homing_response__field_indices_by_name NULL -#define dispenser_abort_homing_response__number_ranges NULL -const ProtobufCMessageDescriptor dispenser_abort_homing_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserAbortHomingResponse", - "DispenserAbortHomingResponse", - "DispenserAbortHomingResponse", - "", - sizeof(DispenserAbortHomingResponse), - 0, - dispenser_abort_homing_response__field_descriptors, - dispenser_abort_homing_response__field_indices_by_name, - 0, dispenser_abort_homing_response__number_ranges, - (ProtobufCMessageInit) dispenser_abort_homing_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h deleted file mode 100644 index 73e37250d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortHomingResponse.proto */ - -#ifndef PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED -#define PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserAbortHomingResponse DispenserAbortHomingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserAbortHomingResponse -{ - ProtobufCMessage base; -}; -#define DISPENSER_ABORT_HOMING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_homing_response__descriptor) \ - } - - -/* DispenserAbortHomingResponse methods */ -void dispenser_abort_homing_response__init - (DispenserAbortHomingResponse *message); -size_t dispenser_abort_homing_response__get_packed_size - (const DispenserAbortHomingResponse *message); -size_t dispenser_abort_homing_response__pack - (const DispenserAbortHomingResponse *message, - uint8_t *out); -size_t dispenser_abort_homing_response__pack_to_buffer - (const DispenserAbortHomingResponse *message, - ProtobufCBuffer *buffer); -DispenserAbortHomingResponse * - dispenser_abort_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_abort_homing_response__free_unpacked - (DispenserAbortHomingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserAbortHomingResponse_Closure) - (const DispenserAbortHomingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_abort_homing_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c deleted file mode 100644 index 1a7a595d6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserAbortJoggingRequest.pb-c.h" -void dispenser_abort_jogging_request__init - (DispenserAbortJoggingRequest *message) -{ - static const DispenserAbortJoggingRequest init_value = DISPENSER_ABORT_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t dispenser_abort_jogging_request__get_packed_size - (const DispenserAbortJoggingRequest *message) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_abort_jogging_request__pack - (const DispenserAbortJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_abort_jogging_request__pack_to_buffer - (const DispenserAbortJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserAbortJoggingRequest * - dispenser_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserAbortJoggingRequest *) - protobuf_c_message_unpack (&dispenser_abort_jogging_request__descriptor, - allocator, len, data); -} -void dispenser_abort_jogging_request__free_unpacked - (DispenserAbortJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_abort_jogging_request__field_descriptors[1] = -{ - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DispenserAbortJoggingRequest, has_code), - offsetof(DispenserAbortJoggingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_abort_jogging_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange dispenser_abort_jogging_request__number_ranges[1 + 1] = -{ - { 2, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor dispenser_abort_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserAbortJoggingRequest", - "DispenserAbortJoggingRequest", - "DispenserAbortJoggingRequest", - "", - sizeof(DispenserAbortJoggingRequest), - 1, - dispenser_abort_jogging_request__field_descriptors, - dispenser_abort_jogging_request__field_indices_by_name, - 1, dispenser_abort_jogging_request__number_ranges, - (ProtobufCMessageInit) dispenser_abort_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h deleted file mode 100644 index 342d3fd25..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortJoggingRequest.proto */ - -#ifndef PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserAbortJoggingRequest DispenserAbortJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserAbortJoggingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define DISPENSER_ABORT_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_jogging_request__descriptor) \ - , 0, 0 } - - -/* DispenserAbortJoggingRequest methods */ -void dispenser_abort_jogging_request__init - (DispenserAbortJoggingRequest *message); -size_t dispenser_abort_jogging_request__get_packed_size - (const DispenserAbortJoggingRequest *message); -size_t dispenser_abort_jogging_request__pack - (const DispenserAbortJoggingRequest *message, - uint8_t *out); -size_t dispenser_abort_jogging_request__pack_to_buffer - (const DispenserAbortJoggingRequest *message, - ProtobufCBuffer *buffer); -DispenserAbortJoggingRequest * - dispenser_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_abort_jogging_request__free_unpacked - (DispenserAbortJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserAbortJoggingRequest_Closure) - (const DispenserAbortJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_abort_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c deleted file mode 100644 index 70c7f1ee0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserAbortJoggingResponse.pb-c.h" -void dispenser_abort_jogging_response__init - (DispenserAbortJoggingResponse *message) -{ - static const DispenserAbortJoggingResponse init_value = DISPENSER_ABORT_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t dispenser_abort_jogging_response__get_packed_size - (const DispenserAbortJoggingResponse *message) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_abort_jogging_response__pack - (const DispenserAbortJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_abort_jogging_response__pack_to_buffer - (const DispenserAbortJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserAbortJoggingResponse * - dispenser_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserAbortJoggingResponse *) - protobuf_c_message_unpack (&dispenser_abort_jogging_response__descriptor, - allocator, len, data); -} -void dispenser_abort_jogging_response__free_unpacked - (DispenserAbortJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_abort_jogging_response__field_descriptors[1] = -{ - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DispenserAbortJoggingResponse, has_code), - offsetof(DispenserAbortJoggingResponse, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_abort_jogging_response__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange dispenser_abort_jogging_response__number_ranges[1 + 1] = -{ - { 2, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor dispenser_abort_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserAbortJoggingResponse", - "DispenserAbortJoggingResponse", - "DispenserAbortJoggingResponse", - "", - sizeof(DispenserAbortJoggingResponse), - 1, - dispenser_abort_jogging_response__field_descriptors, - dispenser_abort_jogging_response__field_indices_by_name, - 1, dispenser_abort_jogging_response__number_ranges, - (ProtobufCMessageInit) dispenser_abort_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h deleted file mode 100644 index e9ddef6cb..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserAbortJoggingResponse.proto */ - -#ifndef PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserAbortJoggingResponse DispenserAbortJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserAbortJoggingResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define DISPENSER_ABORT_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_jogging_response__descriptor) \ - , 0, 0 } - - -/* DispenserAbortJoggingResponse methods */ -void dispenser_abort_jogging_response__init - (DispenserAbortJoggingResponse *message); -size_t dispenser_abort_jogging_response__get_packed_size - (const DispenserAbortJoggingResponse *message); -size_t dispenser_abort_jogging_response__pack - (const DispenserAbortJoggingResponse *message, - uint8_t *out); -size_t dispenser_abort_jogging_response__pack_to_buffer - (const DispenserAbortJoggingResponse *message, - ProtobufCBuffer *buffer); -DispenserAbortJoggingResponse * - dispenser_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_abort_jogging_response__free_unpacked - (DispenserAbortJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserAbortJoggingResponse_Closure) - (const DispenserAbortJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_abort_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c deleted file mode 100644 index 83e8f0f36..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserHomingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserHomingRequest.pb-c.h" -void dispenser_homing_request__init - (DispenserHomingRequest *message) -{ - static const DispenserHomingRequest init_value = DISPENSER_HOMING_REQUEST__INIT; - *message = init_value; -} -size_t dispenser_homing_request__get_packed_size - (const DispenserHomingRequest *message) -{ - assert(message->base.descriptor == &dispenser_homing_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_homing_request__pack - (const DispenserHomingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_homing_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_homing_request__pack_to_buffer - (const DispenserHomingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_homing_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserHomingRequest * - dispenser_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserHomingRequest *) - protobuf_c_message_unpack (&dispenser_homing_request__descriptor, - allocator, len, data); -} -void dispenser_homing_request__free_unpacked - (DispenserHomingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_homing_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_homing_request__field_descriptors[2] = -{ - { - "Code", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DispenserHomingRequest, has_code), - offsetof(DispenserHomingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(DispenserHomingRequest, has_speed), - offsetof(DispenserHomingRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_homing_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ - 1, /* field[1] = Speed */ -}; -static const ProtobufCIntRange dispenser_homing_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor dispenser_homing_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserHomingRequest", - "DispenserHomingRequest", - "DispenserHomingRequest", - "", - sizeof(DispenserHomingRequest), - 2, - dispenser_homing_request__field_descriptors, - dispenser_homing_request__field_indices_by_name, - 1, dispenser_homing_request__number_ranges, - (ProtobufCMessageInit) dispenser_homing_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h deleted file mode 100644 index ba7ab19cf..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserHomingRequest.proto */ - -#ifndef PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED -#define PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserHomingRequest DispenserHomingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserHomingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; - protobuf_c_boolean has_speed; - double speed; -}; -#define DISPENSER_HOMING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_homing_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* DispenserHomingRequest methods */ -void dispenser_homing_request__init - (DispenserHomingRequest *message); -size_t dispenser_homing_request__get_packed_size - (const DispenserHomingRequest *message); -size_t dispenser_homing_request__pack - (const DispenserHomingRequest *message, - uint8_t *out); -size_t dispenser_homing_request__pack_to_buffer - (const DispenserHomingRequest *message, - ProtobufCBuffer *buffer); -DispenserHomingRequest * - dispenser_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_homing_request__free_unpacked - (DispenserHomingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserHomingRequest_Closure) - (const DispenserHomingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_homing_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c deleted file mode 100644 index e37aaaa67..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserHomingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserHomingResponse.pb-c.h" -void dispenser_homing_response__init - (DispenserHomingResponse *message) -{ - static const DispenserHomingResponse init_value = DISPENSER_HOMING_RESPONSE__INIT; - *message = init_value; -} -size_t dispenser_homing_response__get_packed_size - (const DispenserHomingResponse *message) -{ - assert(message->base.descriptor == &dispenser_homing_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_homing_response__pack - (const DispenserHomingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_homing_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_homing_response__pack_to_buffer - (const DispenserHomingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_homing_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserHomingResponse * - dispenser_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserHomingResponse *) - protobuf_c_message_unpack (&dispenser_homing_response__descriptor, - allocator, len, data); -} -void dispenser_homing_response__free_unpacked - (DispenserHomingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_homing_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_homing_response__field_descriptors[2] = -{ - { - "Progress", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(DispenserHomingResponse, has_progress), - offsetof(DispenserHomingResponse, progress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxProgress", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(DispenserHomingResponse, has_maxprogress), - offsetof(DispenserHomingResponse, maxprogress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_homing_response__field_indices_by_name[] = { - 1, /* field[1] = MaxProgress */ - 0, /* field[0] = Progress */ -}; -static const ProtobufCIntRange dispenser_homing_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor dispenser_homing_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserHomingResponse", - "DispenserHomingResponse", - "DispenserHomingResponse", - "", - sizeof(DispenserHomingResponse), - 2, - dispenser_homing_response__field_descriptors, - dispenser_homing_response__field_indices_by_name, - 1, dispenser_homing_response__number_ranges, - (ProtobufCMessageInit) dispenser_homing_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h deleted file mode 100644 index 76899841b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserHomingResponse.proto */ - -#ifndef PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED -#define PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserHomingResponse DispenserHomingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserHomingResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_progress; - double progress; - protobuf_c_boolean has_maxprogress; - double maxprogress; -}; -#define DISPENSER_HOMING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_homing_response__descriptor) \ - , 0, 0, 0, 0 } - - -/* DispenserHomingResponse methods */ -void dispenser_homing_response__init - (DispenserHomingResponse *message); -size_t dispenser_homing_response__get_packed_size - (const DispenserHomingResponse *message); -size_t dispenser_homing_response__pack - (const DispenserHomingResponse *message, - uint8_t *out); -size_t dispenser_homing_response__pack_to_buffer - (const DispenserHomingResponse *message, - ProtobufCBuffer *buffer); -DispenserHomingResponse * - dispenser_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_homing_response__free_unpacked - (DispenserHomingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserHomingResponse_Closure) - (const DispenserHomingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_homing_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c deleted file mode 100644 index 720e45d8f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserJoggingRequest.pb-c.h" -void dispenser_jogging_request__init - (DispenserJoggingRequest *message) -{ - static const DispenserJoggingRequest init_value = DISPENSER_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t dispenser_jogging_request__get_packed_size - (const DispenserJoggingRequest *message) -{ - assert(message->base.descriptor == &dispenser_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_jogging_request__pack - (const DispenserJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_jogging_request__pack_to_buffer - (const DispenserJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserJoggingRequest * - dispenser_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserJoggingRequest *) - protobuf_c_message_unpack (&dispenser_jogging_request__descriptor, - allocator, len, data); -} -void dispenser_jogging_request__free_unpacked - (DispenserJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor dispenser_jogging_request__field_descriptors[3] = -{ - { - "Direction", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(DispenserJoggingRequest, has_direction), - offsetof(DispenserJoggingRequest, direction), - &motor_direction__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(DispenserJoggingRequest, has_code), - offsetof(DispenserJoggingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(DispenserJoggingRequest, has_speed), - offsetof(DispenserJoggingRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned dispenser_jogging_request__field_indices_by_name[] = { - 1, /* field[1] = Code */ - 0, /* field[0] = Direction */ - 2, /* field[2] = Speed */ -}; -static const ProtobufCIntRange dispenser_jogging_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor dispenser_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserJoggingRequest", - "DispenserJoggingRequest", - "DispenserJoggingRequest", - "", - sizeof(DispenserJoggingRequest), - 3, - dispenser_jogging_request__field_descriptors, - dispenser_jogging_request__field_indices_by_name, - 1, dispenser_jogging_request__number_ranges, - (ProtobufCMessageInit) dispenser_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h deleted file mode 100644 index b3d962769..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserJoggingRequest.proto */ - -#ifndef PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "MotorDirection.pb-c.h" - -typedef struct _DispenserJoggingRequest DispenserJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserJoggingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_direction; - MotorDirection direction; - protobuf_c_boolean has_code; - int32_t code; - protobuf_c_boolean has_speed; - double speed; -}; -#define DISPENSER_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_jogging_request__descriptor) \ - , 0, MOTOR_DIRECTION__Forward, 0, 0, 0, 0 } - - -/* DispenserJoggingRequest methods */ -void dispenser_jogging_request__init - (DispenserJoggingRequest *message); -size_t dispenser_jogging_request__get_packed_size - (const DispenserJoggingRequest *message); -size_t dispenser_jogging_request__pack - (const DispenserJoggingRequest *message, - uint8_t *out); -size_t dispenser_jogging_request__pack_to_buffer - (const DispenserJoggingRequest *message, - ProtobufCBuffer *buffer); -DispenserJoggingRequest * - dispenser_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_jogging_request__free_unpacked - (DispenserJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserJoggingRequest_Closure) - (const DispenserJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c deleted file mode 100644 index 499387197..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserJoggingResponse.pb-c.h" -void dispenser_jogging_response__init - (DispenserJoggingResponse *message) -{ - static const DispenserJoggingResponse init_value = DISPENSER_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t dispenser_jogging_response__get_packed_size - (const DispenserJoggingResponse *message) -{ - assert(message->base.descriptor == &dispenser_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t dispenser_jogging_response__pack - (const DispenserJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &dispenser_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t dispenser_jogging_response__pack_to_buffer - (const DispenserJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &dispenser_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DispenserJoggingResponse * - dispenser_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DispenserJoggingResponse *) - protobuf_c_message_unpack (&dispenser_jogging_response__descriptor, - allocator, len, data); -} -void dispenser_jogging_response__free_unpacked - (DispenserJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &dispenser_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define dispenser_jogging_response__field_descriptors NULL -#define dispenser_jogging_response__field_indices_by_name NULL -#define dispenser_jogging_response__number_ranges NULL -const ProtobufCMessageDescriptor dispenser_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DispenserJoggingResponse", - "DispenserJoggingResponse", - "DispenserJoggingResponse", - "", - sizeof(DispenserJoggingResponse), - 0, - dispenser_jogging_response__field_descriptors, - dispenser_jogging_response__field_indices_by_name, - 0, dispenser_jogging_response__number_ranges, - (ProtobufCMessageInit) dispenser_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h deleted file mode 100644 index 7cdda36f8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserJoggingResponse.proto */ - -#ifndef PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DispenserJoggingResponse DispenserJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DispenserJoggingResponse -{ - ProtobufCMessage base; -}; -#define DISPENSER_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&dispenser_jogging_response__descriptor) \ - } - - -/* DispenserJoggingResponse methods */ -void dispenser_jogging_response__init - (DispenserJoggingResponse *message); -size_t dispenser_jogging_response__get_packed_size - (const DispenserJoggingResponse *message); -size_t dispenser_jogging_response__pack - (const DispenserJoggingResponse *message, - uint8_t *out); -size_t dispenser_jogging_response__pack_to_buffer - (const DispenserJoggingResponse *message, - ProtobufCBuffer *buffer); -DispenserJoggingResponse * - dispenser_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void dispenser_jogging_response__free_unpacked - (DispenserJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DispenserJoggingResponse_Closure) - (const DispenserJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor dispenser_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c deleted file mode 100644 index 586e13984..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DoubleArray.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DoubleArray.pb-c.h" -void double_array__init - (DoubleArray *message) -{ - static const DoubleArray init_value = DOUBLE_ARRAY__INIT; - *message = init_value; -} -size_t double_array__get_packed_size - (const DoubleArray *message) -{ - assert(message->base.descriptor == &double_array__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t double_array__pack - (const DoubleArray *message, - uint8_t *out) -{ - assert(message->base.descriptor == &double_array__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t double_array__pack_to_buffer - (const DoubleArray *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &double_array__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DoubleArray * - double_array__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DoubleArray *) - protobuf_c_message_unpack (&double_array__descriptor, - allocator, len, data); -} -void double_array__free_unpacked - (DoubleArray *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &double_array__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor double_array__field_descriptors[1] = -{ - { - "Data", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(DoubleArray, n_data), - offsetof(DoubleArray, data), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned double_array__field_indices_by_name[] = { - 0, /* field[0] = Data */ -}; -static const ProtobufCIntRange double_array__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor double_array__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DoubleArray", - "DoubleArray", - "DoubleArray", - "", - sizeof(DoubleArray), - 1, - double_array__field_descriptors, - double_array__field_indices_by_name, - 1, double_array__number_ranges, - (ProtobufCMessageInit) double_array__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h deleted file mode 100644 index 7f4232530..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DoubleArray.proto */ - -#ifndef PROTOBUF_C_DoubleArray_2eproto__INCLUDED -#define PROTOBUF_C_DoubleArray_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DoubleArray DoubleArray; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DoubleArray -{ - ProtobufCMessage base; - size_t n_data; - double *data; -}; -#define DOUBLE_ARRAY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&double_array__descriptor) \ - , 0,NULL } - - -/* DoubleArray methods */ -void double_array__init - (DoubleArray *message); -size_t double_array__get_packed_size - (const DoubleArray *message); -size_t double_array__pack - (const DoubleArray *message, - uint8_t *out); -size_t double_array__pack_to_buffer - (const DoubleArray *message, - ProtobufCBuffer *buffer); -DoubleArray * - double_array__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void double_array__free_unpacked - (DoubleArray *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DoubleArray_Closure) - (const DoubleArray *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor double_array__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DoubleArray_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c deleted file mode 100644 index 63c2bdf9e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortHomingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorAbortHomingRequest.pb-c.h" -void motor_abort_homing_request__init - (MotorAbortHomingRequest *message) -{ - static const MotorAbortHomingRequest init_value = MOTOR_ABORT_HOMING_REQUEST__INIT; - *message = init_value; -} -size_t motor_abort_homing_request__get_packed_size - (const MotorAbortHomingRequest *message) -{ - assert(message->base.descriptor == &motor_abort_homing_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_abort_homing_request__pack - (const MotorAbortHomingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_abort_homing_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_abort_homing_request__pack_to_buffer - (const MotorAbortHomingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_abort_homing_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorAbortHomingRequest * - motor_abort_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorAbortHomingRequest *) - protobuf_c_message_unpack (&motor_abort_homing_request__descriptor, - allocator, len, data); -} -void motor_abort_homing_request__free_unpacked - (MotorAbortHomingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_abort_homing_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_abort_homing_request__field_descriptors[1] = -{ - { - "Code", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(MotorAbortHomingRequest, has_code), - offsetof(MotorAbortHomingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_abort_homing_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange motor_abort_homing_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor motor_abort_homing_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorAbortHomingRequest", - "MotorAbortHomingRequest", - "MotorAbortHomingRequest", - "", - sizeof(MotorAbortHomingRequest), - 1, - motor_abort_homing_request__field_descriptors, - motor_abort_homing_request__field_indices_by_name, - 1, motor_abort_homing_request__number_ranges, - (ProtobufCMessageInit) motor_abort_homing_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h deleted file mode 100644 index e480d02b4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortHomingRequest.proto */ - -#ifndef PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED -#define PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorAbortHomingRequest MotorAbortHomingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorAbortHomingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define MOTOR_ABORT_HOMING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_abort_homing_request__descriptor) \ - , 0, 0 } - - -/* MotorAbortHomingRequest methods */ -void motor_abort_homing_request__init - (MotorAbortHomingRequest *message); -size_t motor_abort_homing_request__get_packed_size - (const MotorAbortHomingRequest *message); -size_t motor_abort_homing_request__pack - (const MotorAbortHomingRequest *message, - uint8_t *out); -size_t motor_abort_homing_request__pack_to_buffer - (const MotorAbortHomingRequest *message, - ProtobufCBuffer *buffer); -MotorAbortHomingRequest * - motor_abort_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_abort_homing_request__free_unpacked - (MotorAbortHomingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorAbortHomingRequest_Closure) - (const MotorAbortHomingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_abort_homing_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c deleted file mode 100644 index d95f3d978..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortHomingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorAbortHomingResponse.pb-c.h" -void motor_abort_homing_response__init - (MotorAbortHomingResponse *message) -{ - static const MotorAbortHomingResponse init_value = MOTOR_ABORT_HOMING_RESPONSE__INIT; - *message = init_value; -} -size_t motor_abort_homing_response__get_packed_size - (const MotorAbortHomingResponse *message) -{ - assert(message->base.descriptor == &motor_abort_homing_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_abort_homing_response__pack - (const MotorAbortHomingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_abort_homing_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_abort_homing_response__pack_to_buffer - (const MotorAbortHomingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_abort_homing_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorAbortHomingResponse * - motor_abort_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorAbortHomingResponse *) - protobuf_c_message_unpack (&motor_abort_homing_response__descriptor, - allocator, len, data); -} -void motor_abort_homing_response__free_unpacked - (MotorAbortHomingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_abort_homing_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define motor_abort_homing_response__field_descriptors NULL -#define motor_abort_homing_response__field_indices_by_name NULL -#define motor_abort_homing_response__number_ranges NULL -const ProtobufCMessageDescriptor motor_abort_homing_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorAbortHomingResponse", - "MotorAbortHomingResponse", - "MotorAbortHomingResponse", - "", - sizeof(MotorAbortHomingResponse), - 0, - motor_abort_homing_response__field_descriptors, - motor_abort_homing_response__field_indices_by_name, - 0, motor_abort_homing_response__number_ranges, - (ProtobufCMessageInit) motor_abort_homing_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h deleted file mode 100644 index fb69cf90f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortHomingResponse.proto */ - -#ifndef PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED -#define PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorAbortHomingResponse MotorAbortHomingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorAbortHomingResponse -{ - ProtobufCMessage base; -}; -#define MOTOR_ABORT_HOMING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_abort_homing_response__descriptor) \ - } - - -/* MotorAbortHomingResponse methods */ -void motor_abort_homing_response__init - (MotorAbortHomingResponse *message); -size_t motor_abort_homing_response__get_packed_size - (const MotorAbortHomingResponse *message); -size_t motor_abort_homing_response__pack - (const MotorAbortHomingResponse *message, - uint8_t *out); -size_t motor_abort_homing_response__pack_to_buffer - (const MotorAbortHomingResponse *message, - ProtobufCBuffer *buffer); -MotorAbortHomingResponse * - motor_abort_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_abort_homing_response__free_unpacked - (MotorAbortHomingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorAbortHomingResponse_Closure) - (const MotorAbortHomingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_abort_homing_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c deleted file mode 100644 index 45c487e65..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorAbortJoggingRequest.pb-c.h" -void motor_abort_jogging_request__init - (MotorAbortJoggingRequest *message) -{ - static const MotorAbortJoggingRequest init_value = MOTOR_ABORT_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t motor_abort_jogging_request__get_packed_size - (const MotorAbortJoggingRequest *message) -{ - assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_abort_jogging_request__pack - (const MotorAbortJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_abort_jogging_request__pack_to_buffer - (const MotorAbortJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorAbortJoggingRequest * - motor_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorAbortJoggingRequest *) - protobuf_c_message_unpack (&motor_abort_jogging_request__descriptor, - allocator, len, data); -} -void motor_abort_jogging_request__free_unpacked - (MotorAbortJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_abort_jogging_request__field_descriptors[1] = -{ - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(MotorAbortJoggingRequest, has_code), - offsetof(MotorAbortJoggingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_abort_jogging_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange motor_abort_jogging_request__number_ranges[1 + 1] = -{ - { 2, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor motor_abort_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorAbortJoggingRequest", - "MotorAbortJoggingRequest", - "MotorAbortJoggingRequest", - "", - sizeof(MotorAbortJoggingRequest), - 1, - motor_abort_jogging_request__field_descriptors, - motor_abort_jogging_request__field_indices_by_name, - 1, motor_abort_jogging_request__number_ranges, - (ProtobufCMessageInit) motor_abort_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h deleted file mode 100644 index 39511ffa9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortJoggingRequest.proto */ - -#ifndef PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorAbortJoggingRequest MotorAbortJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorAbortJoggingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define MOTOR_ABORT_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_abort_jogging_request__descriptor) \ - , 0, 0 } - - -/* MotorAbortJoggingRequest methods */ -void motor_abort_jogging_request__init - (MotorAbortJoggingRequest *message); -size_t motor_abort_jogging_request__get_packed_size - (const MotorAbortJoggingRequest *message); -size_t motor_abort_jogging_request__pack - (const MotorAbortJoggingRequest *message, - uint8_t *out); -size_t motor_abort_jogging_request__pack_to_buffer - (const MotorAbortJoggingRequest *message, - ProtobufCBuffer *buffer); -MotorAbortJoggingRequest * - motor_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_abort_jogging_request__free_unpacked - (MotorAbortJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorAbortJoggingRequest_Closure) - (const MotorAbortJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_abort_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c deleted file mode 100644 index f32b7aad0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorAbortJoggingResponse.pb-c.h" -void motor_abort_jogging_response__init - (MotorAbortJoggingResponse *message) -{ - static const MotorAbortJoggingResponse init_value = MOTOR_ABORT_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t motor_abort_jogging_response__get_packed_size - (const MotorAbortJoggingResponse *message) -{ - assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_abort_jogging_response__pack - (const MotorAbortJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_abort_jogging_response__pack_to_buffer - (const MotorAbortJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorAbortJoggingResponse * - motor_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorAbortJoggingResponse *) - protobuf_c_message_unpack (&motor_abort_jogging_response__descriptor, - allocator, len, data); -} -void motor_abort_jogging_response__free_unpacked - (MotorAbortJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_abort_jogging_response__field_descriptors[1] = -{ - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(MotorAbortJoggingResponse, has_code), - offsetof(MotorAbortJoggingResponse, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_abort_jogging_response__field_indices_by_name[] = { - 0, /* field[0] = Code */ -}; -static const ProtobufCIntRange motor_abort_jogging_response__number_ranges[1 + 1] = -{ - { 2, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor motor_abort_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorAbortJoggingResponse", - "MotorAbortJoggingResponse", - "MotorAbortJoggingResponse", - "", - sizeof(MotorAbortJoggingResponse), - 1, - motor_abort_jogging_response__field_descriptors, - motor_abort_jogging_response__field_indices_by_name, - 1, motor_abort_jogging_response__number_ranges, - (ProtobufCMessageInit) motor_abort_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h deleted file mode 100644 index e78157ab4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorAbortJoggingResponse.proto */ - -#ifndef PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorAbortJoggingResponse MotorAbortJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorAbortJoggingResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; -}; -#define MOTOR_ABORT_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_abort_jogging_response__descriptor) \ - , 0, 0 } - - -/* MotorAbortJoggingResponse methods */ -void motor_abort_jogging_response__init - (MotorAbortJoggingResponse *message); -size_t motor_abort_jogging_response__get_packed_size - (const MotorAbortJoggingResponse *message); -size_t motor_abort_jogging_response__pack - (const MotorAbortJoggingResponse *message, - uint8_t *out); -size_t motor_abort_jogging_response__pack_to_buffer - (const MotorAbortJoggingResponse *message, - ProtobufCBuffer *buffer); -MotorAbortJoggingResponse * - motor_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_abort_jogging_response__free_unpacked - (MotorAbortJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorAbortJoggingResponse_Closure) - (const MotorAbortJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_abort_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c deleted file mode 100644 index 7eaa11ff6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorDirection.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorDirection.pb-c.h" -static const ProtobufCEnumValue motor_direction__enum_values_by_number[2] = -{ - { "Forward", "MOTOR_DIRECTION__Forward", 0 }, - { "Backward", "MOTOR_DIRECTION__Backward", 1 }, -}; -static const ProtobufCIntRange motor_direction__value_ranges[] = { -{0, 0},{0, 2} -}; -static const ProtobufCEnumValueIndex motor_direction__enum_values_by_name[2] = -{ - { "Backward", 1 }, - { "Forward", 0 }, -}; -const ProtobufCEnumDescriptor motor_direction__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "MotorDirection", - "MotorDirection", - "MotorDirection", - "", - 2, - motor_direction__enum_values_by_number, - 2, - motor_direction__enum_values_by_name, - 1, - motor_direction__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h deleted file mode 100644 index e5b190f2b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorDirection.proto */ - -#ifndef PROTOBUF_C_MotorDirection_2eproto__INCLUDED -#define PROTOBUF_C_MotorDirection_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _MotorDirection { - MOTOR_DIRECTION__Forward = 0, - MOTOR_DIRECTION__Backward = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MOTOR_DIRECTION) -} MotorDirection; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor motor_direction__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorDirection_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c deleted file mode 100644 index 39413d2a7..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorHomingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorHomingRequest.pb-c.h" -void motor_homing_request__init - (MotorHomingRequest *message) -{ - static const MotorHomingRequest init_value = MOTOR_HOMING_REQUEST__INIT; - *message = init_value; -} -size_t motor_homing_request__get_packed_size - (const MotorHomingRequest *message) -{ - assert(message->base.descriptor == &motor_homing_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_homing_request__pack - (const MotorHomingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_homing_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_homing_request__pack_to_buffer - (const MotorHomingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_homing_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorHomingRequest * - motor_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorHomingRequest *) - protobuf_c_message_unpack (&motor_homing_request__descriptor, - allocator, len, data); -} -void motor_homing_request__free_unpacked - (MotorHomingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_homing_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_homing_request__field_descriptors[2] = -{ - { - "Code", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(MotorHomingRequest, has_code), - offsetof(MotorHomingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(MotorHomingRequest, has_speed), - offsetof(MotorHomingRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_homing_request__field_indices_by_name[] = { - 0, /* field[0] = Code */ - 1, /* field[1] = Speed */ -}; -static const ProtobufCIntRange motor_homing_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor motor_homing_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorHomingRequest", - "MotorHomingRequest", - "MotorHomingRequest", - "", - sizeof(MotorHomingRequest), - 2, - motor_homing_request__field_descriptors, - motor_homing_request__field_indices_by_name, - 1, motor_homing_request__number_ranges, - (ProtobufCMessageInit) motor_homing_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h deleted file mode 100644 index e2c9f3c91..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorHomingRequest.proto */ - -#ifndef PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED -#define PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorHomingRequest MotorHomingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorHomingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_code; - int32_t code; - protobuf_c_boolean has_speed; - double speed; -}; -#define MOTOR_HOMING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_homing_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* MotorHomingRequest methods */ -void motor_homing_request__init - (MotorHomingRequest *message); -size_t motor_homing_request__get_packed_size - (const MotorHomingRequest *message); -size_t motor_homing_request__pack - (const MotorHomingRequest *message, - uint8_t *out); -size_t motor_homing_request__pack_to_buffer - (const MotorHomingRequest *message, - ProtobufCBuffer *buffer); -MotorHomingRequest * - motor_homing_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_homing_request__free_unpacked - (MotorHomingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorHomingRequest_Closure) - (const MotorHomingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_homing_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c deleted file mode 100644 index 76d79e96b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorHomingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorHomingResponse.pb-c.h" -void motor_homing_response__init - (MotorHomingResponse *message) -{ - static const MotorHomingResponse init_value = MOTOR_HOMING_RESPONSE__INIT; - *message = init_value; -} -size_t motor_homing_response__get_packed_size - (const MotorHomingResponse *message) -{ - assert(message->base.descriptor == &motor_homing_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_homing_response__pack - (const MotorHomingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_homing_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_homing_response__pack_to_buffer - (const MotorHomingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_homing_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorHomingResponse * - motor_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorHomingResponse *) - protobuf_c_message_unpack (&motor_homing_response__descriptor, - allocator, len, data); -} -void motor_homing_response__free_unpacked - (MotorHomingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_homing_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_homing_response__field_descriptors[2] = -{ - { - "Progress", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(MotorHomingResponse, has_progress), - offsetof(MotorHomingResponse, progress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxProgress", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(MotorHomingResponse, has_maxprogress), - offsetof(MotorHomingResponse, maxprogress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_homing_response__field_indices_by_name[] = { - 1, /* field[1] = MaxProgress */ - 0, /* field[0] = Progress */ -}; -static const ProtobufCIntRange motor_homing_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor motor_homing_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorHomingResponse", - "MotorHomingResponse", - "MotorHomingResponse", - "", - sizeof(MotorHomingResponse), - 2, - motor_homing_response__field_descriptors, - motor_homing_response__field_indices_by_name, - 1, motor_homing_response__number_ranges, - (ProtobufCMessageInit) motor_homing_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h deleted file mode 100644 index df0452482..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorHomingResponse.proto */ - -#ifndef PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED -#define PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorHomingResponse MotorHomingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorHomingResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_progress; - double progress; - protobuf_c_boolean has_maxprogress; - double maxprogress; -}; -#define MOTOR_HOMING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_homing_response__descriptor) \ - , 0, 0, 0, 0 } - - -/* MotorHomingResponse methods */ -void motor_homing_response__init - (MotorHomingResponse *message); -size_t motor_homing_response__get_packed_size - (const MotorHomingResponse *message); -size_t motor_homing_response__pack - (const MotorHomingResponse *message, - uint8_t *out); -size_t motor_homing_response__pack_to_buffer - (const MotorHomingResponse *message, - ProtobufCBuffer *buffer); -MotorHomingResponse * - motor_homing_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_homing_response__free_unpacked - (MotorHomingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorHomingResponse_Closure) - (const MotorHomingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_homing_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c deleted file mode 100644 index 9beca81cc..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorJoggingRequest.pb-c.h" -void motor_jogging_request__init - (MotorJoggingRequest *message) -{ - static const MotorJoggingRequest init_value = MOTOR_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t motor_jogging_request__get_packed_size - (const MotorJoggingRequest *message) -{ - assert(message->base.descriptor == &motor_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_jogging_request__pack - (const MotorJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_jogging_request__pack_to_buffer - (const MotorJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorJoggingRequest * - motor_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorJoggingRequest *) - protobuf_c_message_unpack (&motor_jogging_request__descriptor, - allocator, len, data); -} -void motor_jogging_request__free_unpacked - (MotorJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor motor_jogging_request__field_descriptors[3] = -{ - { - "Direction", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(MotorJoggingRequest, has_direction), - offsetof(MotorJoggingRequest, direction), - &motor_direction__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Code", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(MotorJoggingRequest, has_code), - offsetof(MotorJoggingRequest, code), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(MotorJoggingRequest, has_speed), - offsetof(MotorJoggingRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned motor_jogging_request__field_indices_by_name[] = { - 1, /* field[1] = Code */ - 0, /* field[0] = Direction */ - 2, /* field[2] = Speed */ -}; -static const ProtobufCIntRange motor_jogging_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor motor_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorJoggingRequest", - "MotorJoggingRequest", - "MotorJoggingRequest", - "", - sizeof(MotorJoggingRequest), - 3, - motor_jogging_request__field_descriptors, - motor_jogging_request__field_indices_by_name, - 1, motor_jogging_request__number_ranges, - (ProtobufCMessageInit) motor_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h deleted file mode 100644 index 9832fdcdf..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorJoggingRequest.proto */ - -#ifndef PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "MotorDirection.pb-c.h" - -typedef struct _MotorJoggingRequest MotorJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorJoggingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_direction; - MotorDirection direction; - protobuf_c_boolean has_code; - int32_t code; - protobuf_c_boolean has_speed; - double speed; -}; -#define MOTOR_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_jogging_request__descriptor) \ - , 0, MOTOR_DIRECTION__Forward, 0, 0, 0, 0 } - - -/* MotorJoggingRequest methods */ -void motor_jogging_request__init - (MotorJoggingRequest *message); -size_t motor_jogging_request__get_packed_size - (const MotorJoggingRequest *message); -size_t motor_jogging_request__pack - (const MotorJoggingRequest *message, - uint8_t *out); -size_t motor_jogging_request__pack_to_buffer - (const MotorJoggingRequest *message, - ProtobufCBuffer *buffer); -MotorJoggingRequest * - motor_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_jogging_request__free_unpacked - (MotorJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorJoggingRequest_Closure) - (const MotorJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c deleted file mode 100644 index e5af97d42..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "MotorJoggingResponse.pb-c.h" -void motor_jogging_response__init - (MotorJoggingResponse *message) -{ - static const MotorJoggingResponse init_value = MOTOR_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t motor_jogging_response__get_packed_size - (const MotorJoggingResponse *message) -{ - assert(message->base.descriptor == &motor_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t motor_jogging_response__pack - (const MotorJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &motor_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t motor_jogging_response__pack_to_buffer - (const MotorJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &motor_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -MotorJoggingResponse * - motor_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (MotorJoggingResponse *) - protobuf_c_message_unpack (&motor_jogging_response__descriptor, - allocator, len, data); -} -void motor_jogging_response__free_unpacked - (MotorJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &motor_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define motor_jogging_response__field_descriptors NULL -#define motor_jogging_response__field_indices_by_name NULL -#define motor_jogging_response__number_ranges NULL -const ProtobufCMessageDescriptor motor_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "MotorJoggingResponse", - "MotorJoggingResponse", - "MotorJoggingResponse", - "", - sizeof(MotorJoggingResponse), - 0, - motor_jogging_response__field_descriptors, - motor_jogging_response__field_indices_by_name, - 0, motor_jogging_response__number_ranges, - (ProtobufCMessageInit) motor_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h deleted file mode 100644 index 53d11d3fc..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: MotorJoggingResponse.proto */ - -#ifndef PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _MotorJoggingResponse MotorJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _MotorJoggingResponse -{ - ProtobufCMessage base; -}; -#define MOTOR_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&motor_jogging_response__descriptor) \ - } - - -/* MotorJoggingResponse methods */ -void motor_jogging_response__init - (MotorJoggingResponse *message); -size_t motor_jogging_response__get_packed_size - (const MotorJoggingResponse *message); -size_t motor_jogging_response__pack - (const MotorJoggingResponse *message, - uint8_t *out); -size_t motor_jogging_response__pack_to_buffer - (const MotorJoggingResponse *message, - ProtobufCBuffer *buffer); -MotorJoggingResponse * - motor_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void motor_jogging_response__free_unpacked - (MotorJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*MotorJoggingResponse_Closure) - (const MotorJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor motor_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c deleted file mode 100644 index 1c7790f41..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: PushDiagnosticsRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "PushDiagnosticsRequest.pb-c.h" -void push_diagnostics_request__init - (PushDiagnosticsRequest *message) -{ - static const PushDiagnosticsRequest init_value = PUSH_DIAGNOSTICS_REQUEST__INIT; - *message = init_value; -} -size_t push_diagnostics_request__get_packed_size - (const PushDiagnosticsRequest *message) -{ - assert(message->base.descriptor == &push_diagnostics_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t push_diagnostics_request__pack - (const PushDiagnosticsRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &push_diagnostics_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t push_diagnostics_request__pack_to_buffer - (const PushDiagnosticsRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &push_diagnostics_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PushDiagnosticsRequest * - push_diagnostics_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PushDiagnosticsRequest *) - protobuf_c_message_unpack (&push_diagnostics_request__descriptor, - allocator, len, data); -} -void push_diagnostics_request__free_unpacked - (PushDiagnosticsRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &push_diagnostics_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor push_diagnostics_request__field_descriptors[3] = -{ - { - "PushSensors", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(PushDiagnosticsRequest, has_pushsensors), - offsetof(PushDiagnosticsRequest, pushsensors), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PushMotors", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(PushDiagnosticsRequest, has_pushmotors), - offsetof(PushDiagnosticsRequest, pushmotors), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PushLogs", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(PushDiagnosticsRequest, has_pushlogs), - offsetof(PushDiagnosticsRequest, pushlogs), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned push_diagnostics_request__field_indices_by_name[] = { - 2, /* field[2] = PushLogs */ - 1, /* field[1] = PushMotors */ - 0, /* field[0] = PushSensors */ -}; -static const ProtobufCIntRange push_diagnostics_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor push_diagnostics_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "PushDiagnosticsRequest", - "PushDiagnosticsRequest", - "PushDiagnosticsRequest", - "", - sizeof(PushDiagnosticsRequest), - 3, - push_diagnostics_request__field_descriptors, - push_diagnostics_request__field_indices_by_name, - 1, push_diagnostics_request__number_ranges, - (ProtobufCMessageInit) push_diagnostics_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h deleted file mode 100644 index b4e3053f0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: PushDiagnosticsRequest.proto */ - -#ifndef PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED -#define PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _PushDiagnosticsRequest PushDiagnosticsRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _PushDiagnosticsRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_pushsensors; - protobuf_c_boolean pushsensors; - protobuf_c_boolean has_pushmotors; - protobuf_c_boolean pushmotors; - protobuf_c_boolean has_pushlogs; - protobuf_c_boolean pushlogs; -}; -#define PUSH_DIAGNOSTICS_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&push_diagnostics_request__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* PushDiagnosticsRequest methods */ -void push_diagnostics_request__init - (PushDiagnosticsRequest *message); -size_t push_diagnostics_request__get_packed_size - (const PushDiagnosticsRequest *message); -size_t push_diagnostics_request__pack - (const PushDiagnosticsRequest *message, - uint8_t *out); -size_t push_diagnostics_request__pack_to_buffer - (const PushDiagnosticsRequest *message, - ProtobufCBuffer *buffer); -PushDiagnosticsRequest * - push_diagnostics_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void push_diagnostics_request__free_unpacked - (PushDiagnosticsRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*PushDiagnosticsRequest_Closure) - (const PushDiagnosticsRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor push_diagnostics_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c deleted file mode 100644 index c34913fae..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c +++ /dev/null @@ -1,287 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: PushDiagnosticsResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "PushDiagnosticsResponse.pb-c.h" -void push_diagnostics_response__init - (PushDiagnosticsResponse *message) -{ - static const PushDiagnosticsResponse init_value = PUSH_DIAGNOSTICS_RESPONSE__INIT; - *message = init_value; -} -size_t push_diagnostics_response__get_packed_size - (const PushDiagnosticsResponse *message) -{ - assert(message->base.descriptor == &push_diagnostics_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t push_diagnostics_response__pack - (const PushDiagnosticsResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &push_diagnostics_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t push_diagnostics_response__pack_to_buffer - (const PushDiagnosticsResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &push_diagnostics_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PushDiagnosticsResponse * - push_diagnostics_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PushDiagnosticsResponse *) - protobuf_c_message_unpack (&push_diagnostics_response__descriptor, - allocator, len, data); -} -void push_diagnostics_response__free_unpacked - (PushDiagnosticsResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &push_diagnostics_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor push_diagnostics_response__field_descriptors[16] = -{ - { - "Dancer1Angle", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dancer1angle), - offsetof(PushDiagnosticsResponse, dancer1angle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dancer2Angle", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dancer2angle), - offsetof(PushDiagnosticsResponse, dancer2angle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dancer3Angle", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dancer3angle), - offsetof(PushDiagnosticsResponse, dancer3angle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DispensersMotorsFrequency", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PushDiagnosticsResponse, n_dispensersmotorsfrequency), - offsetof(PushDiagnosticsResponse, dispensersmotorsfrequency), - &double_array__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser1MotorFrequency", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser1motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser1motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser2MotorFrequency", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser2motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser2motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser3MotorFrequency", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser3motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser3motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser4MotorFrequency", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser4motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser4motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser5MotorFrequency", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser5motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser5motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser6MotorFrequency", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser6motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser6motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser7MotorFrequency", - 11, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser7motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser7motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispenser8MotorFrequency", - 12, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(PushDiagnosticsResponse, n_dispenser8motorfrequency), - offsetof(PushDiagnosticsResponse, dispenser8motorfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DigitalPins", - 13, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PushDiagnosticsResponse, n_digitalpins), - offsetof(PushDiagnosticsResponse, digitalpins), - &digital_pin__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Version", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PushDiagnosticsResponse, version), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "VersionName", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PushDiagnosticsResponse, versionname), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "VersionBuildDate", - 16, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PushDiagnosticsResponse, versionbuilddate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned push_diagnostics_response__field_indices_by_name[] = { - 0, /* field[0] = Dancer1Angle */ - 1, /* field[1] = Dancer2Angle */ - 2, /* field[2] = Dancer3Angle */ - 12, /* field[12] = DigitalPins */ - 4, /* field[4] = Dispenser1MotorFrequency */ - 5, /* field[5] = Dispenser2MotorFrequency */ - 6, /* field[6] = Dispenser3MotorFrequency */ - 7, /* field[7] = Dispenser4MotorFrequency */ - 8, /* field[8] = Dispenser5MotorFrequency */ - 9, /* field[9] = Dispenser6MotorFrequency */ - 10, /* field[10] = Dispenser7MotorFrequency */ - 11, /* field[11] = Dispenser8MotorFrequency */ - 3, /* field[3] = DispensersMotorsFrequency */ - 13, /* field[13] = Version */ - 15, /* field[15] = VersionBuildDate */ - 14, /* field[14] = VersionName */ -}; -static const ProtobufCIntRange push_diagnostics_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 16 } -}; -const ProtobufCMessageDescriptor push_diagnostics_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "PushDiagnosticsResponse", - "PushDiagnosticsResponse", - "PushDiagnosticsResponse", - "", - sizeof(PushDiagnosticsResponse), - 16, - push_diagnostics_response__field_descriptors, - push_diagnostics_response__field_indices_by_name, - 1, push_diagnostics_response__number_ranges, - (ProtobufCMessageInit) push_diagnostics_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h deleted file mode 100644 index 40f7d616b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h +++ /dev/null @@ -1,101 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: PushDiagnosticsResponse.proto */ - -#ifndef PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED -#define PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "DoubleArray.pb-c.h" -#include "DigitalPin.pb-c.h" - -typedef struct _PushDiagnosticsResponse PushDiagnosticsResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _PushDiagnosticsResponse -{ - ProtobufCMessage base; - size_t n_dancer1angle; - double *dancer1angle; - size_t n_dancer2angle; - double *dancer2angle; - size_t n_dancer3angle; - double *dancer3angle; - size_t n_dispensersmotorsfrequency; - DoubleArray **dispensersmotorsfrequency; - size_t n_dispenser1motorfrequency; - double *dispenser1motorfrequency; - size_t n_dispenser2motorfrequency; - double *dispenser2motorfrequency; - size_t n_dispenser3motorfrequency; - double *dispenser3motorfrequency; - size_t n_dispenser4motorfrequency; - double *dispenser4motorfrequency; - size_t n_dispenser5motorfrequency; - double *dispenser5motorfrequency; - size_t n_dispenser6motorfrequency; - double *dispenser6motorfrequency; - size_t n_dispenser7motorfrequency; - double *dispenser7motorfrequency; - size_t n_dispenser8motorfrequency; - double *dispenser8motorfrequency; - size_t n_digitalpins; - DigitalPin **digitalpins; - char *version; - char *versionname; - char *versionbuilddate; -}; -#define PUSH_DIAGNOSTICS_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&push_diagnostics_response__descriptor) \ - , 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, NULL } - - -/* PushDiagnosticsResponse methods */ -void push_diagnostics_response__init - (PushDiagnosticsResponse *message); -size_t push_diagnostics_response__get_packed_size - (const PushDiagnosticsResponse *message); -size_t push_diagnostics_response__pack - (const PushDiagnosticsResponse *message, - uint8_t *out); -size_t push_diagnostics_response__pack_to_buffer - (const PushDiagnosticsResponse *message, - ProtobufCBuffer *buffer); -PushDiagnosticsResponse * - push_diagnostics_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void push_diagnostics_response__free_unpacked - (PushDiagnosticsResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*PushDiagnosticsResponse_Closure) - (const PushDiagnosticsResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor push_diagnostics_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c deleted file mode 100644 index 060449149..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SetDigitalOutRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "SetDigitalOutRequest.pb-c.h" -void set_digital_out_request__init - (SetDigitalOutRequest *message) -{ - static const SetDigitalOutRequest init_value = SET_DIGITAL_OUT_REQUEST__INIT; - *message = init_value; -} -size_t set_digital_out_request__get_packed_size - (const SetDigitalOutRequest *message) -{ - assert(message->base.descriptor == &set_digital_out_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t set_digital_out_request__pack - (const SetDigitalOutRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &set_digital_out_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t set_digital_out_request__pack_to_buffer - (const SetDigitalOutRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &set_digital_out_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -SetDigitalOutRequest * - set_digital_out_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (SetDigitalOutRequest *) - protobuf_c_message_unpack (&set_digital_out_request__descriptor, - allocator, len, data); -} -void set_digital_out_request__free_unpacked - (SetDigitalOutRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &set_digital_out_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor set_digital_out_request__field_descriptors[2] = -{ - { - "Port", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(SetDigitalOutRequest, has_port), - offsetof(SetDigitalOutRequest, port), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Value", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(SetDigitalOutRequest, has_value), - offsetof(SetDigitalOutRequest, value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned set_digital_out_request__field_indices_by_name[] = { - 0, /* field[0] = Port */ - 1, /* field[1] = Value */ -}; -static const ProtobufCIntRange set_digital_out_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor set_digital_out_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "SetDigitalOutRequest", - "SetDigitalOutRequest", - "SetDigitalOutRequest", - "", - sizeof(SetDigitalOutRequest), - 2, - set_digital_out_request__field_descriptors, - set_digital_out_request__field_indices_by_name, - 1, set_digital_out_request__number_ranges, - (ProtobufCMessageInit) set_digital_out_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h deleted file mode 100644 index 302b41749..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SetDigitalOutRequest.proto */ - -#ifndef PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED -#define PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _SetDigitalOutRequest SetDigitalOutRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _SetDigitalOutRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_port; - int32_t port; - protobuf_c_boolean has_value; - protobuf_c_boolean value; -}; -#define SET_DIGITAL_OUT_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&set_digital_out_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* SetDigitalOutRequest methods */ -void set_digital_out_request__init - (SetDigitalOutRequest *message); -size_t set_digital_out_request__get_packed_size - (const SetDigitalOutRequest *message); -size_t set_digital_out_request__pack - (const SetDigitalOutRequest *message, - uint8_t *out); -size_t set_digital_out_request__pack_to_buffer - (const SetDigitalOutRequest *message, - ProtobufCBuffer *buffer); -SetDigitalOutRequest * - set_digital_out_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void set_digital_out_request__free_unpacked - (SetDigitalOutRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*SetDigitalOutRequest_Closure) - (const SetDigitalOutRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor set_digital_out_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c deleted file mode 100644 index eff7f8973..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SetDigitalOutResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "SetDigitalOutResponse.pb-c.h" -void set_digital_out_response__init - (SetDigitalOutResponse *message) -{ - static const SetDigitalOutResponse init_value = SET_DIGITAL_OUT_RESPONSE__INIT; - *message = init_value; -} -size_t set_digital_out_response__get_packed_size - (const SetDigitalOutResponse *message) -{ - assert(message->base.descriptor == &set_digital_out_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t set_digital_out_response__pack - (const SetDigitalOutResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &set_digital_out_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t set_digital_out_response__pack_to_buffer - (const SetDigitalOutResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &set_digital_out_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -SetDigitalOutResponse * - set_digital_out_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (SetDigitalOutResponse *) - protobuf_c_message_unpack (&set_digital_out_response__descriptor, - allocator, len, data); -} -void set_digital_out_response__free_unpacked - (SetDigitalOutResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &set_digital_out_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define set_digital_out_response__field_descriptors NULL -#define set_digital_out_response__field_indices_by_name NULL -#define set_digital_out_response__number_ranges NULL -const ProtobufCMessageDescriptor set_digital_out_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "SetDigitalOutResponse", - "SetDigitalOutResponse", - "SetDigitalOutResponse", - "", - sizeof(SetDigitalOutResponse), - 0, - set_digital_out_response__field_descriptors, - set_digital_out_response__field_indices_by_name, - 0, set_digital_out_response__number_ranges, - (ProtobufCMessageInit) set_digital_out_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h deleted file mode 100644 index 00696e359..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SetDigitalOutResponse.proto */ - -#ifndef PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED -#define PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _SetDigitalOutResponse SetDigitalOutResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _SetDigitalOutResponse -{ - ProtobufCMessage base; -}; -#define SET_DIGITAL_OUT_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&set_digital_out_response__descriptor) \ - } - - -/* SetDigitalOutResponse methods */ -void set_digital_out_response__init - (SetDigitalOutResponse *message); -size_t set_digital_out_response__get_packed_size - (const SetDigitalOutResponse *message); -size_t set_digital_out_response__pack - (const SetDigitalOutResponse *message, - uint8_t *out); -size_t set_digital_out_response__pack_to_buffer - (const SetDigitalOutResponse *message, - ProtobufCBuffer *buffer); -SetDigitalOutResponse * - set_digital_out_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void set_digital_out_response__free_unpacked - (SetDigitalOutResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*SetDigitalOutResponse_Closure) - (const SetDigitalOutResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor set_digital_out_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c deleted file mode 100644 index 1e1f22bcc..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadAbortJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ThreadAbortJoggingRequest.pb-c.h" -void thread_abort_jogging_request__init - (ThreadAbortJoggingRequest *message) -{ - static const ThreadAbortJoggingRequest init_value = THREAD_ABORT_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t thread_abort_jogging_request__get_packed_size - (const ThreadAbortJoggingRequest *message) -{ - assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t thread_abort_jogging_request__pack - (const ThreadAbortJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t thread_abort_jogging_request__pack_to_buffer - (const ThreadAbortJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ThreadAbortJoggingRequest * - thread_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ThreadAbortJoggingRequest *) - protobuf_c_message_unpack (&thread_abort_jogging_request__descriptor, - allocator, len, data); -} -void thread_abort_jogging_request__free_unpacked - (ThreadAbortJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define thread_abort_jogging_request__field_descriptors NULL -#define thread_abort_jogging_request__field_indices_by_name NULL -#define thread_abort_jogging_request__number_ranges NULL -const ProtobufCMessageDescriptor thread_abort_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ThreadAbortJoggingRequest", - "ThreadAbortJoggingRequest", - "ThreadAbortJoggingRequest", - "", - sizeof(ThreadAbortJoggingRequest), - 0, - thread_abort_jogging_request__field_descriptors, - thread_abort_jogging_request__field_indices_by_name, - 0, thread_abort_jogging_request__number_ranges, - (ProtobufCMessageInit) thread_abort_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h deleted file mode 100644 index 4bc112122..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadAbortJoggingRequest.proto */ - -#ifndef PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ThreadAbortJoggingRequest ThreadAbortJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ThreadAbortJoggingRequest -{ - ProtobufCMessage base; -}; -#define THREAD_ABORT_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&thread_abort_jogging_request__descriptor) \ - } - - -/* ThreadAbortJoggingRequest methods */ -void thread_abort_jogging_request__init - (ThreadAbortJoggingRequest *message); -size_t thread_abort_jogging_request__get_packed_size - (const ThreadAbortJoggingRequest *message); -size_t thread_abort_jogging_request__pack - (const ThreadAbortJoggingRequest *message, - uint8_t *out); -size_t thread_abort_jogging_request__pack_to_buffer - (const ThreadAbortJoggingRequest *message, - ProtobufCBuffer *buffer); -ThreadAbortJoggingRequest * - thread_abort_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void thread_abort_jogging_request__free_unpacked - (ThreadAbortJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ThreadAbortJoggingRequest_Closure) - (const ThreadAbortJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor thread_abort_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c deleted file mode 100644 index 4142dfc18..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadAbortJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ThreadAbortJoggingResponse.pb-c.h" -void thread_abort_jogging_response__init - (ThreadAbortJoggingResponse *message) -{ - static const ThreadAbortJoggingResponse init_value = THREAD_ABORT_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t thread_abort_jogging_response__get_packed_size - (const ThreadAbortJoggingResponse *message) -{ - assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t thread_abort_jogging_response__pack - (const ThreadAbortJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t thread_abort_jogging_response__pack_to_buffer - (const ThreadAbortJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ThreadAbortJoggingResponse * - thread_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ThreadAbortJoggingResponse *) - protobuf_c_message_unpack (&thread_abort_jogging_response__descriptor, - allocator, len, data); -} -void thread_abort_jogging_response__free_unpacked - (ThreadAbortJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define thread_abort_jogging_response__field_descriptors NULL -#define thread_abort_jogging_response__field_indices_by_name NULL -#define thread_abort_jogging_response__number_ranges NULL -const ProtobufCMessageDescriptor thread_abort_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ThreadAbortJoggingResponse", - "ThreadAbortJoggingResponse", - "ThreadAbortJoggingResponse", - "", - sizeof(ThreadAbortJoggingResponse), - 0, - thread_abort_jogging_response__field_descriptors, - thread_abort_jogging_response__field_indices_by_name, - 0, thread_abort_jogging_response__number_ranges, - (ProtobufCMessageInit) thread_abort_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h deleted file mode 100644 index 7d3d7e82a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadAbortJoggingResponse.proto */ - -#ifndef PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ThreadAbortJoggingResponse ThreadAbortJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ThreadAbortJoggingResponse -{ - ProtobufCMessage base; -}; -#define THREAD_ABORT_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&thread_abort_jogging_response__descriptor) \ - } - - -/* ThreadAbortJoggingResponse methods */ -void thread_abort_jogging_response__init - (ThreadAbortJoggingResponse *message); -size_t thread_abort_jogging_response__get_packed_size - (const ThreadAbortJoggingResponse *message); -size_t thread_abort_jogging_response__pack - (const ThreadAbortJoggingResponse *message, - uint8_t *out); -size_t thread_abort_jogging_response__pack_to_buffer - (const ThreadAbortJoggingResponse *message, - ProtobufCBuffer *buffer); -ThreadAbortJoggingResponse * - thread_abort_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void thread_abort_jogging_response__free_unpacked - (ThreadAbortJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ThreadAbortJoggingResponse_Closure) - (const ThreadAbortJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor thread_abort_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c deleted file mode 100644 index f0b387414..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c +++ /dev/null @@ -1,106 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadJoggingRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ThreadJoggingRequest.pb-c.h" -void thread_jogging_request__init - (ThreadJoggingRequest *message) -{ - static const ThreadJoggingRequest init_value = THREAD_JOGGING_REQUEST__INIT; - *message = init_value; -} -size_t thread_jogging_request__get_packed_size - (const ThreadJoggingRequest *message) -{ - assert(message->base.descriptor == &thread_jogging_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t thread_jogging_request__pack - (const ThreadJoggingRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &thread_jogging_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t thread_jogging_request__pack_to_buffer - (const ThreadJoggingRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &thread_jogging_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ThreadJoggingRequest * - thread_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ThreadJoggingRequest *) - protobuf_c_message_unpack (&thread_jogging_request__descriptor, - allocator, len, data); -} -void thread_jogging_request__free_unpacked - (ThreadJoggingRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &thread_jogging_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor thread_jogging_request__field_descriptors[2] = -{ - { - "Direction", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(ThreadJoggingRequest, has_direction), - offsetof(ThreadJoggingRequest, direction), - &motor_direction__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ThreadJoggingRequest, has_speed), - offsetof(ThreadJoggingRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned thread_jogging_request__field_indices_by_name[] = { - 0, /* field[0] = Direction */ - 1, /* field[1] = Speed */ -}; -static const ProtobufCIntRange thread_jogging_request__number_ranges[2 + 1] = -{ - { 1, 0 }, - { 3, 1 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor thread_jogging_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ThreadJoggingRequest", - "ThreadJoggingRequest", - "ThreadJoggingRequest", - "", - sizeof(ThreadJoggingRequest), - 2, - thread_jogging_request__field_descriptors, - thread_jogging_request__field_indices_by_name, - 2, thread_jogging_request__number_ranges, - (ProtobufCMessageInit) thread_jogging_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h deleted file mode 100644 index 7669215aa..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadJoggingRequest.proto */ - -#ifndef PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED -#define PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "MotorDirection.pb-c.h" - -typedef struct _ThreadJoggingRequest ThreadJoggingRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ThreadJoggingRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_direction; - MotorDirection direction; - protobuf_c_boolean has_speed; - double speed; -}; -#define THREAD_JOGGING_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&thread_jogging_request__descriptor) \ - , 0, MOTOR_DIRECTION__Forward, 0, 0 } - - -/* ThreadJoggingRequest methods */ -void thread_jogging_request__init - (ThreadJoggingRequest *message); -size_t thread_jogging_request__get_packed_size - (const ThreadJoggingRequest *message); -size_t thread_jogging_request__pack - (const ThreadJoggingRequest *message, - uint8_t *out); -size_t thread_jogging_request__pack_to_buffer - (const ThreadJoggingRequest *message, - ProtobufCBuffer *buffer); -ThreadJoggingRequest * - thread_jogging_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void thread_jogging_request__free_unpacked - (ThreadJoggingRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ThreadJoggingRequest_Closure) - (const ThreadJoggingRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor thread_jogging_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c deleted file mode 100644 index c54896825..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadJoggingResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ThreadJoggingResponse.pb-c.h" -void thread_jogging_response__init - (ThreadJoggingResponse *message) -{ - static const ThreadJoggingResponse init_value = THREAD_JOGGING_RESPONSE__INIT; - *message = init_value; -} -size_t thread_jogging_response__get_packed_size - (const ThreadJoggingResponse *message) -{ - assert(message->base.descriptor == &thread_jogging_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t thread_jogging_response__pack - (const ThreadJoggingResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &thread_jogging_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t thread_jogging_response__pack_to_buffer - (const ThreadJoggingResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &thread_jogging_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ThreadJoggingResponse * - thread_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ThreadJoggingResponse *) - protobuf_c_message_unpack (&thread_jogging_response__descriptor, - allocator, len, data); -} -void thread_jogging_response__free_unpacked - (ThreadJoggingResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &thread_jogging_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define thread_jogging_response__field_descriptors NULL -#define thread_jogging_response__field_indices_by_name NULL -#define thread_jogging_response__number_ranges NULL -const ProtobufCMessageDescriptor thread_jogging_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ThreadJoggingResponse", - "ThreadJoggingResponse", - "ThreadJoggingResponse", - "", - sizeof(ThreadJoggingResponse), - 0, - thread_jogging_response__field_descriptors, - thread_jogging_response__field_indices_by_name, - 0, thread_jogging_response__number_ranges, - (ProtobufCMessageInit) thread_jogging_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h deleted file mode 100644 index 669b0a7b4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ThreadJoggingResponse.proto */ - -#ifndef PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED -#define PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ThreadJoggingResponse ThreadJoggingResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ThreadJoggingResponse -{ - ProtobufCMessage base; -}; -#define THREAD_JOGGING_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&thread_jogging_response__descriptor) \ - } - - -/* ThreadJoggingResponse methods */ -void thread_jogging_response__init - (ThreadJoggingResponse *message); -size_t thread_jogging_response__get_packed_size - (const ThreadJoggingResponse *message); -size_t thread_jogging_response__pack - (const ThreadJoggingResponse *message, - uint8_t *out); -size_t thread_jogging_response__pack_to_buffer - (const ThreadJoggingResponse *message, - ProtobufCBuffer *buffer); -ThreadJoggingResponse * - thread_jogging_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void thread_jogging_response__free_unpacked - (ThreadJoggingResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ThreadJoggingResponse_Closure) - (const ThreadJoggingResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor thread_jogging_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.c deleted file mode 100644 index 8cab316aa..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AnalyzeInput.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "AnalyzeInput.pb-c.h" -void analyze_input__init - (AnalyzeInput *message) -{ - static const AnalyzeInput init_value = ANALYZE_INPUT__INIT; - *message = init_value; -} -size_t analyze_input__get_packed_size - (const AnalyzeInput *message) -{ - assert(message->base.descriptor == &analyze_input__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t analyze_input__pack - (const AnalyzeInput *message, - uint8_t *out) -{ - assert(message->base.descriptor == &analyze_input__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t analyze_input__pack_to_buffer - (const AnalyzeInput *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &analyze_input__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -AnalyzeInput * - analyze_input__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (AnalyzeInput *) - protobuf_c_message_unpack (&analyze_input__descriptor, - allocator, len, data); -} -void analyze_input__free_unpacked - (AnalyzeInput *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &analyze_input__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor analyze_input__field_descriptors[1] = -{ - { - "FilePath", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(AnalyzeInput, filepath), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned analyze_input__field_indices_by_name[] = { - 0, /* field[0] = FilePath */ -}; -static const ProtobufCIntRange analyze_input__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor analyze_input__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "AnalyzeInput", - "AnalyzeInput", - "AnalyzeInput", - "", - sizeof(AnalyzeInput), - 1, - analyze_input__field_descriptors, - analyze_input__field_indices_by_name, - 1, analyze_input__number_ranges, - (ProtobufCMessageInit) analyze_input__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.h deleted file mode 100644 index 15d124132..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeInput.pb-c.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AnalyzeInput.proto */ - -#ifndef PROTOBUF_C_AnalyzeInput_2eproto__INCLUDED -#define PROTOBUF_C_AnalyzeInput_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _AnalyzeInput AnalyzeInput; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _AnalyzeInput -{ - ProtobufCMessage base; - char *filepath; -}; -#define ANALYZE_INPUT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&analyze_input__descriptor) \ - , NULL } - - -/* AnalyzeInput methods */ -void analyze_input__init - (AnalyzeInput *message); -size_t analyze_input__get_packed_size - (const AnalyzeInput *message); -size_t analyze_input__pack - (const AnalyzeInput *message, - uint8_t *out); -size_t analyze_input__pack_to_buffer - (const AnalyzeInput *message, - ProtobufCBuffer *buffer); -AnalyzeInput * - analyze_input__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void analyze_input__free_unpacked - (AnalyzeInput *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*AnalyzeInput_Closure) - (const AnalyzeInput *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor analyze_input__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_AnalyzeInput_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.c deleted file mode 100644 index 9739abc10..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AnalyzeOutput.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "AnalyzeOutput.pb-c.h" -void analyze_output__init - (AnalyzeOutput *message) -{ - static const AnalyzeOutput init_value = ANALYZE_OUTPUT__INIT; - *message = init_value; -} -size_t analyze_output__get_packed_size - (const AnalyzeOutput *message) -{ - assert(message->base.descriptor == &analyze_output__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t analyze_output__pack - (const AnalyzeOutput *message, - uint8_t *out) -{ - assert(message->base.descriptor == &analyze_output__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t analyze_output__pack_to_buffer - (const AnalyzeOutput *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &analyze_output__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -AnalyzeOutput * - analyze_output__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (AnalyzeOutput *) - protobuf_c_message_unpack (&analyze_output__descriptor, - allocator, len, data); -} -void analyze_output__free_unpacked - (AnalyzeOutput *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &analyze_output__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor analyze_output__field_descriptors[1] = -{ - { - "EmbroideryFile", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(AnalyzeOutput, embroideryfile), - &embroidery_file__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned analyze_output__field_indices_by_name[] = { - 0, /* field[0] = EmbroideryFile */ -}; -static const ProtobufCIntRange analyze_output__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor analyze_output__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "AnalyzeOutput", - "AnalyzeOutput", - "AnalyzeOutput", - "", - sizeof(AnalyzeOutput), - 1, - analyze_output__field_descriptors, - analyze_output__field_indices_by_name, - 1, analyze_output__number_ranges, - (ProtobufCMessageInit) analyze_output__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.h deleted file mode 100644 index 6e0812aa2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/AnalyzeOutput.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AnalyzeOutput.proto */ - -#ifndef PROTOBUF_C_AnalyzeOutput_2eproto__INCLUDED -#define PROTOBUF_C_AnalyzeOutput_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "EmbroideryFile.pb-c.h" - -typedef struct _AnalyzeOutput AnalyzeOutput; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _AnalyzeOutput -{ - ProtobufCMessage base; - EmbroideryFile *embroideryfile; -}; -#define ANALYZE_OUTPUT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&analyze_output__descriptor) \ - , NULL } - - -/* AnalyzeOutput methods */ -void analyze_output__init - (AnalyzeOutput *message); -size_t analyze_output__get_packed_size - (const AnalyzeOutput *message); -size_t analyze_output__pack - (const AnalyzeOutput *message, - uint8_t *out); -size_t analyze_output__pack_to_buffer - (const AnalyzeOutput *message, - ProtobufCBuffer *buffer); -AnalyzeOutput * - analyze_output__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void analyze_output__free_unpacked - (AnalyzeOutput *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*AnalyzeOutput_Closure) - (const AnalyzeOutput *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor analyze_output__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_AnalyzeOutput_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.c deleted file mode 100644 index 3d07907e9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: EmbroideryFile.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "EmbroideryFile.pb-c.h" -void embroidery_file__init - (EmbroideryFile *message) -{ - static const EmbroideryFile init_value = EMBROIDERY_FILE__INIT; - *message = init_value; -} -size_t embroidery_file__get_packed_size - (const EmbroideryFile *message) -{ - assert(message->base.descriptor == &embroidery_file__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t embroidery_file__pack - (const EmbroideryFile *message, - uint8_t *out) -{ - assert(message->base.descriptor == &embroidery_file__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t embroidery_file__pack_to_buffer - (const EmbroideryFile *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &embroidery_file__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -EmbroideryFile * - embroidery_file__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (EmbroideryFile *) - protobuf_c_message_unpack (&embroidery_file__descriptor, - allocator, len, data); -} -void embroidery_file__free_unpacked - (EmbroideryFile *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &embroidery_file__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor embroidery_file__field_descriptors[7] = -{ - { - "DesignName", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(EmbroideryFile, designname), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "FileName", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(EmbroideryFile, filename), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StitchCount", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(EmbroideryFile, has_stitchcount), - offsetof(EmbroideryFile, stitchcount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ColorCount", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(EmbroideryFile, has_colorcount), - offsetof(EmbroideryFile, colorcount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Extents", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(EmbroideryFile, extents), - &extents__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Colors", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(EmbroideryFile, n_colors), - offsetof(EmbroideryFile, colors), - &stitch_color__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Stitches", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(EmbroideryFile, n_stitches), - offsetof(EmbroideryFile, stitches), - &stitch__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned embroidery_file__field_indices_by_name[] = { - 3, /* field[3] = ColorCount */ - 5, /* field[5] = Colors */ - 0, /* field[0] = DesignName */ - 4, /* field[4] = Extents */ - 1, /* field[1] = FileName */ - 2, /* field[2] = StitchCount */ - 6, /* field[6] = Stitches */ -}; -static const ProtobufCIntRange embroidery_file__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor embroidery_file__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "EmbroideryFile", - "EmbroideryFile", - "EmbroideryFile", - "", - sizeof(EmbroideryFile), - 7, - embroidery_file__field_descriptors, - embroidery_file__field_indices_by_name, - 1, embroidery_file__number_ranges, - (ProtobufCMessageInit) embroidery_file__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.h deleted file mode 100644 index 2ffee6518..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/EmbroideryFile.pb-c.h +++ /dev/null @@ -1,84 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: EmbroideryFile.proto */ - -#ifndef PROTOBUF_C_EmbroideryFile_2eproto__INCLUDED -#define PROTOBUF_C_EmbroideryFile_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "Extents.pb-c.h" -#include "Stitch.pb-c.h" -#include "StitchColor.pb-c.h" - -typedef struct _EmbroideryFile EmbroideryFile; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _EmbroideryFile -{ - ProtobufCMessage base; - char *designname; - char *filename; - protobuf_c_boolean has_stitchcount; - int32_t stitchcount; - protobuf_c_boolean has_colorcount; - int32_t colorcount; - Extents *extents; - size_t n_colors; - StitchColor **colors; - size_t n_stitches; - Stitch **stitches; -}; -#define EMBROIDERY_FILE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&embroidery_file__descriptor) \ - , NULL, NULL, 0, 0, 0, 0, NULL, 0,NULL, 0,NULL } - - -/* EmbroideryFile methods */ -void embroidery_file__init - (EmbroideryFile *message); -size_t embroidery_file__get_packed_size - (const EmbroideryFile *message); -size_t embroidery_file__pack - (const EmbroideryFile *message, - uint8_t *out); -size_t embroidery_file__pack_to_buffer - (const EmbroideryFile *message, - ProtobufCBuffer *buffer); -EmbroideryFile * - embroidery_file__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void embroidery_file__free_unpacked - (EmbroideryFile *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*EmbroideryFile_Closure) - (const EmbroideryFile *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor embroidery_file__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_EmbroideryFile_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.c deleted file mode 100644 index 69cba25cf..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Extents.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "Extents.pb-c.h" -void extents__init - (Extents *message) -{ - static const Extents init_value = EXTENTS__INIT; - *message = init_value; -} -size_t extents__get_packed_size - (const Extents *message) -{ - assert(message->base.descriptor == &extents__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t extents__pack - (const Extents *message, - uint8_t *out) -{ - assert(message->base.descriptor == &extents__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t extents__pack_to_buffer - (const Extents *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &extents__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Extents * - extents__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Extents *) - protobuf_c_message_unpack (&extents__descriptor, - allocator, len, data); -} -void extents__free_unpacked - (Extents *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &extents__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor extents__field_descriptors[4] = -{ - { - "X1", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Extents, has_x1), - offsetof(Extents, x1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Y1", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Extents, has_y1), - offsetof(Extents, y1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "X2", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Extents, has_x2), - offsetof(Extents, x2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Y2", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Extents, has_y2), - offsetof(Extents, y2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned extents__field_indices_by_name[] = { - 0, /* field[0] = X1 */ - 2, /* field[2] = X2 */ - 1, /* field[1] = Y1 */ - 3, /* field[3] = Y2 */ -}; -static const ProtobufCIntRange extents__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor extents__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Extents", - "Extents", - "Extents", - "", - sizeof(Extents), - 4, - extents__field_descriptors, - extents__field_indices_by_name, - 1, extents__number_ranges, - (ProtobufCMessageInit) extents__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.h deleted file mode 100644 index a7d867bab..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Extents.pb-c.h +++ /dev/null @@ -1,78 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Extents.proto */ - -#ifndef PROTOBUF_C_Extents_2eproto__INCLUDED -#define PROTOBUF_C_Extents_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _Extents Extents; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _Extents -{ - ProtobufCMessage base; - protobuf_c_boolean has_x1; - int32_t x1; - protobuf_c_boolean has_y1; - int32_t y1; - protobuf_c_boolean has_x2; - int32_t x2; - protobuf_c_boolean has_y2; - int32_t y2; -}; -#define EXTENTS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&extents__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* Extents methods */ -void extents__init - (Extents *message); -size_t extents__get_packed_size - (const Extents *message); -size_t extents__pack - (const Extents *message, - uint8_t *out); -size_t extents__pack_to_buffer - (const Extents *message, - ProtobufCBuffer *buffer); -Extents * - extents__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void extents__free_unpacked - (Extents *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*Extents_Closure) - (const Extents *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor extents__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_Extents_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.c deleted file mode 100644 index 3d0e895bf..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.c +++ /dev/null @@ -1,196 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Stitch.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "Stitch.pb-c.h" -void stitch__init - (Stitch *message) -{ - static const Stitch init_value = STITCH__INIT; - *message = init_value; -} -size_t stitch__get_packed_size - (const Stitch *message) -{ - assert(message->base.descriptor == &stitch__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stitch__pack - (const Stitch *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stitch__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stitch__pack_to_buffer - (const Stitch *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stitch__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Stitch * - stitch__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Stitch *) - protobuf_c_message_unpack (&stitch__descriptor, - allocator, len, data); -} -void stitch__free_unpacked - (Stitch *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stitch__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stitch__field_descriptors[9] = -{ - { - "Flag", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(Stitch, has_flag), - offsetof(Stitch, flag), - &stitch_flag__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "XX", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_xx), - offsetof(Stitch, xx), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "YY", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_yy), - offsetof(Stitch, yy), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DX", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_dx), - offsetof(Stitch, dx), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DY", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_dy), - offsetof(Stitch, dy), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_length), - offsetof(Stitch, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Angle", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_angle), - offsetof(Stitch, angle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DAngle", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(Stitch, has_dangle), - offsetof(Stitch, dangle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ColorIndex", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Stitch, has_colorindex), - offsetof(Stitch, colorindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stitch__field_indices_by_name[] = { - 6, /* field[6] = Angle */ - 8, /* field[8] = ColorIndex */ - 7, /* field[7] = DAngle */ - 3, /* field[3] = DX */ - 4, /* field[4] = DY */ - 0, /* field[0] = Flag */ - 5, /* field[5] = Length */ - 1, /* field[1] = XX */ - 2, /* field[2] = YY */ -}; -static const ProtobufCIntRange stitch__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor stitch__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Stitch", - "Stitch", - "Stitch", - "", - sizeof(Stitch), - 9, - stitch__field_descriptors, - stitch__field_indices_by_name, - 1, stitch__number_ranges, - (ProtobufCMessageInit) stitch__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.h deleted file mode 100644 index 157dbce02..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/Stitch.pb-c.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Stitch.proto */ - -#ifndef PROTOBUF_C_Stitch_2eproto__INCLUDED -#define PROTOBUF_C_Stitch_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "StitchFlag.pb-c.h" - -typedef struct _Stitch Stitch; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _Stitch -{ - ProtobufCMessage base; - protobuf_c_boolean has_flag; - StitchFlag flag; - protobuf_c_boolean has_xx; - double xx; - protobuf_c_boolean has_yy; - double yy; - protobuf_c_boolean has_dx; - double dx; - protobuf_c_boolean has_dy; - double dy; - protobuf_c_boolean has_length; - double length; - protobuf_c_boolean has_angle; - double angle; - protobuf_c_boolean has_dangle; - double dangle; - protobuf_c_boolean has_colorindex; - int32_t colorindex; -}; -#define STITCH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stitch__descriptor) \ - , 0, STITCH_FLAG__NORMAL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* Stitch methods */ -void stitch__init - (Stitch *message); -size_t stitch__get_packed_size - (const Stitch *message); -size_t stitch__pack - (const Stitch *message, - uint8_t *out); -size_t stitch__pack_to_buffer - (const Stitch *message, - ProtobufCBuffer *buffer); -Stitch * - stitch__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stitch__free_unpacked - (Stitch *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*Stitch_Closure) - (const Stitch *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stitch__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_Stitch_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.c deleted file mode 100644 index a33e76d5a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StitchColor.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StitchColor.pb-c.h" -void stitch_color__init - (StitchColor *message) -{ - static const StitchColor init_value = STITCH_COLOR__INIT; - *message = init_value; -} -size_t stitch_color__get_packed_size - (const StitchColor *message) -{ - assert(message->base.descriptor == &stitch_color__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stitch_color__pack - (const StitchColor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stitch_color__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stitch_color__pack_to_buffer - (const StitchColor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stitch_color__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StitchColor * - stitch_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StitchColor *) - protobuf_c_message_unpack (&stitch_color__descriptor, - allocator, len, data); -} -void stitch_color__free_unpacked - (StitchColor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stitch_color__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stitch_color__field_descriptors[3] = -{ - { - "Red", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StitchColor, has_red), - offsetof(StitchColor, red), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Green", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StitchColor, has_green), - offsetof(StitchColor, green), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Blue", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StitchColor, has_blue), - offsetof(StitchColor, blue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stitch_color__field_indices_by_name[] = { - 2, /* field[2] = Blue */ - 1, /* field[1] = Green */ - 0, /* field[0] = Red */ -}; -static const ProtobufCIntRange stitch_color__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stitch_color__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StitchColor", - "StitchColor", - "StitchColor", - "", - sizeof(StitchColor), - 3, - stitch_color__field_descriptors, - stitch_color__field_indices_by_name, - 1, stitch_color__number_ranges, - (ProtobufCMessageInit) stitch_color__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.h deleted file mode 100644 index 38ad23dca..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchColor.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StitchColor.proto */ - -#ifndef PROTOBUF_C_StitchColor_2eproto__INCLUDED -#define PROTOBUF_C_StitchColor_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StitchColor StitchColor; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StitchColor -{ - ProtobufCMessage base; - protobuf_c_boolean has_red; - int32_t red; - protobuf_c_boolean has_green; - int32_t green; - protobuf_c_boolean has_blue; - int32_t blue; -}; -#define STITCH_COLOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stitch_color__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* StitchColor methods */ -void stitch_color__init - (StitchColor *message); -size_t stitch_color__get_packed_size - (const StitchColor *message); -size_t stitch_color__pack - (const StitchColor *message, - uint8_t *out); -size_t stitch_color__pack_to_buffer - (const StitchColor *message, - ProtobufCBuffer *buffer); -StitchColor * - stitch_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stitch_color__free_unpacked - (StitchColor *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StitchColor_Closure) - (const StitchColor *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stitch_color__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StitchColor_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.c deleted file mode 100644 index 1936a5436..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.c +++ /dev/null @@ -1,45 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StitchFlag.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StitchFlag.pb-c.h" -static const ProtobufCEnumValue stitch_flag__enum_values_by_number[6] = -{ - { "NORMAL", "STITCH_FLAG__NORMAL", 0 }, - { "JUMP", "STITCH_FLAG__JUMP", 1 }, - { "TRIM", "STITCH_FLAG__TRIM", 2 }, - { "STOP", "STITCH_FLAG__STOP", 4 }, - { "SEQUIN", "STITCH_FLAG__SEQUIN", 8 }, - { "END", "STITCH_FLAG__END", 16 }, -}; -static const ProtobufCIntRange stitch_flag__value_ranges[] = { -{0, 0},{4, 3},{8, 4},{16, 5},{0, 6} -}; -static const ProtobufCEnumValueIndex stitch_flag__enum_values_by_name[6] = -{ - { "END", 5 }, - { "JUMP", 1 }, - { "NORMAL", 0 }, - { "SEQUIN", 4 }, - { "STOP", 3 }, - { "TRIM", 2 }, -}; -const ProtobufCEnumDescriptor stitch_flag__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "StitchFlag", - "StitchFlag", - "StitchFlag", - "", - 6, - stitch_flag__enum_values_by_number, - 6, - stitch_flag__enum_values_by_name, - 4, - stitch_flag__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.h deleted file mode 100644 index 81c090e35..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Embroidery/StitchFlag.pb-c.h +++ /dev/null @@ -1,47 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StitchFlag.proto */ - -#ifndef PROTOBUF_C_StitchFlag_2eproto__INCLUDED -#define PROTOBUF_C_StitchFlag_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _StitchFlag { - STITCH_FLAG__NORMAL = 0, - STITCH_FLAG__JUMP = 1, - STITCH_FLAG__TRIM = 2, - STITCH_FLAG__STOP = 4, - STITCH_FLAG__SEQUIN = 8, - STITCH_FLAG__END = 16 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STITCH_FLAG) -} StitchFlag; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor stitch_flag__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StitchFlag_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.c deleted file mode 100644 index 6ba4d7fc9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareConfiguration.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareConfiguration.pb-c.h" -void hardware_configuration__init - (HardwareConfiguration *message) -{ - static const HardwareConfiguration init_value = HARDWARE_CONFIGURATION__INIT; - *message = init_value; -} -size_t hardware_configuration__get_packed_size - (const HardwareConfiguration *message) -{ - assert(message->base.descriptor == &hardware_configuration__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_configuration__pack - (const HardwareConfiguration *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_configuration__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_configuration__pack_to_buffer - (const HardwareConfiguration *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_configuration__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwareConfiguration * - hardware_configuration__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwareConfiguration *) - protobuf_c_message_unpack (&hardware_configuration__descriptor, - allocator, len, data); -} -void hardware_configuration__free_unpacked - (HardwareConfiguration *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_configuration__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_configuration__field_descriptors[5] = -{ - { - "Dancers", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(HardwareConfiguration, n_dancers), - offsetof(HardwareConfiguration, dancers), - &hardware_dancer__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispensers", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(HardwareConfiguration, n_dispensers), - offsetof(HardwareConfiguration, dispensers), - &hardware_dispenser__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Motors", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(HardwareConfiguration, n_motors), - offsetof(HardwareConfiguration, motors), - &hardware_motor__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PidControls", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(HardwareConfiguration, n_pidcontrols), - offsetof(HardwareConfiguration, pidcontrols), - &hardware_pid_control__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Winders", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(HardwareConfiguration, n_winders), - offsetof(HardwareConfiguration, winders), - &hardware_winder__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_configuration__field_indices_by_name[] = { - 0, /* field[0] = Dancers */ - 1, /* field[1] = Dispensers */ - 2, /* field[2] = Motors */ - 3, /* field[3] = PidControls */ - 4, /* field[4] = Winders */ -}; -static const ProtobufCIntRange hardware_configuration__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor hardware_configuration__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwareConfiguration", - "HardwareConfiguration", - "HardwareConfiguration", - "", - sizeof(HardwareConfiguration), - 5, - hardware_configuration__field_descriptors, - hardware_configuration__field_indices_by_name, - 1, hardware_configuration__number_ranges, - (ProtobufCMessageInit) hardware_configuration__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.h deleted file mode 100644 index d9818c891..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareConfiguration.pb-c.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareConfiguration.proto */ - -#ifndef PROTOBUF_C_HardwareConfiguration_2eproto__INCLUDED -#define PROTOBUF_C_HardwareConfiguration_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareDancer.pb-c.h" -#include "HardwareDispenser.pb-c.h" -#include "HardwareMotor.pb-c.h" -#include "HardwarePidControl.pb-c.h" -#include "HardwareWinder.pb-c.h" - -typedef struct _HardwareConfiguration HardwareConfiguration; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwareConfiguration -{ - ProtobufCMessage base; - size_t n_dancers; - HardwareDancer **dancers; - size_t n_dispensers; - HardwareDispenser **dispensers; - size_t n_motors; - HardwareMotor **motors; - size_t n_pidcontrols; - HardwarePidControl **pidcontrols; - size_t n_winders; - HardwareWinder **winders; -}; -#define HARDWARE_CONFIGURATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_configuration__descriptor) \ - , 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL } - - -/* HardwareConfiguration methods */ -void hardware_configuration__init - (HardwareConfiguration *message); -size_t hardware_configuration__get_packed_size - (const HardwareConfiguration *message); -size_t hardware_configuration__pack - (const HardwareConfiguration *message, - uint8_t *out); -size_t hardware_configuration__pack_to_buffer - (const HardwareConfiguration *message, - ProtobufCBuffer *buffer); -HardwareConfiguration * - hardware_configuration__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_configuration__free_unpacked - (HardwareConfiguration *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwareConfiguration_Closure) - (const HardwareConfiguration *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_configuration__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareConfiguration_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.c deleted file mode 100644 index b838e1382..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDancer.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareDancer.pb-c.h" -void hardware_dancer__init - (HardwareDancer *message) -{ - static const HardwareDancer init_value = HARDWARE_DANCER__INIT; - *message = init_value; -} -size_t hardware_dancer__get_packed_size - (const HardwareDancer *message) -{ - assert(message->base.descriptor == &hardware_dancer__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_dancer__pack - (const HardwareDancer *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_dancer__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_dancer__pack_to_buffer - (const HardwareDancer *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_dancer__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwareDancer * - hardware_dancer__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwareDancer *) - protobuf_c_message_unpack (&hardware_dancer__descriptor, - allocator, len, data); -} -void hardware_dancer__free_unpacked - (HardwareDancer *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_dancer__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_dancer__field_descriptors[5] = -{ - { - "HardwareDancerType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(HardwareDancer, has_hardwaredancertype), - offsetof(HardwareDancer, hardwaredancertype), - &hardware_dancer_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Gradual", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(HardwareDancer, has_gradual), - offsetof(HardwareDancer, gradual), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "K", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDancer, has_k), - offsetof(HardwareDancer, k), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "X", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDancer, has_x), - offsetof(HardwareDancer, x), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PulsePerMmSpring", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDancer, has_pulsepermmspring), - offsetof(HardwareDancer, pulsepermmspring), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_dancer__field_indices_by_name[] = { - 1, /* field[1] = Gradual */ - 0, /* field[0] = HardwareDancerType */ - 2, /* field[2] = K */ - 4, /* field[4] = PulsePerMmSpring */ - 3, /* field[3] = X */ -}; -static const ProtobufCIntRange hardware_dancer__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor hardware_dancer__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwareDancer", - "HardwareDancer", - "HardwareDancer", - "", - sizeof(HardwareDancer), - 5, - hardware_dancer__field_descriptors, - hardware_dancer__field_indices_by_name, - 1, hardware_dancer__number_ranges, - (ProtobufCMessageInit) hardware_dancer__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.h deleted file mode 100644 index 8e6e74cde..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancer.pb-c.h +++ /dev/null @@ -1,81 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDancer.proto */ - -#ifndef PROTOBUF_C_HardwareDancer_2eproto__INCLUDED -#define PROTOBUF_C_HardwareDancer_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareDancerType.pb-c.h" - -typedef struct _HardwareDancer HardwareDancer; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwareDancer -{ - ProtobufCMessage base; - protobuf_c_boolean has_hardwaredancertype; - HardwareDancerType hardwaredancertype; - protobuf_c_boolean has_gradual; - protobuf_c_boolean gradual; - protobuf_c_boolean has_k; - double k; - protobuf_c_boolean has_x; - double x; - protobuf_c_boolean has_pulsepermmspring; - int32_t pulsepermmspring; -}; -#define HARDWARE_DANCER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_dancer__descriptor) \ - , 0, HARDWARE_DANCER_TYPE__LeftDancer, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* HardwareDancer methods */ -void hardware_dancer__init - (HardwareDancer *message); -size_t hardware_dancer__get_packed_size - (const HardwareDancer *message); -size_t hardware_dancer__pack - (const HardwareDancer *message, - uint8_t *out); -size_t hardware_dancer__pack_to_buffer - (const HardwareDancer *message, - ProtobufCBuffer *buffer); -HardwareDancer * - hardware_dancer__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_dancer__free_unpacked - (HardwareDancer *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwareDancer_Closure) - (const HardwareDancer *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_dancer__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareDancer_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.c deleted file mode 100644 index d1ad051e9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDancerType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareDancerType.pb-c.h" -static const ProtobufCEnumValue hardware_dancer_type__enum_values_by_number[3] = -{ - { "LeftDancer", "HARDWARE_DANCER_TYPE__LeftDancer", 0 }, - { "MiddleDancer", "HARDWARE_DANCER_TYPE__MiddleDancer", 1 }, - { "RightDancer", "HARDWARE_DANCER_TYPE__RightDancer", 2 }, -}; -static const ProtobufCIntRange hardware_dancer_type__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex hardware_dancer_type__enum_values_by_name[3] = -{ - { "LeftDancer", 0 }, - { "MiddleDancer", 1 }, - { "RightDancer", 2 }, -}; -const ProtobufCEnumDescriptor hardware_dancer_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "HardwareDancerType", - "HardwareDancerType", - "HardwareDancerType", - "", - 3, - hardware_dancer_type__enum_values_by_number, - 3, - hardware_dancer_type__enum_values_by_name, - 1, - hardware_dancer_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.h deleted file mode 100644 index fed2b0108..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDancerType.pb-c.h +++ /dev/null @@ -1,44 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDancerType.proto */ - -#ifndef PROTOBUF_C_HardwareDancerType_2eproto__INCLUDED -#define PROTOBUF_C_HardwareDancerType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _HardwareDancerType { - HARDWARE_DANCER_TYPE__LeftDancer = 0, - HARDWARE_DANCER_TYPE__MiddleDancer = 1, - HARDWARE_DANCER_TYPE__RightDancer = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_DANCER_TYPE) -} HardwareDancerType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor hardware_dancer_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareDancerType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.c deleted file mode 100644 index 1691150ab..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.c +++ /dev/null @@ -1,274 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDispenser.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareDispenser.pb-c.h" -void hardware_dispenser__init - (HardwareDispenser *message) -{ - static const HardwareDispenser init_value = HARDWARE_DISPENSER__INIT; - *message = init_value; -} -size_t hardware_dispenser__get_packed_size - (const HardwareDispenser *message) -{ - assert(message->base.descriptor == &hardware_dispenser__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_dispenser__pack - (const HardwareDispenser *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_dispenser__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_dispenser__pack_to_buffer - (const HardwareDispenser *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_dispenser__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwareDispenser * - hardware_dispenser__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwareDispenser *) - protobuf_c_message_unpack (&hardware_dispenser__descriptor, - allocator, len, data); -} -void hardware_dispenser__free_unpacked - (HardwareDispenser *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_dispenser__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_dispenser__field_descriptors[15] = -{ - { - "HardwareDispenserType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(HardwareDispenser, has_hardwaredispensertype), - offsetof(HardwareDispenser, hardwaredispensertype), - &hardware_dispenser_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "NlPerPulse", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_nlperpulse), - offsetof(HardwareDispenser, nlperpulse), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Capacity", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_capacity), - offsetof(HardwareDispenser, capacity), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MinFrequency", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDispenser, has_minfrequency), - offsetof(HardwareDispenser, minfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxFrequency", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDispenser, has_maxfrequency), - offsetof(HardwareDispenser, maxfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MinMicroStep", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDispenser, has_minmicrostep), - offsetof(HardwareDispenser, minmicrostep), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxMicroStep", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDispenser, has_maxmicrostep), - offsetof(HardwareDispenser, maxmicrostep), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CorrectionGain", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_correctiongain), - offsetof(HardwareDispenser, correctiongain), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "RatioToDryerSpeed", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_ratiotodryerspeed), - offsetof(HardwareDispenser, ratiotodryerspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Kp", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_kp), - offsetof(HardwareDispenser, kp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Ki", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_ki), - offsetof(HardwareDispenser, ki), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Kd", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_kd), - offsetof(HardwareDispenser, kd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ChangeSlope", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_changeslope), - offsetof(HardwareDispenser, changeslope), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HighLengthMicroSecond", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareDispenser, has_highlengthmicrosecond), - offsetof(HardwareDispenser, highlengthmicrosecond), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ControlTiming", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareDispenser, has_controltiming), - offsetof(HardwareDispenser, controltiming), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_dispenser__field_indices_by_name[] = { - 2, /* field[2] = Capacity */ - 12, /* field[12] = ChangeSlope */ - 14, /* field[14] = ControlTiming */ - 7, /* field[7] = CorrectionGain */ - 0, /* field[0] = HardwareDispenserType */ - 13, /* field[13] = HighLengthMicroSecond */ - 11, /* field[11] = Kd */ - 10, /* field[10] = Ki */ - 9, /* field[9] = Kp */ - 4, /* field[4] = MaxFrequency */ - 6, /* field[6] = MaxMicroStep */ - 3, /* field[3] = MinFrequency */ - 5, /* field[5] = MinMicroStep */ - 1, /* field[1] = NlPerPulse */ - 8, /* field[8] = RatioToDryerSpeed */ -}; -static const ProtobufCIntRange hardware_dispenser__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor hardware_dispenser__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwareDispenser", - "HardwareDispenser", - "HardwareDispenser", - "", - sizeof(HardwareDispenser), - 15, - hardware_dispenser__field_descriptors, - hardware_dispenser__field_indices_by_name, - 1, hardware_dispenser__number_ranges, - (ProtobufCMessageInit) hardware_dispenser__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.h deleted file mode 100644 index bde6bad40..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenser.pb-c.h +++ /dev/null @@ -1,101 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDispenser.proto */ - -#ifndef PROTOBUF_C_HardwareDispenser_2eproto__INCLUDED -#define PROTOBUF_C_HardwareDispenser_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareDispenserType.pb-c.h" - -typedef struct _HardwareDispenser HardwareDispenser; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwareDispenser -{ - ProtobufCMessage base; - protobuf_c_boolean has_hardwaredispensertype; - HardwareDispenserType hardwaredispensertype; - protobuf_c_boolean has_nlperpulse; - double nlperpulse; - protobuf_c_boolean has_capacity; - double capacity; - protobuf_c_boolean has_minfrequency; - int32_t minfrequency; - protobuf_c_boolean has_maxfrequency; - int32_t maxfrequency; - protobuf_c_boolean has_minmicrostep; - int32_t minmicrostep; - protobuf_c_boolean has_maxmicrostep; - int32_t maxmicrostep; - protobuf_c_boolean has_correctiongain; - double correctiongain; - protobuf_c_boolean has_ratiotodryerspeed; - double ratiotodryerspeed; - protobuf_c_boolean has_kp; - double kp; - protobuf_c_boolean has_ki; - double ki; - protobuf_c_boolean has_kd; - double kd; - protobuf_c_boolean has_changeslope; - double changeslope; - protobuf_c_boolean has_highlengthmicrosecond; - double highlengthmicrosecond; - protobuf_c_boolean has_controltiming; - int32_t controltiming; -}; -#define HARDWARE_DISPENSER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_dispenser__descriptor) \ - , 0, HARDWARE_DISPENSER_TYPE__StandardDispenser, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* HardwareDispenser methods */ -void hardware_dispenser__init - (HardwareDispenser *message); -size_t hardware_dispenser__get_packed_size - (const HardwareDispenser *message); -size_t hardware_dispenser__pack - (const HardwareDispenser *message, - uint8_t *out); -size_t hardware_dispenser__pack_to_buffer - (const HardwareDispenser *message, - ProtobufCBuffer *buffer); -HardwareDispenser * - hardware_dispenser__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_dispenser__free_unpacked - (HardwareDispenser *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwareDispenser_Closure) - (const HardwareDispenser *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_dispenser__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareDispenser_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.c deleted file mode 100644 index 723d41bc3..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDispenserType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareDispenserType.pb-c.h" -static const ProtobufCEnumValue hardware_dispenser_type__enum_values_by_number[1] = -{ - { "StandardDispenser", "HARDWARE_DISPENSER_TYPE__StandardDispenser", 0 }, -}; -static const ProtobufCIntRange hardware_dispenser_type__value_ranges[] = { -{0, 0},{0, 1} -}; -static const ProtobufCEnumValueIndex hardware_dispenser_type__enum_values_by_name[1] = -{ - { "StandardDispenser", 0 }, -}; -const ProtobufCEnumDescriptor hardware_dispenser_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "HardwareDispenserType", - "HardwareDispenserType", - "HardwareDispenserType", - "", - 1, - hardware_dispenser_type__enum_values_by_number, - 1, - hardware_dispenser_type__enum_values_by_name, - 1, - hardware_dispenser_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.h deleted file mode 100644 index cd6319f60..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareDispenserType.pb-c.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareDispenserType.proto */ - -#ifndef PROTOBUF_C_HardwareDispenserType_2eproto__INCLUDED -#define PROTOBUF_C_HardwareDispenserType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _HardwareDispenserType { - HARDWARE_DISPENSER_TYPE__StandardDispenser = 0 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_DISPENSER_TYPE) -} HardwareDispenserType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor hardware_dispenser_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareDispenserType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.c deleted file mode 100644 index 68b02ae76..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.c +++ /dev/null @@ -1,274 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareMotor.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareMotor.pb-c.h" -void hardware_motor__init - (HardwareMotor *message) -{ - static const HardwareMotor init_value = HARDWARE_MOTOR__INIT; - *message = init_value; -} -size_t hardware_motor__get_packed_size - (const HardwareMotor *message) -{ - assert(message->base.descriptor == &hardware_motor__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_motor__pack - (const HardwareMotor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_motor__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_motor__pack_to_buffer - (const HardwareMotor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_motor__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwareMotor * - hardware_motor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwareMotor *) - protobuf_c_message_unpack (&hardware_motor__descriptor, - allocator, len, data); -} -void hardware_motor__free_unpacked - (HardwareMotor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_motor__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_motor__field_descriptors[15] = -{ - { - "HardwareMotorType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(HardwareMotor, has_hardwaremotortype), - offsetof(HardwareMotor, hardwaremotortype), - &hardware_motor_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MinFrequency", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareMotor, has_minfrequency), - offsetof(HardwareMotor, minfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxFrequency", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareMotor, has_maxfrequency), - offsetof(HardwareMotor, maxfrequency), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MinMicroStep", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareMotor, has_minmicrostep), - offsetof(HardwareMotor, minmicrostep), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MaxMicroStep", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareMotor, has_maxmicrostep), - offsetof(HardwareMotor, maxmicrostep), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LinearRatio", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_linearratio), - offsetof(HardwareMotor, linearratio), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MedianPosition", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareMotor, has_medianposition), - offsetof(HardwareMotor, medianposition), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CorrectionGain", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_correctiongain), - offsetof(HardwareMotor, correctiongain), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "RatioToDryerSpeed", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_ratiotodryerspeed), - offsetof(HardwareMotor, ratiotodryerspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Kp", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_kp), - offsetof(HardwareMotor, kp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Ki", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_ki), - offsetof(HardwareMotor, ki), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Kd", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_kd), - offsetof(HardwareMotor, kd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ChangeSlope", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_changeslope), - offsetof(HardwareMotor, changeslope), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HighLengthMicroSecond", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(HardwareMotor, has_highlengthmicrosecond), - offsetof(HardwareMotor, highlengthmicrosecond), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SpeedMaster", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(HardwareMotor, has_speedmaster), - offsetof(HardwareMotor, speedmaster), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_motor__field_indices_by_name[] = { - 12, /* field[12] = ChangeSlope */ - 7, /* field[7] = CorrectionGain */ - 0, /* field[0] = HardwareMotorType */ - 13, /* field[13] = HighLengthMicroSecond */ - 11, /* field[11] = Kd */ - 10, /* field[10] = Ki */ - 9, /* field[9] = Kp */ - 5, /* field[5] = LinearRatio */ - 2, /* field[2] = MaxFrequency */ - 4, /* field[4] = MaxMicroStep */ - 6, /* field[6] = MedianPosition */ - 1, /* field[1] = MinFrequency */ - 3, /* field[3] = MinMicroStep */ - 8, /* field[8] = RatioToDryerSpeed */ - 14, /* field[14] = SpeedMaster */ -}; -static const ProtobufCIntRange hardware_motor__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor hardware_motor__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwareMotor", - "HardwareMotor", - "HardwareMotor", - "", - sizeof(HardwareMotor), - 15, - hardware_motor__field_descriptors, - hardware_motor__field_indices_by_name, - 1, hardware_motor__number_ranges, - (ProtobufCMessageInit) hardware_motor__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.h deleted file mode 100644 index 334ae0969..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotor.pb-c.h +++ /dev/null @@ -1,101 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareMotor.proto */ - -#ifndef PROTOBUF_C_HardwareMotor_2eproto__INCLUDED -#define PROTOBUF_C_HardwareMotor_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareMotorType.pb-c.h" - -typedef struct _HardwareMotor HardwareMotor; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwareMotor -{ - ProtobufCMessage base; - protobuf_c_boolean has_hardwaremotortype; - HardwareMotorType hardwaremotortype; - protobuf_c_boolean has_minfrequency; - int32_t minfrequency; - protobuf_c_boolean has_maxfrequency; - int32_t maxfrequency; - protobuf_c_boolean has_minmicrostep; - int32_t minmicrostep; - protobuf_c_boolean has_maxmicrostep; - int32_t maxmicrostep; - protobuf_c_boolean has_linearratio; - double linearratio; - protobuf_c_boolean has_medianposition; - int32_t medianposition; - protobuf_c_boolean has_correctiongain; - double correctiongain; - protobuf_c_boolean has_ratiotodryerspeed; - double ratiotodryerspeed; - protobuf_c_boolean has_kp; - double kp; - protobuf_c_boolean has_ki; - double ki; - protobuf_c_boolean has_kd; - double kd; - protobuf_c_boolean has_changeslope; - double changeslope; - protobuf_c_boolean has_highlengthmicrosecond; - double highlengthmicrosecond; - protobuf_c_boolean has_speedmaster; - protobuf_c_boolean speedmaster; -}; -#define HARDWARE_MOTOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_motor__descriptor) \ - , 0, HARDWARE_MOTOR_TYPE__WinderMotor, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* HardwareMotor methods */ -void hardware_motor__init - (HardwareMotor *message); -size_t hardware_motor__get_packed_size - (const HardwareMotor *message); -size_t hardware_motor__pack - (const HardwareMotor *message, - uint8_t *out); -size_t hardware_motor__pack_to_buffer - (const HardwareMotor *message, - ProtobufCBuffer *buffer); -HardwareMotor * - hardware_motor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_motor__free_unpacked - (HardwareMotor *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwareMotor_Closure) - (const HardwareMotor *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_motor__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareMotor_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.c deleted file mode 100644 index 6aa83f948..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareMotorType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareMotorType.pb-c.h" -static const ProtobufCEnumValue hardware_motor_type__enum_values_by_number[4] = -{ - { "WinderMotor", "HARDWARE_MOTOR_TYPE__WinderMotor", 0 }, - { "FeederMotor", "HARDWARE_MOTOR_TYPE__FeederMotor", 1 }, - { "DryerMotor", "HARDWARE_MOTOR_TYPE__DryerMotor", 2 }, - { "PoolerMotor", "HARDWARE_MOTOR_TYPE__PoolerMotor", 3 }, -}; -static const ProtobufCIntRange hardware_motor_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex hardware_motor_type__enum_values_by_name[4] = -{ - { "DryerMotor", 2 }, - { "FeederMotor", 1 }, - { "PoolerMotor", 3 }, - { "WinderMotor", 0 }, -}; -const ProtobufCEnumDescriptor hardware_motor_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "HardwareMotorType", - "HardwareMotorType", - "HardwareMotorType", - "", - 4, - hardware_motor_type__enum_values_by_number, - 4, - hardware_motor_type__enum_values_by_name, - 1, - hardware_motor_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.h deleted file mode 100644 index 66d5f4e1e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareMotorType.pb-c.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareMotorType.proto */ - -#ifndef PROTOBUF_C_HardwareMotorType_2eproto__INCLUDED -#define PROTOBUF_C_HardwareMotorType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _HardwareMotorType { - HARDWARE_MOTOR_TYPE__WinderMotor = 0, - HARDWARE_MOTOR_TYPE__FeederMotor = 1, - HARDWARE_MOTOR_TYPE__DryerMotor = 2, - HARDWARE_MOTOR_TYPE__PoolerMotor = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_MOTOR_TYPE) -} HardwareMotorType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor hardware_motor_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareMotorType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.c deleted file mode 100644 index 8eb96d16d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.c +++ /dev/null @@ -1,274 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwarePidControl.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwarePidControl.pb-c.h" -void hardware_pid_control__init - (HardwarePidControl *message) -{ - static const HardwarePidControl init_value = HARDWARE_PID_CONTROL__INIT; - *message = init_value; -} -size_t hardware_pid_control__get_packed_size - (const HardwarePidControl *message) -{ - assert(message->base.descriptor == &hardware_pid_control__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_pid_control__pack - (const HardwarePidControl *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_pid_control__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_pid_control__pack_to_buffer - (const HardwarePidControl *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_pid_control__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwarePidControl * - hardware_pid_control__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwarePidControl *) - protobuf_c_message_unpack (&hardware_pid_control__descriptor, - allocator, len, data); -} -void hardware_pid_control__free_unpacked - (HardwarePidControl *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_pid_control__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_pid_control__field_descriptors[15] = -{ - { - "HardwarePidControlType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(HardwarePidControl, has_hardwarepidcontroltype), - offsetof(HardwarePidControl, hardwarepidcontroltype), - &hardware_pid_control_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OutputProportionalPowerLimit", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_outputproportionalpowerlimit), - offsetof(HardwarePidControl, outputproportionalpowerlimit), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OutputProportionalBand", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_outputproportionalband), - offsetof(HardwarePidControl, outputproportionalband), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "IntegralTime", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_integraltime), - offsetof(HardwarePidControl, integraltime), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DerivativeTime", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_derivativetime), - offsetof(HardwarePidControl, derivativetime), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SensorCorrectionAdjustment", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_sensorcorrectionadjustment), - offsetof(HardwarePidControl, sensorcorrectionadjustment), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SensorMinValue", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_sensorminvalue), - offsetof(HardwarePidControl, sensorminvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SensorMaxValue", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_sensormaxvalue), - offsetof(HardwarePidControl, sensormaxvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetPointRampRateorSoftStartRamp", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_setpointramprateorsoftstartramp), - offsetof(HardwarePidControl, setpointramprateorsoftstartramp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetPointControlOutputRate", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_setpointcontroloutputrate), - offsetof(HardwarePidControl, setpointcontroloutputrate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ControlOutputType", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_controloutputtype), - offsetof(HardwarePidControl, controloutputtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SsrControlOutputType", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_ssrcontroloutputtype), - offsetof(HardwarePidControl, ssrcontroloutputtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OutputOnOffHysteresisValue", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_outputonoffhysteresisvalue), - offsetof(HardwarePidControl, outputonoffhysteresisvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ProcessVariableSamplingRate", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_processvariablesamplingrate), - offsetof(HardwarePidControl, processvariablesamplingrate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PvInputFilterFactorMode", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwarePidControl, has_pvinputfilterfactormode), - offsetof(HardwarePidControl, pvinputfilterfactormode), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_pid_control__field_indices_by_name[] = { - 10, /* field[10] = ControlOutputType */ - 4, /* field[4] = DerivativeTime */ - 0, /* field[0] = HardwarePidControlType */ - 3, /* field[3] = IntegralTime */ - 12, /* field[12] = OutputOnOffHysteresisValue */ - 2, /* field[2] = OutputProportionalBand */ - 1, /* field[1] = OutputProportionalPowerLimit */ - 13, /* field[13] = ProcessVariableSamplingRate */ - 14, /* field[14] = PvInputFilterFactorMode */ - 5, /* field[5] = SensorCorrectionAdjustment */ - 7, /* field[7] = SensorMaxValue */ - 6, /* field[6] = SensorMinValue */ - 9, /* field[9] = SetPointControlOutputRate */ - 8, /* field[8] = SetPointRampRateorSoftStartRamp */ - 11, /* field[11] = SsrControlOutputType */ -}; -static const ProtobufCIntRange hardware_pid_control__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor hardware_pid_control__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwarePidControl", - "HardwarePidControl", - "HardwarePidControl", - "", - sizeof(HardwarePidControl), - 15, - hardware_pid_control__field_descriptors, - hardware_pid_control__field_indices_by_name, - 1, hardware_pid_control__number_ranges, - (ProtobufCMessageInit) hardware_pid_control__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.h deleted file mode 100644 index 2a316b5ab..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControl.pb-c.h +++ /dev/null @@ -1,101 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwarePidControl.proto */ - -#ifndef PROTOBUF_C_HardwarePidControl_2eproto__INCLUDED -#define PROTOBUF_C_HardwarePidControl_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwarePidControlType.pb-c.h" - -typedef struct _HardwarePidControl HardwarePidControl; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwarePidControl -{ - ProtobufCMessage base; - protobuf_c_boolean has_hardwarepidcontroltype; - HardwarePidControlType hardwarepidcontroltype; - protobuf_c_boolean has_outputproportionalpowerlimit; - int32_t outputproportionalpowerlimit; - protobuf_c_boolean has_outputproportionalband; - int32_t outputproportionalband; - protobuf_c_boolean has_integraltime; - int32_t integraltime; - protobuf_c_boolean has_derivativetime; - int32_t derivativetime; - protobuf_c_boolean has_sensorcorrectionadjustment; - int32_t sensorcorrectionadjustment; - protobuf_c_boolean has_sensorminvalue; - int32_t sensorminvalue; - protobuf_c_boolean has_sensormaxvalue; - int32_t sensormaxvalue; - protobuf_c_boolean has_setpointramprateorsoftstartramp; - int32_t setpointramprateorsoftstartramp; - protobuf_c_boolean has_setpointcontroloutputrate; - int32_t setpointcontroloutputrate; - protobuf_c_boolean has_controloutputtype; - int32_t controloutputtype; - protobuf_c_boolean has_ssrcontroloutputtype; - int32_t ssrcontroloutputtype; - protobuf_c_boolean has_outputonoffhysteresisvalue; - int32_t outputonoffhysteresisvalue; - protobuf_c_boolean has_processvariablesamplingrate; - int32_t processvariablesamplingrate; - protobuf_c_boolean has_pvinputfilterfactormode; - int32_t pvinputfilterfactormode; -}; -#define HARDWARE_PID_CONTROL__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_pid_control__descriptor) \ - , 0, HARDWARE_PID_CONTROL_TYPE__DryerHeater1000w, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* HardwarePidControl methods */ -void hardware_pid_control__init - (HardwarePidControl *message); -size_t hardware_pid_control__get_packed_size - (const HardwarePidControl *message); -size_t hardware_pid_control__pack - (const HardwarePidControl *message, - uint8_t *out); -size_t hardware_pid_control__pack_to_buffer - (const HardwarePidControl *message, - ProtobufCBuffer *buffer); -HardwarePidControl * - hardware_pid_control__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_pid_control__free_unpacked - (HardwarePidControl *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwarePidControl_Closure) - (const HardwarePidControl *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_pid_control__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwarePidControl_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.c deleted file mode 100644 index a64913666..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.c +++ /dev/null @@ -1,61 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwarePidControlType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwarePidControlType.pb-c.h" -static const ProtobufCEnumValue hardware_pid_control_type__enum_values_by_number[14] = -{ - { "DryerHeater1000w", "HARDWARE_PID_CONTROL_TYPE__DryerHeater1000w", 0 }, - { "DryerHeater200w1", "HARDWARE_PID_CONTROL_TYPE__DryerHeater200w1", 1 }, - { "DryerHeater200w2", "HARDWARE_PID_CONTROL_TYPE__DryerHeater200w2", 2 }, - { "HeadHeaterZ1", "HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ1", 3 }, - { "HeadHeaterZ2", "HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ2", 4 }, - { "HeadHeaterZ3", "HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ3", 5 }, - { "HeadHeaterZ4", "HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ4", 6 }, - { "MixerHeater", "HARDWARE_PID_CONTROL_TYPE__MixerHeater", 7 }, - { "WasteControl", "HARDWARE_PID_CONTROL_TYPE__WasteControl", 8 }, - { "MotorDryer", "HARDWARE_PID_CONTROL_TYPE__MotorDryer", 9 }, - { "MotorFeeder", "HARDWARE_PID_CONTROL_TYPE__MotorFeeder", 10 }, - { "MotorPooler", "HARDWARE_PID_CONTROL_TYPE__MotorPooler", 11 }, - { "MotorWinder", "HARDWARE_PID_CONTROL_TYPE__MotorWinder", 12 }, - { "DryerHeater400", "HARDWARE_PID_CONTROL_TYPE__DryerHeater400", 13 }, -}; -static const ProtobufCIntRange hardware_pid_control_type__value_ranges[] = { -{0, 0},{0, 14} -}; -static const ProtobufCEnumValueIndex hardware_pid_control_type__enum_values_by_name[14] = -{ - { "DryerHeater1000w", 0 }, - { "DryerHeater200w1", 1 }, - { "DryerHeater200w2", 2 }, - { "DryerHeater400", 13 }, - { "HeadHeaterZ1", 3 }, - { "HeadHeaterZ2", 4 }, - { "HeadHeaterZ3", 5 }, - { "HeadHeaterZ4", 6 }, - { "MixerHeater", 7 }, - { "MotorDryer", 9 }, - { "MotorFeeder", 10 }, - { "MotorPooler", 11 }, - { "MotorWinder", 12 }, - { "WasteControl", 8 }, -}; -const ProtobufCEnumDescriptor hardware_pid_control_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "HardwarePidControlType", - "HardwarePidControlType", - "HardwarePidControlType", - "", - 14, - hardware_pid_control_type__enum_values_by_number, - 14, - hardware_pid_control_type__enum_values_by_name, - 1, - hardware_pid_control_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.h deleted file mode 100644 index 8bcea3bd0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwarePidControlType.pb-c.h +++ /dev/null @@ -1,55 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwarePidControlType.proto */ - -#ifndef PROTOBUF_C_HardwarePidControlType_2eproto__INCLUDED -#define PROTOBUF_C_HardwarePidControlType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _HardwarePidControlType { - HARDWARE_PID_CONTROL_TYPE__DryerHeater1000w = 0, - HARDWARE_PID_CONTROL_TYPE__DryerHeater200w1 = 1, - HARDWARE_PID_CONTROL_TYPE__DryerHeater200w2 = 2, - HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ1 = 3, - HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ2 = 4, - HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ3 = 5, - HARDWARE_PID_CONTROL_TYPE__HeadHeaterZ4 = 6, - HARDWARE_PID_CONTROL_TYPE__MixerHeater = 7, - HARDWARE_PID_CONTROL_TYPE__WasteControl = 8, - HARDWARE_PID_CONTROL_TYPE__MotorDryer = 9, - HARDWARE_PID_CONTROL_TYPE__MotorFeeder = 10, - HARDWARE_PID_CONTROL_TYPE__MotorPooler = 11, - HARDWARE_PID_CONTROL_TYPE__MotorWinder = 12, - HARDWARE_PID_CONTROL_TYPE__DryerHeater400 = 13 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_PID_CONTROL_TYPE) -} HardwarePidControlType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor hardware_pid_control_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwarePidControlType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.c deleted file mode 100644 index 2ed95d9a5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareWinder.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareWinder.pb-c.h" -void hardware_winder__init - (HardwareWinder *message) -{ - static const HardwareWinder init_value = HARDWARE_WINDER__INIT; - *message = init_value; -} -size_t hardware_winder__get_packed_size - (const HardwareWinder *message) -{ - assert(message->base.descriptor == &hardware_winder__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t hardware_winder__pack - (const HardwareWinder *message, - uint8_t *out) -{ - assert(message->base.descriptor == &hardware_winder__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t hardware_winder__pack_to_buffer - (const HardwareWinder *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &hardware_winder__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -HardwareWinder * - hardware_winder__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (HardwareWinder *) - protobuf_c_message_unpack (&hardware_winder__descriptor, - allocator, len, data); -} -void hardware_winder__free_unpacked - (HardwareWinder *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &hardware_winder__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor hardware_winder__field_descriptors[2] = -{ - { - "HardwareWinderType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(HardwareWinder, has_hardwarewindertype), - offsetof(HardwareWinder, hardwarewindertype), - &hardware_winder_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MillimeterPerRotation", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(HardwareWinder, has_millimeterperrotation), - offsetof(HardwareWinder, millimeterperrotation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned hardware_winder__field_indices_by_name[] = { - 0, /* field[0] = HardwareWinderType */ - 1, /* field[1] = MillimeterPerRotation */ -}; -static const ProtobufCIntRange hardware_winder__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor hardware_winder__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "HardwareWinder", - "HardwareWinder", - "HardwareWinder", - "", - sizeof(HardwareWinder), - 2, - hardware_winder__field_descriptors, - hardware_winder__field_indices_by_name, - 1, hardware_winder__number_ranges, - (ProtobufCMessageInit) hardware_winder__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.h deleted file mode 100644 index 1595e4313..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinder.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareWinder.proto */ - -#ifndef PROTOBUF_C_HardwareWinder_2eproto__INCLUDED -#define PROTOBUF_C_HardwareWinder_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareWinderType.pb-c.h" - -typedef struct _HardwareWinder HardwareWinder; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _HardwareWinder -{ - ProtobufCMessage base; - protobuf_c_boolean has_hardwarewindertype; - HardwareWinderType hardwarewindertype; - protobuf_c_boolean has_millimeterperrotation; - int32_t millimeterperrotation; -}; -#define HARDWARE_WINDER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&hardware_winder__descriptor) \ - , 0, HARDWARE_WINDER_TYPE__InternalWinder, 0, 0 } - - -/* HardwareWinder methods */ -void hardware_winder__init - (HardwareWinder *message); -size_t hardware_winder__get_packed_size - (const HardwareWinder *message); -size_t hardware_winder__pack - (const HardwareWinder *message, - uint8_t *out); -size_t hardware_winder__pack_to_buffer - (const HardwareWinder *message, - ProtobufCBuffer *buffer); -HardwareWinder * - hardware_winder__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void hardware_winder__free_unpacked - (HardwareWinder *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*HardwareWinder_Closure) - (const HardwareWinder *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor hardware_winder__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareWinder_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.c deleted file mode 100644 index ed168e14d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareWinderType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "HardwareWinderType.pb-c.h" -static const ProtobufCEnumValue hardware_winder_type__enum_values_by_number[1] = -{ - { "InternalWinder", "HARDWARE_WINDER_TYPE__InternalWinder", 0 }, -}; -static const ProtobufCIntRange hardware_winder_type__value_ranges[] = { -{0, 0},{0, 1} -}; -static const ProtobufCEnumValueIndex hardware_winder_type__enum_values_by_name[1] = -{ - { "InternalWinder", 0 }, -}; -const ProtobufCEnumDescriptor hardware_winder_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "HardwareWinderType", - "HardwareWinderType", - "HardwareWinderType", - "", - 1, - hardware_winder_type__enum_values_by_number, - 1, - hardware_winder_type__enum_values_by_name, - 1, - hardware_winder_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.h deleted file mode 100644 index 952c9ea12..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/HardwareWinderType.pb-c.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: HardwareWinderType.proto */ - -#ifndef PROTOBUF_C_HardwareWinderType_2eproto__INCLUDED -#define PROTOBUF_C_HardwareWinderType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _HardwareWinderType { - HARDWARE_WINDER_TYPE__InternalWinder = 0 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_WINDER_TYPE) -} HardwareWinderType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor hardware_winder_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_HardwareWinderType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.c deleted file mode 100644 index 160c02c0b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadHardwareConfigurationRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "UploadHardwareConfigurationRequest.pb-c.h" -void upload_hardware_configuration_request__init - (UploadHardwareConfigurationRequest *message) -{ - static const UploadHardwareConfigurationRequest init_value = UPLOAD_HARDWARE_CONFIGURATION_REQUEST__INIT; - *message = init_value; -} -size_t upload_hardware_configuration_request__get_packed_size - (const UploadHardwareConfigurationRequest *message) -{ - assert(message->base.descriptor == &upload_hardware_configuration_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t upload_hardware_configuration_request__pack - (const UploadHardwareConfigurationRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &upload_hardware_configuration_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t upload_hardware_configuration_request__pack_to_buffer - (const UploadHardwareConfigurationRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &upload_hardware_configuration_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -UploadHardwareConfigurationRequest * - upload_hardware_configuration_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (UploadHardwareConfigurationRequest *) - protobuf_c_message_unpack (&upload_hardware_configuration_request__descriptor, - allocator, len, data); -} -void upload_hardware_configuration_request__free_unpacked - (UploadHardwareConfigurationRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &upload_hardware_configuration_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor upload_hardware_configuration_request__field_descriptors[1] = -{ - { - "HardwareConfiguration", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(UploadHardwareConfigurationRequest, hardwareconfiguration), - &hardware_configuration__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned upload_hardware_configuration_request__field_indices_by_name[] = { - 0, /* field[0] = HardwareConfiguration */ -}; -static const ProtobufCIntRange upload_hardware_configuration_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor upload_hardware_configuration_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "UploadHardwareConfigurationRequest", - "UploadHardwareConfigurationRequest", - "UploadHardwareConfigurationRequest", - "", - sizeof(UploadHardwareConfigurationRequest), - 1, - upload_hardware_configuration_request__field_descriptors, - upload_hardware_configuration_request__field_indices_by_name, - 1, upload_hardware_configuration_request__number_ranges, - (ProtobufCMessageInit) upload_hardware_configuration_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.h deleted file mode 100644 index 6e715a378..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadHardwareConfigurationRequest.proto */ - -#ifndef PROTOBUF_C_UploadHardwareConfigurationRequest_2eproto__INCLUDED -#define PROTOBUF_C_UploadHardwareConfigurationRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "HardwareConfiguration.pb-c.h" - -typedef struct _UploadHardwareConfigurationRequest UploadHardwareConfigurationRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _UploadHardwareConfigurationRequest -{ - ProtobufCMessage base; - HardwareConfiguration *hardwareconfiguration; -}; -#define UPLOAD_HARDWARE_CONFIGURATION_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&upload_hardware_configuration_request__descriptor) \ - , NULL } - - -/* UploadHardwareConfigurationRequest methods */ -void upload_hardware_configuration_request__init - (UploadHardwareConfigurationRequest *message); -size_t upload_hardware_configuration_request__get_packed_size - (const UploadHardwareConfigurationRequest *message); -size_t upload_hardware_configuration_request__pack - (const UploadHardwareConfigurationRequest *message, - uint8_t *out); -size_t upload_hardware_configuration_request__pack_to_buffer - (const UploadHardwareConfigurationRequest *message, - ProtobufCBuffer *buffer); -UploadHardwareConfigurationRequest * - upload_hardware_configuration_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void upload_hardware_configuration_request__free_unpacked - (UploadHardwareConfigurationRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*UploadHardwareConfigurationRequest_Closure) - (const UploadHardwareConfigurationRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor upload_hardware_configuration_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_UploadHardwareConfigurationRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.c deleted file mode 100644 index 56aff3176..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadHardwareConfigurationResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "UploadHardwareConfigurationResponse.pb-c.h" -void upload_hardware_configuration_response__init - (UploadHardwareConfigurationResponse *message) -{ - static const UploadHardwareConfigurationResponse init_value = UPLOAD_HARDWARE_CONFIGURATION_RESPONSE__INIT; - *message = init_value; -} -size_t upload_hardware_configuration_response__get_packed_size - (const UploadHardwareConfigurationResponse *message) -{ - assert(message->base.descriptor == &upload_hardware_configuration_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t upload_hardware_configuration_response__pack - (const UploadHardwareConfigurationResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &upload_hardware_configuration_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t upload_hardware_configuration_response__pack_to_buffer - (const UploadHardwareConfigurationResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &upload_hardware_configuration_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -UploadHardwareConfigurationResponse * - upload_hardware_configuration_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (UploadHardwareConfigurationResponse *) - protobuf_c_message_unpack (&upload_hardware_configuration_response__descriptor, - allocator, len, data); -} -void upload_hardware_configuration_response__free_unpacked - (UploadHardwareConfigurationResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &upload_hardware_configuration_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define upload_hardware_configuration_response__field_descriptors NULL -#define upload_hardware_configuration_response__field_indices_by_name NULL -#define upload_hardware_configuration_response__number_ranges NULL -const ProtobufCMessageDescriptor upload_hardware_configuration_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "UploadHardwareConfigurationResponse", - "UploadHardwareConfigurationResponse", - "UploadHardwareConfigurationResponse", - "", - sizeof(UploadHardwareConfigurationResponse), - 0, - upload_hardware_configuration_response__field_descriptors, - upload_hardware_configuration_response__field_indices_by_name, - 0, upload_hardware_configuration_response__number_ranges, - (ProtobufCMessageInit) upload_hardware_configuration_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.h deleted file mode 100644 index 7f754f3bf..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Hardware/UploadHardwareConfigurationResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadHardwareConfigurationResponse.proto */ - -#ifndef PROTOBUF_C_UploadHardwareConfigurationResponse_2eproto__INCLUDED -#define PROTOBUF_C_UploadHardwareConfigurationResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _UploadHardwareConfigurationResponse UploadHardwareConfigurationResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _UploadHardwareConfigurationResponse -{ - ProtobufCMessage base; -}; -#define UPLOAD_HARDWARE_CONFIGURATION_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&upload_hardware_configuration_response__descriptor) \ - } - - -/* UploadHardwareConfigurationResponse methods */ -void upload_hardware_configuration_response__init - (UploadHardwareConfigurationResponse *message); -size_t upload_hardware_configuration_response__get_packed_size - (const UploadHardwareConfigurationResponse *message); -size_t upload_hardware_configuration_response__pack - (const UploadHardwareConfigurationResponse *message, - uint8_t *out); -size_t upload_hardware_configuration_response__pack_to_buffer - (const UploadHardwareConfigurationResponse *message, - ProtobufCBuffer *buffer); -UploadHardwareConfigurationResponse * - upload_hardware_configuration_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void upload_hardware_configuration_response__free_unpacked - (UploadHardwareConfigurationResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*UploadHardwareConfigurationResponse_Closure) - (const UploadHardwareConfigurationResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor upload_hardware_configuration_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_UploadHardwareConfigurationResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c deleted file mode 100644 index cb729fed6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DirectSynchronizationRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DirectSynchronizationRequest.pb-c.h" -void direct_synchronization_request__init - (DirectSynchronizationRequest *message) -{ - static const DirectSynchronizationRequest init_value = DIRECT_SYNCHRONIZATION_REQUEST__INIT; - *message = init_value; -} -size_t direct_synchronization_request__get_packed_size - (const DirectSynchronizationRequest *message) -{ - assert(message->base.descriptor == &direct_synchronization_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t direct_synchronization_request__pack - (const DirectSynchronizationRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &direct_synchronization_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t direct_synchronization_request__pack_to_buffer - (const DirectSynchronizationRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &direct_synchronization_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DirectSynchronizationRequest * - direct_synchronization_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DirectSynchronizationRequest *) - protobuf_c_message_unpack (&direct_synchronization_request__descriptor, - allocator, len, data); -} -void direct_synchronization_request__free_unpacked - (DirectSynchronizationRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &direct_synchronization_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define direct_synchronization_request__field_descriptors NULL -#define direct_synchronization_request__field_indices_by_name NULL -#define direct_synchronization_request__number_ranges NULL -const ProtobufCMessageDescriptor direct_synchronization_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DirectSynchronizationRequest", - "DirectSynchronizationRequest", - "DirectSynchronizationRequest", - "", - sizeof(DirectSynchronizationRequest), - 0, - direct_synchronization_request__field_descriptors, - direct_synchronization_request__field_indices_by_name, - 0, direct_synchronization_request__number_ranges, - (ProtobufCMessageInit) direct_synchronization_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h deleted file mode 100644 index 81cdae5b9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DirectSynchronizationRequest.proto */ - -#ifndef PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED -#define PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DirectSynchronizationRequest DirectSynchronizationRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DirectSynchronizationRequest -{ - ProtobufCMessage base; -}; -#define DIRECT_SYNCHRONIZATION_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&direct_synchronization_request__descriptor) \ - } - - -/* DirectSynchronizationRequest methods */ -void direct_synchronization_request__init - (DirectSynchronizationRequest *message); -size_t direct_synchronization_request__get_packed_size - (const DirectSynchronizationRequest *message); -size_t direct_synchronization_request__pack - (const DirectSynchronizationRequest *message, - uint8_t *out); -size_t direct_synchronization_request__pack_to_buffer - (const DirectSynchronizationRequest *message, - ProtobufCBuffer *buffer); -DirectSynchronizationRequest * - direct_synchronization_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void direct_synchronization_request__free_unpacked - (DirectSynchronizationRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DirectSynchronizationRequest_Closure) - (const DirectSynchronizationRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor direct_synchronization_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c deleted file mode 100644 index d37e0a020..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DirectSynchronizationResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DirectSynchronizationResponse.pb-c.h" -void direct_synchronization_response__init - (DirectSynchronizationResponse *message) -{ - static const DirectSynchronizationResponse init_value = DIRECT_SYNCHRONIZATION_RESPONSE__INIT; - *message = init_value; -} -size_t direct_synchronization_response__get_packed_size - (const DirectSynchronizationResponse *message) -{ - assert(message->base.descriptor == &direct_synchronization_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t direct_synchronization_response__pack - (const DirectSynchronizationResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &direct_synchronization_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t direct_synchronization_response__pack_to_buffer - (const DirectSynchronizationResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &direct_synchronization_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DirectSynchronizationResponse * - direct_synchronization_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DirectSynchronizationResponse *) - protobuf_c_message_unpack (&direct_synchronization_response__descriptor, - allocator, len, data); -} -void direct_synchronization_response__free_unpacked - (DirectSynchronizationResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &direct_synchronization_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor direct_synchronization_response__field_descriptors[1] = -{ - { - "LocalDB", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(DirectSynchronizationResponse, has_localdb), - offsetof(DirectSynchronizationResponse, localdb), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned direct_synchronization_response__field_indices_by_name[] = { - 0, /* field[0] = LocalDB */ -}; -static const ProtobufCIntRange direct_synchronization_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor direct_synchronization_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DirectSynchronizationResponse", - "DirectSynchronizationResponse", - "DirectSynchronizationResponse", - "", - sizeof(DirectSynchronizationResponse), - 1, - direct_synchronization_response__field_descriptors, - direct_synchronization_response__field_indices_by_name, - 1, direct_synchronization_response__number_ranges, - (ProtobufCMessageInit) direct_synchronization_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h deleted file mode 100644 index c263b6831..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DirectSynchronizationResponse.proto */ - -#ifndef PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED -#define PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DirectSynchronizationResponse DirectSynchronizationResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DirectSynchronizationResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_localdb; - ProtobufCBinaryData localdb; -}; -#define DIRECT_SYNCHRONIZATION_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&direct_synchronization_response__descriptor) \ - , 0, {0,NULL} } - - -/* DirectSynchronizationResponse methods */ -void direct_synchronization_response__init - (DirectSynchronizationResponse *message); -size_t direct_synchronization_response__get_packed_size - (const DirectSynchronizationResponse *message); -size_t direct_synchronization_response__pack - (const DirectSynchronizationResponse *message, - uint8_t *out); -size_t direct_synchronization_response__pack_to_buffer - (const DirectSynchronizationResponse *message, - ProtobufCBuffer *buffer); -DirectSynchronizationResponse * - direct_synchronization_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void direct_synchronization_response__free_unpacked - (DirectSynchronizationResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DirectSynchronizationResponse_Closure) - (const DirectSynchronizationResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor direct_synchronization_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.c deleted file mode 100644 index b8a8d9c6e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalBridgeUdpDiscoveryPacket.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ExternalBridgeUdpDiscoveryPacket.pb-c.h" -void external_bridge_udp_discovery_packet__init - (ExternalBridgeUdpDiscoveryPacket *message) -{ - static const ExternalBridgeUdpDiscoveryPacket init_value = EXTERNAL_BRIDGE_UDP_DISCOVERY_PACKET__INIT; - *message = init_value; -} -size_t external_bridge_udp_discovery_packet__get_packed_size - (const ExternalBridgeUdpDiscoveryPacket *message) -{ - assert(message->base.descriptor == &external_bridge_udp_discovery_packet__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t external_bridge_udp_discovery_packet__pack - (const ExternalBridgeUdpDiscoveryPacket *message, - uint8_t *out) -{ - assert(message->base.descriptor == &external_bridge_udp_discovery_packet__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t external_bridge_udp_discovery_packet__pack_to_buffer - (const ExternalBridgeUdpDiscoveryPacket *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &external_bridge_udp_discovery_packet__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ExternalBridgeUdpDiscoveryPacket * - external_bridge_udp_discovery_packet__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ExternalBridgeUdpDiscoveryPacket *) - protobuf_c_message_unpack (&external_bridge_udp_discovery_packet__descriptor, - allocator, len, data); -} -void external_bridge_udp_discovery_packet__free_unpacked - (ExternalBridgeUdpDiscoveryPacket *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &external_bridge_udp_discovery_packet__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor external_bridge_udp_discovery_packet__field_descriptors[1] = -{ - { - "SerialNumber", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(ExternalBridgeUdpDiscoveryPacket, serialnumber), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned external_bridge_udp_discovery_packet__field_indices_by_name[] = { - 0, /* field[0] = SerialNumber */ -}; -static const ProtobufCIntRange external_bridge_udp_discovery_packet__number_ranges[1 + 1] = -{ - { 2, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor external_bridge_udp_discovery_packet__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ExternalBridgeUdpDiscoveryPacket", - "ExternalBridgeUdpDiscoveryPacket", - "ExternalBridgeUdpDiscoveryPacket", - "", - sizeof(ExternalBridgeUdpDiscoveryPacket), - 1, - external_bridge_udp_discovery_packet__field_descriptors, - external_bridge_udp_discovery_packet__field_indices_by_name, - 1, external_bridge_udp_discovery_packet__number_ranges, - (ProtobufCMessageInit) external_bridge_udp_discovery_packet__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.h deleted file mode 100644 index f40ade127..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalBridgeUdpDiscoveryPacket.pb-c.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalBridgeUdpDiscoveryPacket.proto */ - -#ifndef PROTOBUF_C_ExternalBridgeUdpDiscoveryPacket_2eproto__INCLUDED -#define PROTOBUF_C_ExternalBridgeUdpDiscoveryPacket_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ExternalBridgeUdpDiscoveryPacket ExternalBridgeUdpDiscoveryPacket; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ExternalBridgeUdpDiscoveryPacket -{ - ProtobufCMessage base; - char *serialnumber; -}; -#define EXTERNAL_BRIDGE_UDP_DISCOVERY_PACKET__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&external_bridge_udp_discovery_packet__descriptor) \ - , NULL } - - -/* ExternalBridgeUdpDiscoveryPacket methods */ -void external_bridge_udp_discovery_packet__init - (ExternalBridgeUdpDiscoveryPacket *message); -size_t external_bridge_udp_discovery_packet__get_packed_size - (const ExternalBridgeUdpDiscoveryPacket *message); -size_t external_bridge_udp_discovery_packet__pack - (const ExternalBridgeUdpDiscoveryPacket *message, - uint8_t *out); -size_t external_bridge_udp_discovery_packet__pack_to_buffer - (const ExternalBridgeUdpDiscoveryPacket *message, - ProtobufCBuffer *buffer); -ExternalBridgeUdpDiscoveryPacket * - external_bridge_udp_discovery_packet__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void external_bridge_udp_discovery_packet__free_unpacked - (ExternalBridgeUdpDiscoveryPacket *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ExternalBridgeUdpDiscoveryPacket_Closure) - (const ExternalBridgeUdpDiscoveryPacket *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor external_bridge_udp_discovery_packet__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ExternalBridgeUdpDiscoveryPacket_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c deleted file mode 100644 index d4be46d19..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalClientLoginRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ExternalClientLoginRequest.pb-c.h" -void external_client_login_request__init - (ExternalClientLoginRequest *message) -{ - static const ExternalClientLoginRequest init_value = EXTERNAL_CLIENT_LOGIN_REQUEST__INIT; - *message = init_value; -} -size_t external_client_login_request__get_packed_size - (const ExternalClientLoginRequest *message) -{ - assert(message->base.descriptor == &external_client_login_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t external_client_login_request__pack - (const ExternalClientLoginRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &external_client_login_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t external_client_login_request__pack_to_buffer - (const ExternalClientLoginRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &external_client_login_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ExternalClientLoginRequest * - external_client_login_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ExternalClientLoginRequest *) - protobuf_c_message_unpack (&external_client_login_request__descriptor, - allocator, len, data); -} -void external_client_login_request__free_unpacked - (ExternalClientLoginRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &external_client_login_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor external_client_login_request__field_descriptors[1] = -{ - { - "Password", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(ExternalClientLoginRequest, password), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned external_client_login_request__field_indices_by_name[] = { - 0, /* field[0] = Password */ -}; -static const ProtobufCIntRange external_client_login_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor external_client_login_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ExternalClientLoginRequest", - "ExternalClientLoginRequest", - "ExternalClientLoginRequest", - "", - sizeof(ExternalClientLoginRequest), - 1, - external_client_login_request__field_descriptors, - external_client_login_request__field_indices_by_name, - 1, external_client_login_request__number_ranges, - (ProtobufCMessageInit) external_client_login_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h deleted file mode 100644 index 86ea53825..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalClientLoginRequest.proto */ - -#ifndef PROTOBUF_C_ExternalClientLoginRequest_2eproto__INCLUDED -#define PROTOBUF_C_ExternalClientLoginRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ExternalClientLoginRequest ExternalClientLoginRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ExternalClientLoginRequest -{ - ProtobufCMessage base; - char *password; -}; -#define EXTERNAL_CLIENT_LOGIN_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&external_client_login_request__descriptor) \ - , NULL } - - -/* ExternalClientLoginRequest methods */ -void external_client_login_request__init - (ExternalClientLoginRequest *message); -size_t external_client_login_request__get_packed_size - (const ExternalClientLoginRequest *message); -size_t external_client_login_request__pack - (const ExternalClientLoginRequest *message, - uint8_t *out); -size_t external_client_login_request__pack_to_buffer - (const ExternalClientLoginRequest *message, - ProtobufCBuffer *buffer); -ExternalClientLoginRequest * - external_client_login_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void external_client_login_request__free_unpacked - (ExternalClientLoginRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ExternalClientLoginRequest_Closure) - (const ExternalClientLoginRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor external_client_login_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ExternalClientLoginRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.c deleted file mode 100644 index 6d8646415..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalClientLoginResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ExternalClientLoginResponse.pb-c.h" -void external_client_login_response__init - (ExternalClientLoginResponse *message) -{ - static const ExternalClientLoginResponse init_value = EXTERNAL_CLIENT_LOGIN_RESPONSE__INIT; - *message = init_value; -} -size_t external_client_login_response__get_packed_size - (const ExternalClientLoginResponse *message) -{ - assert(message->base.descriptor == &external_client_login_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t external_client_login_response__pack - (const ExternalClientLoginResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &external_client_login_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t external_client_login_response__pack_to_buffer - (const ExternalClientLoginResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &external_client_login_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ExternalClientLoginResponse * - external_client_login_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ExternalClientLoginResponse *) - protobuf_c_message_unpack (&external_client_login_response__descriptor, - allocator, len, data); -} -void external_client_login_response__free_unpacked - (ExternalClientLoginResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &external_client_login_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor external_client_login_response__field_descriptors[2] = -{ - { - "Authenticated", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(ExternalClientLoginResponse, has_authenticated), - offsetof(ExternalClientLoginResponse, authenticated), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SerialNumber", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(ExternalClientLoginResponse, serialnumber), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned external_client_login_response__field_indices_by_name[] = { - 0, /* field[0] = Authenticated */ - 1, /* field[1] = SerialNumber */ -}; -static const ProtobufCIntRange external_client_login_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor external_client_login_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ExternalClientLoginResponse", - "ExternalClientLoginResponse", - "ExternalClientLoginResponse", - "", - sizeof(ExternalClientLoginResponse), - 2, - external_client_login_response__field_descriptors, - external_client_login_response__field_indices_by_name, - 1, external_client_login_response__number_ranges, - (ProtobufCMessageInit) external_client_login_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.h deleted file mode 100644 index 46bdf15df..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginResponse.pb-c.h +++ /dev/null @@ -1,73 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ExternalClientLoginResponse.proto */ - -#ifndef PROTOBUF_C_ExternalClientLoginResponse_2eproto__INCLUDED -#define PROTOBUF_C_ExternalClientLoginResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ExternalClientLoginResponse ExternalClientLoginResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ExternalClientLoginResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_authenticated; - protobuf_c_boolean authenticated; - char *serialnumber; -}; -#define EXTERNAL_CLIENT_LOGIN_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&external_client_login_response__descriptor) \ - , 0, 0, NULL } - - -/* ExternalClientLoginResponse methods */ -void external_client_login_response__init - (ExternalClientLoginResponse *message); -size_t external_client_login_response__get_packed_size - (const ExternalClientLoginResponse *message); -size_t external_client_login_response__pack - (const ExternalClientLoginResponse *message, - uint8_t *out); -size_t external_client_login_response__pack_to_buffer - (const ExternalClientLoginResponse *message, - ProtobufCBuffer *buffer); -ExternalClientLoginResponse * - external_client_login_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void external_client_login_response__free_unpacked - (ExternalClientLoginResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ExternalClientLoginResponse_Closure) - (const ExternalClientLoginResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor external_client_login_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ExternalClientLoginResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c deleted file mode 100644 index 5c80a3949..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OverrideDataBaseRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "OverrideDataBaseRequest.pb-c.h" -void override_data_base_request__init - (OverrideDataBaseRequest *message) -{ - static const OverrideDataBaseRequest init_value = OVERRIDE_DATA_BASE_REQUEST__INIT; - *message = init_value; -} -size_t override_data_base_request__get_packed_size - (const OverrideDataBaseRequest *message) -{ - assert(message->base.descriptor == &override_data_base_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t override_data_base_request__pack - (const OverrideDataBaseRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &override_data_base_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t override_data_base_request__pack_to_buffer - (const OverrideDataBaseRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &override_data_base_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -OverrideDataBaseRequest * - override_data_base_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (OverrideDataBaseRequest *) - protobuf_c_message_unpack (&override_data_base_request__descriptor, - allocator, len, data); -} -void override_data_base_request__free_unpacked - (OverrideDataBaseRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &override_data_base_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor override_data_base_request__field_descriptors[1] = -{ - { - "RemoteDB", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(OverrideDataBaseRequest, has_remotedb), - offsetof(OverrideDataBaseRequest, remotedb), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned override_data_base_request__field_indices_by_name[] = { - 0, /* field[0] = RemoteDB */ -}; -static const ProtobufCIntRange override_data_base_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor override_data_base_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "OverrideDataBaseRequest", - "OverrideDataBaseRequest", - "OverrideDataBaseRequest", - "", - sizeof(OverrideDataBaseRequest), - 1, - override_data_base_request__field_descriptors, - override_data_base_request__field_indices_by_name, - 1, override_data_base_request__number_ranges, - (ProtobufCMessageInit) override_data_base_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h deleted file mode 100644 index e73ab63cc..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OverrideDataBaseRequest.proto */ - -#ifndef PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED -#define PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _OverrideDataBaseRequest OverrideDataBaseRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _OverrideDataBaseRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_remotedb; - ProtobufCBinaryData remotedb; -}; -#define OVERRIDE_DATA_BASE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&override_data_base_request__descriptor) \ - , 0, {0,NULL} } - - -/* OverrideDataBaseRequest methods */ -void override_data_base_request__init - (OverrideDataBaseRequest *message); -size_t override_data_base_request__get_packed_size - (const OverrideDataBaseRequest *message); -size_t override_data_base_request__pack - (const OverrideDataBaseRequest *message, - uint8_t *out); -size_t override_data_base_request__pack_to_buffer - (const OverrideDataBaseRequest *message, - ProtobufCBuffer *buffer); -OverrideDataBaseRequest * - override_data_base_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void override_data_base_request__free_unpacked - (OverrideDataBaseRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*OverrideDataBaseRequest_Closure) - (const OverrideDataBaseRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor override_data_base_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c deleted file mode 100644 index fe11e66f0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OverrideDataBaseResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "OverrideDataBaseResponse.pb-c.h" -void override_data_base_response__init - (OverrideDataBaseResponse *message) -{ - static const OverrideDataBaseResponse init_value = OVERRIDE_DATA_BASE_RESPONSE__INIT; - *message = init_value; -} -size_t override_data_base_response__get_packed_size - (const OverrideDataBaseResponse *message) -{ - assert(message->base.descriptor == &override_data_base_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t override_data_base_response__pack - (const OverrideDataBaseResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &override_data_base_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t override_data_base_response__pack_to_buffer - (const OverrideDataBaseResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &override_data_base_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -OverrideDataBaseResponse * - override_data_base_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (OverrideDataBaseResponse *) - protobuf_c_message_unpack (&override_data_base_response__descriptor, - allocator, len, data); -} -void override_data_base_response__free_unpacked - (OverrideDataBaseResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &override_data_base_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor override_data_base_response__field_descriptors[1] = -{ - { - "Successful", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(OverrideDataBaseResponse, has_successful), - offsetof(OverrideDataBaseResponse, successful), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned override_data_base_response__field_indices_by_name[] = { - 0, /* field[0] = Successful */ -}; -static const ProtobufCIntRange override_data_base_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor override_data_base_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "OverrideDataBaseResponse", - "OverrideDataBaseResponse", - "OverrideDataBaseResponse", - "", - sizeof(OverrideDataBaseResponse), - 1, - override_data_base_response__field_descriptors, - override_data_base_response__field_indices_by_name, - 1, override_data_base_response__number_ranges, - (ProtobufCMessageInit) override_data_base_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h deleted file mode 100644 index 339349441..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OverrideDataBaseResponse.proto */ - -#ifndef PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED -#define PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _OverrideDataBaseResponse OverrideDataBaseResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _OverrideDataBaseResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_successful; - protobuf_c_boolean successful; -}; -#define OVERRIDE_DATA_BASE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&override_data_base_response__descriptor) \ - , 0, 0 } - - -/* OverrideDataBaseResponse methods */ -void override_data_base_response__init - (OverrideDataBaseResponse *message); -size_t override_data_base_response__get_packed_size - (const OverrideDataBaseResponse *message); -size_t override_data_base_response__pack - (const OverrideDataBaseResponse *message, - uint8_t *out); -size_t override_data_base_response__pack_to_buffer - (const OverrideDataBaseResponse *message, - ProtobufCBuffer *buffer); -OverrideDataBaseResponse * - override_data_base_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void override_data_base_response__free_unpacked - (OverrideDataBaseResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*OverrideDataBaseResponse_Closure) - (const OverrideDataBaseResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor override_data_base_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.c deleted file mode 100644 index 0213521e5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Job.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "Job.pb-c.h" -void job__init - (Job *message) -{ - static const Job init_value = JOB__INIT; - *message = init_value; -} -size_t job__get_packed_size - (const Job *message) -{ - assert(message->base.descriptor == &job__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job__pack - (const Job *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job__pack_to_buffer - (const Job *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Job * - job__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Job *) - protobuf_c_message_unpack (&job__descriptor, - allocator, len, data); -} -void job__free_unpacked - (Job *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job__field_descriptors[2] = -{ - { - "Name", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(Job, name), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Segments", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(Job, n_segments), - offsetof(Job, segments), - &segment__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job__field_indices_by_name[] = { - 0, /* field[0] = Name */ - 1, /* field[1] = Segments */ -}; -static const ProtobufCIntRange job__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor job__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Job", - "Job", - "Job", - "", - sizeof(Job), - 2, - job__field_descriptors, - job__field_indices_by_name, - 1, job__number_ranges, - (ProtobufCMessageInit) job__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.h deleted file mode 100644 index c94f78bbb..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Job.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Job.proto */ - -#ifndef PROTOBUF_C_Job_2eproto__INCLUDED -#define PROTOBUF_C_Job_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "Segment.pb-c.h" - -typedef struct _Job Job; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _Job -{ - ProtobufCMessage base; - char *name; - size_t n_segments; - Segment **segments; -}; -#define JOB__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job__descriptor) \ - , NULL, 0,NULL } - - -/* Job methods */ -void job__init - (Job *message); -size_t job__get_packed_size - (const Job *message); -size_t job__pack - (const Job *message, - uint8_t *out); -size_t job__pack_to_buffer - (const Job *message, - ProtobufCBuffer *buffer); -Job * - job__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job__free_unpacked - (Job *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*Job_Closure) - (const Job *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_Job_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.c deleted file mode 100644 index 764b6721b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Segment.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "Segment.pb-c.h" -void segment__init - (Segment *message) -{ - static const Segment init_value = SEGMENT__INIT; - *message = init_value; -} -size_t segment__get_packed_size - (const Segment *message) -{ - assert(message->base.descriptor == &segment__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t segment__pack - (const Segment *message, - uint8_t *out) -{ - assert(message->base.descriptor == &segment__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t segment__pack_to_buffer - (const Segment *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &segment__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Segment * - segment__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Segment *) - protobuf_c_message_unpack (&segment__descriptor, - allocator, len, data); -} -void segment__free_unpacked - (Segment *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &segment__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor segment__field_descriptors[3] = -{ - { - "Name", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(Segment, name), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Segment, has_length), - offsetof(Segment, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Color", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Segment, color), - &rgb__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned segment__field_indices_by_name[] = { - 2, /* field[2] = Color */ - 1, /* field[1] = Length */ - 0, /* field[0] = Name */ -}; -static const ProtobufCIntRange segment__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor segment__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Segment", - "Segment", - "Segment", - "", - sizeof(Segment), - 3, - segment__field_descriptors, - segment__field_indices_by_name, - 1, segment__number_ranges, - (ProtobufCMessageInit) segment__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.h deleted file mode 100644 index 5991f3228..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Jobs/Segment.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: Segment.proto */ - -#ifndef PROTOBUF_C_Segment_2eproto__INCLUDED -#define PROTOBUF_C_Segment_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "RGB.pb-c.h" - -typedef struct _Segment Segment; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _Segment -{ - ProtobufCMessage base; - char *name; - protobuf_c_boolean has_length; - int32_t length; - RGB *color; -}; -#define SEGMENT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&segment__descriptor) \ - , NULL, 0, 0, NULL } - - -/* Segment methods */ -void segment__init - (Segment *message); -size_t segment__get_packed_size - (const Segment *message); -size_t segment__pack - (const Segment *message, - uint8_t *out); -size_t segment__pack_to_buffer - (const Segment *message, - ProtobufCBuffer *buffer); -Segment * - segment__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void segment__free_unpacked - (Segment *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*Segment_Closure) - (const Segment *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor segment__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_Segment_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c deleted file mode 100644 index a2b2826c0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AbortJobRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "AbortJobRequest.pb-c.h" -void abort_job_request__init - (AbortJobRequest *message) -{ - static const AbortJobRequest init_value = ABORT_JOB_REQUEST__INIT; - *message = init_value; -} -size_t abort_job_request__get_packed_size - (const AbortJobRequest *message) -{ - assert(message->base.descriptor == &abort_job_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t abort_job_request__pack - (const AbortJobRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &abort_job_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t abort_job_request__pack_to_buffer - (const AbortJobRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &abort_job_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -AbortJobRequest * - abort_job_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (AbortJobRequest *) - protobuf_c_message_unpack (&abort_job_request__descriptor, - allocator, len, data); -} -void abort_job_request__free_unpacked - (AbortJobRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &abort_job_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define abort_job_request__field_descriptors NULL -#define abort_job_request__field_indices_by_name NULL -#define abort_job_request__number_ranges NULL -const ProtobufCMessageDescriptor abort_job_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "AbortJobRequest", - "AbortJobRequest", - "AbortJobRequest", - "", - sizeof(AbortJobRequest), - 0, - abort_job_request__field_descriptors, - abort_job_request__field_indices_by_name, - 0, abort_job_request__number_ranges, - (ProtobufCMessageInit) abort_job_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h deleted file mode 100644 index 1635e0458..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AbortJobRequest.proto */ - -#ifndef PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED -#define PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _AbortJobRequest AbortJobRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _AbortJobRequest -{ - ProtobufCMessage base; -}; -#define ABORT_JOB_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&abort_job_request__descriptor) \ - } - - -/* AbortJobRequest methods */ -void abort_job_request__init - (AbortJobRequest *message); -size_t abort_job_request__get_packed_size - (const AbortJobRequest *message); -size_t abort_job_request__pack - (const AbortJobRequest *message, - uint8_t *out); -size_t abort_job_request__pack_to_buffer - (const AbortJobRequest *message, - ProtobufCBuffer *buffer); -AbortJobRequest * - abort_job_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void abort_job_request__free_unpacked - (AbortJobRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*AbortJobRequest_Closure) - (const AbortJobRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor abort_job_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c deleted file mode 100644 index 7a6f4e341..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AbortJobResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "AbortJobResponse.pb-c.h" -void abort_job_response__init - (AbortJobResponse *message) -{ - static const AbortJobResponse init_value = ABORT_JOB_RESPONSE__INIT; - *message = init_value; -} -size_t abort_job_response__get_packed_size - (const AbortJobResponse *message) -{ - assert(message->base.descriptor == &abort_job_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t abort_job_response__pack - (const AbortJobResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &abort_job_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t abort_job_response__pack_to_buffer - (const AbortJobResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &abort_job_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -AbortJobResponse * - abort_job_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (AbortJobResponse *) - protobuf_c_message_unpack (&abort_job_response__descriptor, - allocator, len, data); -} -void abort_job_response__free_unpacked - (AbortJobResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &abort_job_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define abort_job_response__field_descriptors NULL -#define abort_job_response__field_indices_by_name NULL -#define abort_job_response__number_ranges NULL -const ProtobufCMessageDescriptor abort_job_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "AbortJobResponse", - "AbortJobResponse", - "AbortJobResponse", - "", - sizeof(AbortJobResponse), - 0, - abort_job_response__field_descriptors, - abort_job_response__field_indices_by_name, - 0, abort_job_response__number_ranges, - (ProtobufCMessageInit) abort_job_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h deleted file mode 100644 index 66c887250..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: AbortJobResponse.proto */ - -#ifndef PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED -#define PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _AbortJobResponse AbortJobResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _AbortJobResponse -{ - ProtobufCMessage base; -}; -#define ABORT_JOB_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&abort_job_response__descriptor) \ - } - - -/* AbortJobResponse methods */ -void abort_job_response__init - (AbortJobResponse *message); -size_t abort_job_response__get_packed_size - (const AbortJobResponse *message); -size_t abort_job_response__pack - (const AbortJobResponse *message, - uint8_t *out); -size_t abort_job_response__pack_to_buffer - (const AbortJobResponse *message, - ProtobufCBuffer *buffer); -AbortJobResponse * - abort_job_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void abort_job_response__free_unpacked - (AbortJobResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*AbortJobResponse_Closure) - (const AbortJobResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor abort_job_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.c deleted file mode 100644 index 15fe539f2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserLiquidType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserLiquidType.pb-c.h" -static const ProtobufCEnumValue dispenser_liquid_type__enum_values_by_number[7] = -{ - { "Cyan", "DISPENSER_LIQUID_TYPE__Cyan", 0 }, - { "Magenta", "DISPENSER_LIQUID_TYPE__Magenta", 1 }, - { "Yellow", "DISPENSER_LIQUID_TYPE__Yellow", 2 }, - { "Black", "DISPENSER_LIQUID_TYPE__Black", 3 }, - { "TransparentInk", "DISPENSER_LIQUID_TYPE__TransparentInk", 4 }, - { "Lubricant", "DISPENSER_LIQUID_TYPE__Lubricant", 5 }, - { "Red", "DISPENSER_LIQUID_TYPE__Red", 7 }, -}; -static const ProtobufCIntRange dispenser_liquid_type__value_ranges[] = { -{0, 0},{7, 6},{0, 7} -}; -static const ProtobufCEnumValueIndex dispenser_liquid_type__enum_values_by_name[7] = -{ - { "Black", 3 }, - { "Cyan", 0 }, - { "Lubricant", 5 }, - { "Magenta", 1 }, - { "Red", 6 }, - { "TransparentInk", 4 }, - { "Yellow", 2 }, -}; -const ProtobufCEnumDescriptor dispenser_liquid_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "DispenserLiquidType", - "DispenserLiquidType", - "DispenserLiquidType", - "", - 7, - dispenser_liquid_type__enum_values_by_number, - 7, - dispenser_liquid_type__enum_values_by_name, - 2, - dispenser_liquid_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.h deleted file mode 100644 index a6ae3e867..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserLiquidType.pb-c.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserLiquidType.proto */ - -#ifndef PROTOBUF_C_DispenserLiquidType_2eproto__INCLUDED -#define PROTOBUF_C_DispenserLiquidType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _DispenserLiquidType { - DISPENSER_LIQUID_TYPE__Cyan = 0, - DISPENSER_LIQUID_TYPE__Magenta = 1, - DISPENSER_LIQUID_TYPE__Yellow = 2, - DISPENSER_LIQUID_TYPE__Black = 3, - DISPENSER_LIQUID_TYPE__TransparentInk = 4, - DISPENSER_LIQUID_TYPE__Lubricant = 5, - DISPENSER_LIQUID_TYPE__Red = 7 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(DISPENSER_LIQUID_TYPE) -} DispenserLiquidType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor dispenser_liquid_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserLiquidType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.c deleted file mode 100644 index 38da8a46b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.c +++ /dev/null @@ -1,51 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserStepDivision.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DispenserStepDivision.pb-c.h" -static const ProtobufCEnumValue dispenser_step_division__enum_values_by_number[9] = -{ - { "Auto", "DISPENSER_STEP_DIVISION__Auto", 0 }, - { "D1", "DISPENSER_STEP_DIVISION__D1", 1 }, - { "D2", "DISPENSER_STEP_DIVISION__D2", 2 }, - { "D4", "DISPENSER_STEP_DIVISION__D4", 4 }, - { "D8", "DISPENSER_STEP_DIVISION__D8", 8 }, - { "D16", "DISPENSER_STEP_DIVISION__D16", 16 }, - { "D32", "DISPENSER_STEP_DIVISION__D32", 32 }, - { "D64", "DISPENSER_STEP_DIVISION__D64", 64 }, - { "D128", "DISPENSER_STEP_DIVISION__D128", 128 }, -}; -static const ProtobufCIntRange dispenser_step_division__value_ranges[] = { -{0, 0},{4, 3},{8, 4},{16, 5},{32, 6},{64, 7},{128, 8},{0, 9} -}; -static const ProtobufCEnumValueIndex dispenser_step_division__enum_values_by_name[9] = -{ - { "Auto", 0 }, - { "D1", 1 }, - { "D128", 8 }, - { "D16", 5 }, - { "D2", 2 }, - { "D32", 6 }, - { "D4", 3 }, - { "D64", 7 }, - { "D8", 4 }, -}; -const ProtobufCEnumDescriptor dispenser_step_division__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "DispenserStepDivision", - "DispenserStepDivision", - "DispenserStepDivision", - "", - 9, - dispenser_step_division__enum_values_by_number, - 9, - dispenser_step_division__enum_values_by_name, - 7, - dispenser_step_division__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.h deleted file mode 100644 index 42e340daa..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/DispenserStepDivision.pb-c.h +++ /dev/null @@ -1,50 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DispenserStepDivision.proto */ - -#ifndef PROTOBUF_C_DispenserStepDivision_2eproto__INCLUDED -#define PROTOBUF_C_DispenserStepDivision_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _DispenserStepDivision { - DISPENSER_STEP_DIVISION__Auto = 0, - DISPENSER_STEP_DIVISION__D1 = 1, - DISPENSER_STEP_DIVISION__D2 = 2, - DISPENSER_STEP_DIVISION__D4 = 4, - DISPENSER_STEP_DIVISION__D8 = 8, - DISPENSER_STEP_DIVISION__D16 = 16, - DISPENSER_STEP_DIVISION__D32 = 32, - DISPENSER_STEP_DIVISION__D64 = 64, - DISPENSER_STEP_DIVISION__D128 = 128 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(DISPENSER_STEP_DIVISION) -} DispenserStepDivision; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor dispenser_step_division__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DispenserStepDivision_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.c deleted file mode 100644 index 45e10394b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobBrushStop.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobBrushStop.pb-c.h" -void job_brush_stop__init - (JobBrushStop *message) -{ - static const JobBrushStop init_value = JOB_BRUSH_STOP__INIT; - *message = init_value; -} -size_t job_brush_stop__get_packed_size - (const JobBrushStop *message) -{ - assert(message->base.descriptor == &job_brush_stop__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_brush_stop__pack - (const JobBrushStop *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_brush_stop__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_brush_stop__pack_to_buffer - (const JobBrushStop *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_brush_stop__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobBrushStop * - job_brush_stop__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobBrushStop *) - protobuf_c_message_unpack (&job_brush_stop__descriptor, - allocator, len, data); -} -void job_brush_stop__free_unpacked - (JobBrushStop *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_brush_stop__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_brush_stop__field_descriptors[4] = -{ - { - "Index", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobBrushStop, has_index), - offsetof(JobBrushStop, index), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OffsetPercent", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobBrushStop, has_offsetpercent), - offsetof(JobBrushStop, offsetpercent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OffsetMeters", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobBrushStop, has_offsetmeters), - offsetof(JobBrushStop, offsetmeters), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Dispensers", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(JobBrushStop, n_dispensers), - offsetof(JobBrushStop, dispensers), - &job_dispenser__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_brush_stop__field_indices_by_name[] = { - 3, /* field[3] = Dispensers */ - 0, /* field[0] = Index */ - 2, /* field[2] = OffsetMeters */ - 1, /* field[1] = OffsetPercent */ -}; -static const ProtobufCIntRange job_brush_stop__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor job_brush_stop__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobBrushStop", - "JobBrushStop", - "JobBrushStop", - "", - sizeof(JobBrushStop), - 4, - job_brush_stop__field_descriptors, - job_brush_stop__field_indices_by_name, - 1, job_brush_stop__number_ranges, - (ProtobufCMessageInit) job_brush_stop__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.h deleted file mode 100644 index 6e887a448..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobBrushStop.pb-c.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobBrushStop.proto */ - -#ifndef PROTOBUF_C_JobBrushStop_2eproto__INCLUDED -#define PROTOBUF_C_JobBrushStop_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobDispenser.pb-c.h" - -typedef struct _JobBrushStop JobBrushStop; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobBrushStop -{ - ProtobufCMessage base; - protobuf_c_boolean has_index; - int32_t index; - protobuf_c_boolean has_offsetpercent; - double offsetpercent; - protobuf_c_boolean has_offsetmeters; - double offsetmeters; - size_t n_dispensers; - JobDispenser **dispensers; -}; -#define JOB_BRUSH_STOP__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_brush_stop__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0,NULL } - - -/* JobBrushStop methods */ -void job_brush_stop__init - (JobBrushStop *message); -size_t job_brush_stop__get_packed_size - (const JobBrushStop *message); -size_t job_brush_stop__pack - (const JobBrushStop *message, - uint8_t *out); -size_t job_brush_stop__pack_to_buffer - (const JobBrushStop *message, - ProtobufCBuffer *buffer); -JobBrushStop * - job_brush_stop__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_brush_stop__free_unpacked - (JobBrushStop *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobBrushStop_Closure) - (const JobBrushStop *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_brush_stop__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobBrushStop_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.c deleted file mode 100644 index f868d121e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.c +++ /dev/null @@ -1,196 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobDispenser.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobDispenser.pb-c.h" -void job_dispenser__init - (JobDispenser *message) -{ - static const JobDispenser init_value = JOB_DISPENSER__INIT; - *message = init_value; -} -size_t job_dispenser__get_packed_size - (const JobDispenser *message) -{ - assert(message->base.descriptor == &job_dispenser__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_dispenser__pack - (const JobDispenser *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_dispenser__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_dispenser__pack_to_buffer - (const JobDispenser *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_dispenser__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobDispenser * - job_dispenser__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobDispenser *) - protobuf_c_message_unpack (&job_dispenser__descriptor, - allocator, len, data); -} -void job_dispenser__free_unpacked - (JobDispenser *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_dispenser__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_dispenser__field_descriptors[9] = -{ - { - "Index", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobDispenser, has_index), - offsetof(JobDispenser, index), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Volume", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_volume), - offsetof(JobDispenser, volume), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DispenserStepDivision", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(JobDispenser, has_dispenserstepdivision), - offsetof(JobDispenser, dispenserstepdivision), - &dispenser_step_division__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "NanolitterPerSecond", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_nanolitterpersecond), - offsetof(JobDispenser, nanolitterpersecond), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "NanoliterPerCentimeter", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_nanoliterpercentimeter), - offsetof(JobDispenser, nanoliterpercentimeter), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PulsePerSecond", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_pulsepersecond), - offsetof(JobDispenser, pulsepersecond), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DispenserLiquidType", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(JobDispenser, has_dispenserliquidtype), - offsetof(JobDispenser, dispenserliquidtype), - &dispenser_liquid_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LiquidMaxNanoliterPerCentimeter", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_liquidmaxnanoliterpercentimeter), - offsetof(JobDispenser, liquidmaxnanoliterpercentimeter), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "NanoliterPerPulse", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobDispenser, has_nanoliterperpulse), - offsetof(JobDispenser, nanoliterperpulse), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_dispenser__field_indices_by_name[] = { - 6, /* field[6] = DispenserLiquidType */ - 2, /* field[2] = DispenserStepDivision */ - 0, /* field[0] = Index */ - 7, /* field[7] = LiquidMaxNanoliterPerCentimeter */ - 4, /* field[4] = NanoliterPerCentimeter */ - 8, /* field[8] = NanoliterPerPulse */ - 3, /* field[3] = NanolitterPerSecond */ - 5, /* field[5] = PulsePerSecond */ - 1, /* field[1] = Volume */ -}; -static const ProtobufCIntRange job_dispenser__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor job_dispenser__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobDispenser", - "JobDispenser", - "JobDispenser", - "", - sizeof(JobDispenser), - 9, - job_dispenser__field_descriptors, - job_dispenser__field_indices_by_name, - 1, job_dispenser__number_ranges, - (ProtobufCMessageInit) job_dispenser__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.h deleted file mode 100644 index 2b21e265c..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobDispenser.pb-c.h +++ /dev/null @@ -1,90 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobDispenser.proto */ - -#ifndef PROTOBUF_C_JobDispenser_2eproto__INCLUDED -#define PROTOBUF_C_JobDispenser_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "DispenserStepDivision.pb-c.h" -#include "DispenserLiquidType.pb-c.h" - -typedef struct _JobDispenser JobDispenser; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobDispenser -{ - ProtobufCMessage base; - protobuf_c_boolean has_index; - int32_t index; - protobuf_c_boolean has_volume; - double volume; - protobuf_c_boolean has_dispenserstepdivision; - DispenserStepDivision dispenserstepdivision; - protobuf_c_boolean has_nanolitterpersecond; - double nanolitterpersecond; - protobuf_c_boolean has_nanoliterpercentimeter; - double nanoliterpercentimeter; - protobuf_c_boolean has_pulsepersecond; - double pulsepersecond; - protobuf_c_boolean has_dispenserliquidtype; - DispenserLiquidType dispenserliquidtype; - protobuf_c_boolean has_liquidmaxnanoliterpercentimeter; - double liquidmaxnanoliterpercentimeter; - protobuf_c_boolean has_nanoliterperpulse; - double nanoliterperpulse; -}; -#define JOB_DISPENSER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_dispenser__descriptor) \ - , 0, 0, 0, 0, 0, DISPENSER_STEP_DIVISION__Auto, 0, 0, 0, 0, 0, 0, 0, DISPENSER_LIQUID_TYPE__Cyan, 0, 0, 0, 0 } - - -/* JobDispenser methods */ -void job_dispenser__init - (JobDispenser *message); -size_t job_dispenser__get_packed_size - (const JobDispenser *message); -size_t job_dispenser__pack - (const JobDispenser *message, - uint8_t *out); -size_t job_dispenser__pack_to_buffer - (const JobDispenser *message, - ProtobufCBuffer *buffer); -JobDispenser * - job_dispenser__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_dispenser__free_unpacked - (JobDispenser *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobDispenser_Closure) - (const JobDispenser *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_dispenser__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobDispenser_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c deleted file mode 100644 index d1e101dfd..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobRequest.pb-c.h" -void job_request__init - (JobRequest *message) -{ - static const JobRequest init_value = JOB_REQUEST__INIT; - *message = init_value; -} -size_t job_request__get_packed_size - (const JobRequest *message) -{ - assert(message->base.descriptor == &job_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_request__pack - (const JobRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_request__pack_to_buffer - (const JobRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobRequest * - job_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobRequest *) - protobuf_c_message_unpack (&job_request__descriptor, - allocator, len, data); -} -void job_request__free_unpacked - (JobRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_request__field_descriptors[1] = -{ - { - "JobTicket", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(JobRequest, jobticket), - &job_ticket__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_request__field_indices_by_name[] = { - 0, /* field[0] = JobTicket */ -}; -static const ProtobufCIntRange job_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor job_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobRequest", - "JobRequest", - "JobRequest", - "", - sizeof(JobRequest), - 1, - job_request__field_descriptors, - job_request__field_indices_by_name, - 1, job_request__number_ranges, - (ProtobufCMessageInit) job_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h deleted file mode 100644 index 224db64af..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobRequest.proto */ - -#ifndef PROTOBUF_C_JobRequest_2eproto__INCLUDED -#define PROTOBUF_C_JobRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobTicket.pb-c.h" - -typedef struct _JobRequest JobRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobRequest -{ - ProtobufCMessage base; - JobTicket *jobticket; -}; -#define JOB_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_request__descriptor) \ - , NULL } - - -/* JobRequest methods */ -void job_request__init - (JobRequest *message); -size_t job_request__get_packed_size - (const JobRequest *message); -size_t job_request__pack - (const JobRequest *message, - uint8_t *out); -size_t job_request__pack_to_buffer - (const JobRequest *message, - ProtobufCBuffer *buffer); -JobRequest * - job_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_request__free_unpacked - (JobRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobRequest_Closure) - (const JobRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c deleted file mode 100644 index 692f2df66..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobResponse.pb-c.h" -void job_response__init - (JobResponse *message) -{ - static const JobResponse init_value = JOB_RESPONSE__INIT; - *message = init_value; -} -size_t job_response__get_packed_size - (const JobResponse *message) -{ - assert(message->base.descriptor == &job_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_response__pack - (const JobResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_response__pack_to_buffer - (const JobResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobResponse * - job_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobResponse *) - protobuf_c_message_unpack (&job_response__descriptor, - allocator, len, data); -} -void job_response__free_unpacked - (JobResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_response__field_descriptors[2] = -{ - { - "Status", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(JobResponse, status), - &job_status__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Canceled", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(JobResponse, has_canceled), - offsetof(JobResponse, canceled), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_response__field_indices_by_name[] = { - 1, /* field[1] = Canceled */ - 0, /* field[0] = Status */ -}; -static const ProtobufCIntRange job_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor job_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobResponse", - "JobResponse", - "JobResponse", - "", - sizeof(JobResponse), - 2, - job_response__field_descriptors, - job_response__field_indices_by_name, - 1, job_response__number_ranges, - (ProtobufCMessageInit) job_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h deleted file mode 100644 index 56efcd106..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobResponse.proto */ - -#ifndef PROTOBUF_C_JobResponse_2eproto__INCLUDED -#define PROTOBUF_C_JobResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobStatus.pb-c.h" - -typedef struct _JobResponse JobResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobResponse -{ - ProtobufCMessage base; - JobStatus *status; - protobuf_c_boolean has_canceled; - protobuf_c_boolean canceled; -}; -#define JOB_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_response__descriptor) \ - , NULL, 0, 0 } - - -/* JobResponse methods */ -void job_response__init - (JobResponse *message); -size_t job_response__get_packed_size - (const JobResponse *message); -size_t job_response__pack - (const JobResponse *message, - uint8_t *out); -size_t job_response__pack_to_buffer - (const JobResponse *message, - ProtobufCBuffer *buffer); -JobResponse * - job_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_response__free_unpacked - (JobResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobResponse_Closure) - (const JobResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c deleted file mode 100644 index 8b1710079..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSegment.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobSegment.pb-c.h" -void job_segment__init - (JobSegment *message) -{ - static const JobSegment init_value = JOB_SEGMENT__INIT; - *message = init_value; -} -size_t job_segment__get_packed_size - (const JobSegment *message) -{ - assert(message->base.descriptor == &job_segment__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_segment__pack - (const JobSegment *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_segment__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_segment__pack_to_buffer - (const JobSegment *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_segment__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobSegment * - job_segment__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobSegment *) - protobuf_c_message_unpack (&job_segment__descriptor, - allocator, len, data); -} -void job_segment__free_unpacked - (JobSegment *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_segment__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_segment__field_descriptors[3] = -{ - { - "Name", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(JobSegment, name), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobSegment, has_length), - offsetof(JobSegment, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BrushStops", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(JobSegment, n_brushstops), - offsetof(JobSegment, brushstops), - &job_brush_stop__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_segment__field_indices_by_name[] = { - 2, /* field[2] = BrushStops */ - 1, /* field[1] = Length */ - 0, /* field[0] = Name */ -}; -static const ProtobufCIntRange job_segment__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor job_segment__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobSegment", - "JobSegment", - "JobSegment", - "", - sizeof(JobSegment), - 3, - job_segment__field_descriptors, - job_segment__field_indices_by_name, - 1, job_segment__number_ranges, - (ProtobufCMessageInit) job_segment__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h deleted file mode 100644 index 2c077abaa..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSegment.proto */ - -#ifndef PROTOBUF_C_JobSegment_2eproto__INCLUDED -#define PROTOBUF_C_JobSegment_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobBrushStop.pb-c.h" - -typedef struct _JobSegment JobSegment; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobSegment -{ - ProtobufCMessage base; - char *name; - protobuf_c_boolean has_length; - double length; - size_t n_brushstops; - JobBrushStop **brushstops; -}; -#define JOB_SEGMENT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_segment__descriptor) \ - , NULL, 0, 0, 0,NULL } - - -/* JobSegment methods */ -void job_segment__init - (JobSegment *message); -size_t job_segment__get_packed_size - (const JobSegment *message); -size_t job_segment__pack - (const JobSegment *message, - uint8_t *out); -size_t job_segment__pack_to_buffer - (const JobSegment *message, - ProtobufCBuffer *buffer); -JobSegment * - job_segment__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_segment__free_unpacked - (JobSegment *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobSegment_Closure) - (const JobSegment *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_segment__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobSegment_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.c deleted file mode 100644 index 329c9e701..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSpool.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobSpool.pb-c.h" -void job_spool__init - (JobSpool *message) -{ - static const JobSpool init_value = JOB_SPOOL__INIT; - *message = init_value; -} -size_t job_spool__get_packed_size - (const JobSpool *message) -{ - assert(message->base.descriptor == &job_spool__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_spool__pack - (const JobSpool *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_spool__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_spool__pack_to_buffer - (const JobSpool *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_spool__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobSpool * - job_spool__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobSpool *) - protobuf_c_message_unpack (&job_spool__descriptor, - allocator, len, data); -} -void job_spool__free_unpacked - (JobSpool *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_spool__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_spool__field_descriptors[7] = -{ - { - "JobSpoolType", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(JobSpool, has_jobspooltype), - offsetof(JobSpool, jobspooltype), - &job_spool_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobSpool, has_length), - offsetof(JobSpool, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Weight", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobSpool, has_weight), - offsetof(JobSpool, weight), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Diameter", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobSpool, has_diameter), - offsetof(JobSpool, diameter), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StartOffsetPulses", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobSpool, has_startoffsetpulses), - offsetof(JobSpool, startoffsetpulses), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BackingRate", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobSpool, has_backingrate), - offsetof(JobSpool, backingrate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SegmentOffsetPulses", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobSpool, has_segmentoffsetpulses), - offsetof(JobSpool, segmentoffsetpulses), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_spool__field_indices_by_name[] = { - 5, /* field[5] = BackingRate */ - 3, /* field[3] = Diameter */ - 0, /* field[0] = JobSpoolType */ - 1, /* field[1] = Length */ - 6, /* field[6] = SegmentOffsetPulses */ - 4, /* field[4] = StartOffsetPulses */ - 2, /* field[2] = Weight */ -}; -static const ProtobufCIntRange job_spool__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor job_spool__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobSpool", - "JobSpool", - "JobSpool", - "", - sizeof(JobSpool), - 7, - job_spool__field_descriptors, - job_spool__field_indices_by_name, - 1, job_spool__number_ranges, - (ProtobufCMessageInit) job_spool__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.h deleted file mode 100644 index 38e9236ce..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpool.pb-c.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSpool.proto */ - -#ifndef PROTOBUF_C_JobSpool_2eproto__INCLUDED -#define PROTOBUF_C_JobSpool_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobSpoolType.pb-c.h" - -typedef struct _JobSpool JobSpool; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobSpool -{ - ProtobufCMessage base; - protobuf_c_boolean has_jobspooltype; - JobSpoolType jobspooltype; - protobuf_c_boolean has_length; - double length; - protobuf_c_boolean has_weight; - double weight; - protobuf_c_boolean has_diameter; - double diameter; - protobuf_c_boolean has_startoffsetpulses; - int32_t startoffsetpulses; - protobuf_c_boolean has_backingrate; - int32_t backingrate; - protobuf_c_boolean has_segmentoffsetpulses; - int32_t segmentoffsetpulses; -}; -#define JOB_SPOOL__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_spool__descriptor) \ - , 0, JOB_SPOOL_TYPE__StandardSpool, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* JobSpool methods */ -void job_spool__init - (JobSpool *message); -size_t job_spool__get_packed_size - (const JobSpool *message); -size_t job_spool__pack - (const JobSpool *message, - uint8_t *out); -size_t job_spool__pack_to_buffer - (const JobSpool *message, - ProtobufCBuffer *buffer); -JobSpool * - job_spool__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_spool__free_unpacked - (JobSpool *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobSpool_Closure) - (const JobSpool *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_spool__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobSpool_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.c deleted file mode 100644 index aa72dc2c9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSpoolType.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobSpoolType.pb-c.h" -static const ProtobufCEnumValue job_spool_type__enum_values_by_number[1] = -{ - { "StandardSpool", "JOB_SPOOL_TYPE__StandardSpool", 0 }, -}; -static const ProtobufCIntRange job_spool_type__value_ranges[] = { -{0, 0},{0, 1} -}; -static const ProtobufCEnumValueIndex job_spool_type__enum_values_by_name[1] = -{ - { "StandardSpool", 0 }, -}; -const ProtobufCEnumDescriptor job_spool_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "JobSpoolType", - "JobSpoolType", - "JobSpoolType", - "", - 1, - job_spool_type__enum_values_by_number, - 1, - job_spool_type__enum_values_by_name, - 1, - job_spool_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.h deleted file mode 100644 index 2cfab4ae8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSpoolType.pb-c.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobSpoolType.proto */ - -#ifndef PROTOBUF_C_JobSpoolType_2eproto__INCLUDED -#define PROTOBUF_C_JobSpoolType_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _JobSpoolType { - JOB_SPOOL_TYPE__StandardSpool = 0 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(JOB_SPOOL_TYPE) -} JobSpoolType; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor job_spool_type__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobSpoolType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c deleted file mode 100644 index c7682cdb2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobStatus.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobStatus.pb-c.h" -void job_status__init - (JobStatus *message) -{ - static const JobStatus init_value = JOB_STATUS__INIT; - *message = init_value; -} -size_t job_status__get_packed_size - (const JobStatus *message) -{ - assert(message->base.descriptor == &job_status__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_status__pack - (const JobStatus *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_status__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_status__pack_to_buffer - (const JobStatus *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_status__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobStatus * - job_status__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobStatus *) - protobuf_c_message_unpack (&job_status__descriptor, - allocator, len, data); -} -void job_status__free_unpacked - (JobStatus *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_status__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_status__field_descriptors[3] = -{ - { - "Message", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(JobStatus, message), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Progress", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobStatus, has_progress), - offsetof(JobStatus, progress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CurrentSegmentIndex", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(JobStatus, has_currentsegmentindex), - offsetof(JobStatus, currentsegmentindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_status__field_indices_by_name[] = { - 2, /* field[2] = CurrentSegmentIndex */ - 0, /* field[0] = Message */ - 1, /* field[1] = Progress */ -}; -static const ProtobufCIntRange job_status__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor job_status__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobStatus", - "JobStatus", - "JobStatus", - "", - sizeof(JobStatus), - 3, - job_status__field_descriptors, - job_status__field_indices_by_name, - 1, job_status__number_ranges, - (ProtobufCMessageInit) job_status__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h deleted file mode 100644 index abfb9d71f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobStatus.proto */ - -#ifndef PROTOBUF_C_JobStatus_2eproto__INCLUDED -#define PROTOBUF_C_JobStatus_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _JobStatus JobStatus; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobStatus -{ - ProtobufCMessage base; - char *message; - protobuf_c_boolean has_progress; - double progress; - protobuf_c_boolean has_currentsegmentindex; - int32_t currentsegmentindex; -}; -#define JOB_STATUS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_status__descriptor) \ - , NULL, 0, 0, 0, 0 } - - -/* JobStatus methods */ -void job_status__init - (JobStatus *message); -size_t job_status__get_packed_size - (const JobStatus *message); -size_t job_status__pack - (const JobStatus *message, - uint8_t *out); -size_t job_status__pack_to_buffer - (const JobStatus *message, - ProtobufCBuffer *buffer); -JobStatus * - job_status__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_status__free_unpacked - (JobStatus *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobStatus_Closure) - (const JobStatus *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_status__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobStatus_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c deleted file mode 100644 index c9f1e859f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobTicket.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobTicket.pb-c.h" -void job_ticket__init - (JobTicket *message) -{ - static const JobTicket init_value = JOB_TICKET__INIT; - *message = init_value; -} -size_t job_ticket__get_packed_size - (const JobTicket *message) -{ - assert(message->base.descriptor == &job_ticket__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t job_ticket__pack - (const JobTicket *message, - uint8_t *out) -{ - assert(message->base.descriptor == &job_ticket__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t job_ticket__pack_to_buffer - (const JobTicket *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &job_ticket__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -JobTicket * - job_ticket__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (JobTicket *) - protobuf_c_message_unpack (&job_ticket__descriptor, - allocator, len, data); -} -void job_ticket__free_unpacked - (JobTicket *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &job_ticket__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor job_ticket__field_descriptors[8] = -{ - { - "Name", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(JobTicket, name), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "EnableInterSegment", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(JobTicket, has_enableintersegment), - offsetof(JobTicket, enableintersegment), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "InterSegmentLength", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobTicket, has_intersegmentlength), - offsetof(JobTicket, intersegmentlength), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(JobTicket, has_length), - offsetof(JobTicket, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ProcessParameters", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(JobTicket, processparameters), - &process_parameters__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WindingMethod", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(JobTicket, has_windingmethod), - offsetof(JobTicket, windingmethod), - &job_winding_method__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Spool", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(JobTicket, spool), - &job_spool__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Segments", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(JobTicket, n_segments), - offsetof(JobTicket, segments), - &job_segment__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned job_ticket__field_indices_by_name[] = { - 1, /* field[1] = EnableInterSegment */ - 2, /* field[2] = InterSegmentLength */ - 3, /* field[3] = Length */ - 0, /* field[0] = Name */ - 4, /* field[4] = ProcessParameters */ - 7, /* field[7] = Segments */ - 6, /* field[6] = Spool */ - 5, /* field[5] = WindingMethod */ -}; -static const ProtobufCIntRange job_ticket__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor job_ticket__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "JobTicket", - "JobTicket", - "JobTicket", - "", - sizeof(JobTicket), - 8, - job_ticket__field_descriptors, - job_ticket__field_indices_by_name, - 1, job_ticket__number_ranges, - (ProtobufCMessageInit) job_ticket__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h deleted file mode 100644 index b20d1db3c..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h +++ /dev/null @@ -1,87 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobTicket.proto */ - -#ifndef PROTOBUF_C_JobTicket_2eproto__INCLUDED -#define PROTOBUF_C_JobTicket_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "JobSegment.pb-c.h" -#include "ProcessParameters.pb-c.h" -#include "JobWindingMethod.pb-c.h" -#include "JobSpool.pb-c.h" - -typedef struct _JobTicket JobTicket; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _JobTicket -{ - ProtobufCMessage base; - char *name; - protobuf_c_boolean has_enableintersegment; - protobuf_c_boolean enableintersegment; - protobuf_c_boolean has_intersegmentlength; - double intersegmentlength; - protobuf_c_boolean has_length; - double length; - ProcessParameters *processparameters; - protobuf_c_boolean has_windingmethod; - JobWindingMethod windingmethod; - JobSpool *spool; - size_t n_segments; - JobSegment **segments; -}; -#define JOB_TICKET__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&job_ticket__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0, NULL, 0, JOB_WINDING_METHOD__Embroidery, NULL, 0,NULL } - - -/* JobTicket methods */ -void job_ticket__init - (JobTicket *message); -size_t job_ticket__get_packed_size - (const JobTicket *message); -size_t job_ticket__pack - (const JobTicket *message, - uint8_t *out); -size_t job_ticket__pack_to_buffer - (const JobTicket *message, - ProtobufCBuffer *buffer); -JobTicket * - job_ticket__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void job_ticket__free_unpacked - (JobTicket *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*JobTicket_Closure) - (const JobTicket *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor job_ticket__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobTicket_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c deleted file mode 100644 index 89ca011a3..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobWindingMethod.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "JobWindingMethod.pb-c.h" -static const ProtobufCEnumValue job_winding_method__enum_values_by_number[2] = -{ - { "Embroidery", "JOB_WINDING_METHOD__Embroidery", 0 }, - { "Calibration", "JOB_WINDING_METHOD__Calibration", 1 }, -}; -static const ProtobufCIntRange job_winding_method__value_ranges[] = { -{0, 0},{0, 2} -}; -static const ProtobufCEnumValueIndex job_winding_method__enum_values_by_name[2] = -{ - { "Calibration", 1 }, - { "Embroidery", 0 }, -}; -const ProtobufCEnumDescriptor job_winding_method__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "JobWindingMethod", - "JobWindingMethod", - "JobWindingMethod", - "", - 2, - job_winding_method__enum_values_by_number, - 2, - job_winding_method__enum_values_by_name, - 1, - job_winding_method__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h deleted file mode 100644 index a762ae2c5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: JobWindingMethod.proto */ - -#ifndef PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED -#define PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - - - -/* --- enums --- */ - -typedef enum _JobWindingMethod { - JOB_WINDING_METHOD__Embroidery = 0, - JOB_WINDING_METHOD__Calibration = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(JOB_WINDING_METHOD) -} JobWindingMethod; - -/* --- messages --- */ - -/* --- per-message closures --- */ - - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor job_winding_method__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c deleted file mode 100644 index a6c9b8f08..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c +++ /dev/null @@ -1,287 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProcessParameters.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ProcessParameters.pb-c.h" -void process_parameters__init - (ProcessParameters *message) -{ - static const ProcessParameters init_value = PROCESS_PARAMETERS__INIT; - *message = init_value; -} -size_t process_parameters__get_packed_size - (const ProcessParameters *message) -{ - assert(message->base.descriptor == &process_parameters__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t process_parameters__pack - (const ProcessParameters *message, - uint8_t *out) -{ - assert(message->base.descriptor == &process_parameters__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t process_parameters__pack_to_buffer - (const ProcessParameters *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &process_parameters__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ProcessParameters * - process_parameters__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ProcessParameters *) - protobuf_c_message_unpack (&process_parameters__descriptor, - allocator, len, data); -} -void process_parameters__free_unpacked - (ProcessParameters *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &process_parameters__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor process_parameters__field_descriptors[16] = -{ - { - "DyeingSpeed", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dyeingspeed), - offsetof(ProcessParameters, dyeingspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MixerTemp", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_mixertemp), - offsetof(ProcessParameters, mixertemp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DryerBufferLength", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dryerbufferlength), - offsetof(ProcessParameters, dryerbufferlength), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MinInkUptake", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_mininkuptake), - offsetof(ProcessParameters, mininkuptake), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeadZone1Temp", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_headzone1temp), - offsetof(ProcessParameters, headzone1temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DryerZone1Temp", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dryerzone1temp), - offsetof(ProcessParameters, dryerzone1temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "FeederTension", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_feedertension), - offsetof(ProcessParameters, feedertension), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DryerZone2Temp", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dryerzone2temp), - offsetof(ProcessParameters, dryerzone2temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeadZone2Temp", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_headzone2temp), - offsetof(ProcessParameters, headzone2temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PullerTension", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_pullertension), - offsetof(ProcessParameters, pullertension), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeadZone3Temp", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_headzone3temp), - offsetof(ProcessParameters, headzone3temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DryerZone3Temp", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dryerzone3temp), - offsetof(ProcessParameters, dryerzone3temp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WinderTension", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_windertension), - offsetof(ProcessParameters, windertension), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeadAirFlow", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_headairflow), - offsetof(ProcessParameters, headairflow), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DryerAirFlow", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProcessParameters, has_dryerairflow), - offsetof(ProcessParameters, dryerairflow), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TableIndex", - 16, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(ProcessParameters, has_tableindex), - offsetof(ProcessParameters, tableindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned process_parameters__field_indices_by_name[] = { - 14, /* field[14] = DryerAirFlow */ - 2, /* field[2] = DryerBufferLength */ - 5, /* field[5] = DryerZone1Temp */ - 7, /* field[7] = DryerZone2Temp */ - 11, /* field[11] = DryerZone3Temp */ - 0, /* field[0] = DyeingSpeed */ - 6, /* field[6] = FeederTension */ - 13, /* field[13] = HeadAirFlow */ - 4, /* field[4] = HeadZone1Temp */ - 8, /* field[8] = HeadZone2Temp */ - 10, /* field[10] = HeadZone3Temp */ - 3, /* field[3] = MinInkUptake */ - 1, /* field[1] = MixerTemp */ - 9, /* field[9] = PullerTension */ - 15, /* field[15] = TableIndex */ - 12, /* field[12] = WinderTension */ -}; -static const ProtobufCIntRange process_parameters__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 16 } -}; -const ProtobufCMessageDescriptor process_parameters__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ProcessParameters", - "ProcessParameters", - "ProcessParameters", - "", - sizeof(ProcessParameters), - 16, - process_parameters__field_descriptors, - process_parameters__field_indices_by_name, - 1, process_parameters__number_ranges, - (ProtobufCMessageInit) process_parameters__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h deleted file mode 100644 index 00be2df93..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h +++ /dev/null @@ -1,102 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProcessParameters.proto */ - -#ifndef PROTOBUF_C_ProcessParameters_2eproto__INCLUDED -#define PROTOBUF_C_ProcessParameters_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ProcessParameters ProcessParameters; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ProcessParameters -{ - ProtobufCMessage base; - protobuf_c_boolean has_dyeingspeed; - double dyeingspeed; - protobuf_c_boolean has_mixertemp; - double mixertemp; - protobuf_c_boolean has_dryerbufferlength; - double dryerbufferlength; - protobuf_c_boolean has_mininkuptake; - double mininkuptake; - protobuf_c_boolean has_headzone1temp; - double headzone1temp; - protobuf_c_boolean has_dryerzone1temp; - double dryerzone1temp; - protobuf_c_boolean has_feedertension; - double feedertension; - protobuf_c_boolean has_dryerzone2temp; - double dryerzone2temp; - protobuf_c_boolean has_headzone2temp; - double headzone2temp; - protobuf_c_boolean has_pullertension; - double pullertension; - protobuf_c_boolean has_headzone3temp; - double headzone3temp; - protobuf_c_boolean has_dryerzone3temp; - double dryerzone3temp; - protobuf_c_boolean has_windertension; - double windertension; - protobuf_c_boolean has_headairflow; - double headairflow; - protobuf_c_boolean has_dryerairflow; - double dryerairflow; - protobuf_c_boolean has_tableindex; - int32_t tableindex; -}; -#define PROCESS_PARAMETERS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&process_parameters__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* ProcessParameters methods */ -void process_parameters__init - (ProcessParameters *message); -size_t process_parameters__get_packed_size - (const ProcessParameters *message); -size_t process_parameters__pack - (const ProcessParameters *message, - uint8_t *out); -size_t process_parameters__pack_to_buffer - (const ProcessParameters *message, - ProtobufCBuffer *buffer); -ProcessParameters * - process_parameters__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void process_parameters__free_unpacked - (ProcessParameters *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ProcessParameters_Closure) - (const ProcessParameters *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor process_parameters__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ProcessParameters_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.c deleted file mode 100644 index bae09c741..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadProcessParametersRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "UploadProcessParametersRequest.pb-c.h" -void upload_process_parameters_request__init - (UploadProcessParametersRequest *message) -{ - static const UploadProcessParametersRequest init_value = UPLOAD_PROCESS_PARAMETERS_REQUEST__INIT; - *message = init_value; -} -size_t upload_process_parameters_request__get_packed_size - (const UploadProcessParametersRequest *message) -{ - assert(message->base.descriptor == &upload_process_parameters_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t upload_process_parameters_request__pack - (const UploadProcessParametersRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &upload_process_parameters_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t upload_process_parameters_request__pack_to_buffer - (const UploadProcessParametersRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &upload_process_parameters_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -UploadProcessParametersRequest * - upload_process_parameters_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (UploadProcessParametersRequest *) - protobuf_c_message_unpack (&upload_process_parameters_request__descriptor, - allocator, len, data); -} -void upload_process_parameters_request__free_unpacked - (UploadProcessParametersRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &upload_process_parameters_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor upload_process_parameters_request__field_descriptors[1] = -{ - { - "ProcessParameters", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(UploadProcessParametersRequest, processparameters), - &process_parameters__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned upload_process_parameters_request__field_indices_by_name[] = { - 0, /* field[0] = ProcessParameters */ -}; -static const ProtobufCIntRange upload_process_parameters_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor upload_process_parameters_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "UploadProcessParametersRequest", - "UploadProcessParametersRequest", - "UploadProcessParametersRequest", - "", - sizeof(UploadProcessParametersRequest), - 1, - upload_process_parameters_request__field_descriptors, - upload_process_parameters_request__field_indices_by_name, - 1, upload_process_parameters_request__number_ranges, - (ProtobufCMessageInit) upload_process_parameters_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.h deleted file mode 100644 index c39ee4174..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadProcessParametersRequest.proto */ - -#ifndef PROTOBUF_C_UploadProcessParametersRequest_2eproto__INCLUDED -#define PROTOBUF_C_UploadProcessParametersRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "ProcessParameters.pb-c.h" - -typedef struct _UploadProcessParametersRequest UploadProcessParametersRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _UploadProcessParametersRequest -{ - ProtobufCMessage base; - ProcessParameters *processparameters; -}; -#define UPLOAD_PROCESS_PARAMETERS_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&upload_process_parameters_request__descriptor) \ - , NULL } - - -/* UploadProcessParametersRequest methods */ -void upload_process_parameters_request__init - (UploadProcessParametersRequest *message); -size_t upload_process_parameters_request__get_packed_size - (const UploadProcessParametersRequest *message); -size_t upload_process_parameters_request__pack - (const UploadProcessParametersRequest *message, - uint8_t *out); -size_t upload_process_parameters_request__pack_to_buffer - (const UploadProcessParametersRequest *message, - ProtobufCBuffer *buffer); -UploadProcessParametersRequest * - upload_process_parameters_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void upload_process_parameters_request__free_unpacked - (UploadProcessParametersRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*UploadProcessParametersRequest_Closure) - (const UploadProcessParametersRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor upload_process_parameters_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_UploadProcessParametersRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.c deleted file mode 100644 index 2503df80d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadProcessParametersResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "UploadProcessParametersResponse.pb-c.h" -void upload_process_parameters_response__init - (UploadProcessParametersResponse *message) -{ - static const UploadProcessParametersResponse init_value = UPLOAD_PROCESS_PARAMETERS_RESPONSE__INIT; - *message = init_value; -} -size_t upload_process_parameters_response__get_packed_size - (const UploadProcessParametersResponse *message) -{ - assert(message->base.descriptor == &upload_process_parameters_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t upload_process_parameters_response__pack - (const UploadProcessParametersResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &upload_process_parameters_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t upload_process_parameters_response__pack_to_buffer - (const UploadProcessParametersResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &upload_process_parameters_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -UploadProcessParametersResponse * - upload_process_parameters_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (UploadProcessParametersResponse *) - protobuf_c_message_unpack (&upload_process_parameters_response__descriptor, - allocator, len, data); -} -void upload_process_parameters_response__free_unpacked - (UploadProcessParametersResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &upload_process_parameters_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define upload_process_parameters_response__field_descriptors NULL -#define upload_process_parameters_response__field_indices_by_name NULL -#define upload_process_parameters_response__number_ranges NULL -const ProtobufCMessageDescriptor upload_process_parameters_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "UploadProcessParametersResponse", - "UploadProcessParametersResponse", - "UploadProcessParametersResponse", - "", - sizeof(UploadProcessParametersResponse), - 0, - upload_process_parameters_response__field_descriptors, - upload_process_parameters_response__field_indices_by_name, - 0, upload_process_parameters_response__number_ranges, - (ProtobufCMessageInit) upload_process_parameters_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.h deleted file mode 100644 index 4089217d2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/UploadProcessParametersResponse.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: UploadProcessParametersResponse.proto */ - -#ifndef PROTOBUF_C_UploadProcessParametersResponse_2eproto__INCLUDED -#define PROTOBUF_C_UploadProcessParametersResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _UploadProcessParametersResponse UploadProcessParametersResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _UploadProcessParametersResponse -{ - ProtobufCMessage base; -}; -#define UPLOAD_PROCESS_PARAMETERS_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&upload_process_parameters_response__descriptor) \ - } - - -/* UploadProcessParametersResponse methods */ -void upload_process_parameters_response__init - (UploadProcessParametersResponse *message); -size_t upload_process_parameters_response__get_packed_size - (const UploadProcessParametersResponse *message); -size_t upload_process_parameters_response__pack - (const UploadProcessParametersResponse *message, - uint8_t *out); -size_t upload_process_parameters_response__pack_to_buffer - (const UploadProcessParametersResponse *message, - ProtobufCBuffer *buffer); -UploadProcessParametersResponse * - upload_process_parameters_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void upload_process_parameters_response__free_unpacked - (UploadProcessParametersResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*UploadProcessParametersResponse_Closure) - (const UploadProcessParametersResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor upload_process_parameters_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_UploadProcessParametersResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.c deleted file mode 100644 index 68134c1f8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: CalculateRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "CalculateRequest.pb-c.h" -void calculate_request__init - (CalculateRequest *message) -{ - static const CalculateRequest init_value = CALCULATE_REQUEST__INIT; - *message = init_value; -} -size_t calculate_request__get_packed_size - (const CalculateRequest *message) -{ - assert(message->base.descriptor == &calculate_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t calculate_request__pack - (const CalculateRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &calculate_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t calculate_request__pack_to_buffer - (const CalculateRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &calculate_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -CalculateRequest * - calculate_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (CalculateRequest *) - protobuf_c_message_unpack (&calculate_request__descriptor, - allocator, len, data); -} -void calculate_request__free_unpacked - (CalculateRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &calculate_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor calculate_request__field_descriptors[2] = -{ - { - "A", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(CalculateRequest, has_a), - offsetof(CalculateRequest, a), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "B", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(CalculateRequest, has_b), - offsetof(CalculateRequest, b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned calculate_request__field_indices_by_name[] = { - 0, /* field[0] = A */ - 1, /* field[1] = B */ -}; -static const ProtobufCIntRange calculate_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor calculate_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "CalculateRequest", - "CalculateRequest", - "CalculateRequest", - "", - sizeof(CalculateRequest), - 2, - calculate_request__field_descriptors, - calculate_request__field_indices_by_name, - 1, calculate_request__number_ranges, - (ProtobufCMessageInit) calculate_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.h deleted file mode 100644 index 4ad015493..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: CalculateRequest.proto */ - -#ifndef PROTOBUF_C_CalculateRequest_2eproto__INCLUDED -#define PROTOBUF_C_CalculateRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _CalculateRequest CalculateRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _CalculateRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_a; - double a; - protobuf_c_boolean has_b; - double b; -}; -#define CALCULATE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&calculate_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* CalculateRequest methods */ -void calculate_request__init - (CalculateRequest *message); -size_t calculate_request__get_packed_size - (const CalculateRequest *message); -size_t calculate_request__pack - (const CalculateRequest *message, - uint8_t *out); -size_t calculate_request__pack_to_buffer - (const CalculateRequest *message, - ProtobufCBuffer *buffer); -CalculateRequest * - calculate_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void calculate_request__free_unpacked - (CalculateRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*CalculateRequest_Closure) - (const CalculateRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor calculate_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_CalculateRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.c deleted file mode 100644 index 920356a05..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: CalculateResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "CalculateResponse.pb-c.h" -void calculate_response__init - (CalculateResponse *message) -{ - static const CalculateResponse init_value = CALCULATE_RESPONSE__INIT; - *message = init_value; -} -size_t calculate_response__get_packed_size - (const CalculateResponse *message) -{ - assert(message->base.descriptor == &calculate_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t calculate_response__pack - (const CalculateResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &calculate_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t calculate_response__pack_to_buffer - (const CalculateResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &calculate_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -CalculateResponse * - calculate_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (CalculateResponse *) - protobuf_c_message_unpack (&calculate_response__descriptor, - allocator, len, data); -} -void calculate_response__free_unpacked - (CalculateResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &calculate_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor calculate_response__field_descriptors[1] = -{ - { - "Sum", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(CalculateResponse, has_sum), - offsetof(CalculateResponse, sum), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned calculate_response__field_indices_by_name[] = { - 0, /* field[0] = Sum */ -}; -static const ProtobufCIntRange calculate_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor calculate_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "CalculateResponse", - "CalculateResponse", - "CalculateResponse", - "", - sizeof(CalculateResponse), - 1, - calculate_response__field_descriptors, - calculate_response__field_indices_by_name, - 1, calculate_response__number_ranges, - (ProtobufCMessageInit) calculate_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.h deleted file mode 100644 index 05bdf2b52..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/CalculateResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: CalculateResponse.proto */ - -#ifndef PROTOBUF_C_CalculateResponse_2eproto__INCLUDED -#define PROTOBUF_C_CalculateResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _CalculateResponse CalculateResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _CalculateResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_sum; - double sum; -}; -#define CALCULATE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&calculate_response__descriptor) \ - , 0, 0 } - - -/* CalculateResponse methods */ -void calculate_response__init - (CalculateResponse *message); -size_t calculate_response__get_packed_size - (const CalculateResponse *message); -size_t calculate_response__pack - (const CalculateResponse *message, - uint8_t *out); -size_t calculate_response__pack_to_buffer - (const CalculateResponse *message, - ProtobufCBuffer *buffer); -CalculateResponse * - calculate_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void calculate_response__free_unpacked - (CalculateResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*CalculateResponse_Closure) - (const CalculateResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor calculate_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_CalculateResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.c deleted file mode 100644 index 9e074f376..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProgressRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ProgressRequest.pb-c.h" -void progress_request__init - (ProgressRequest *message) -{ - static const ProgressRequest init_value = PROGRESS_REQUEST__INIT; - *message = init_value; -} -size_t progress_request__get_packed_size - (const ProgressRequest *message) -{ - assert(message->base.descriptor == &progress_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t progress_request__pack - (const ProgressRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &progress_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t progress_request__pack_to_buffer - (const ProgressRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &progress_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ProgressRequest * - progress_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ProgressRequest *) - protobuf_c_message_unpack (&progress_request__descriptor, - allocator, len, data); -} -void progress_request__free_unpacked - (ProgressRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &progress_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor progress_request__field_descriptors[2] = -{ - { - "Amount", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(ProgressRequest, has_amount), - offsetof(ProgressRequest, amount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Delay", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(ProgressRequest, has_delay), - offsetof(ProgressRequest, delay), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned progress_request__field_indices_by_name[] = { - 0, /* field[0] = Amount */ - 1, /* field[1] = Delay */ -}; -static const ProtobufCIntRange progress_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor progress_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ProgressRequest", - "ProgressRequest", - "ProgressRequest", - "", - sizeof(ProgressRequest), - 2, - progress_request__field_descriptors, - progress_request__field_indices_by_name, - 1, progress_request__number_ranges, - (ProtobufCMessageInit) progress_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.h deleted file mode 100644 index 1ce2b6d6b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProgressRequest.proto */ - -#ifndef PROTOBUF_C_ProgressRequest_2eproto__INCLUDED -#define PROTOBUF_C_ProgressRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ProgressRequest ProgressRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ProgressRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_amount; - int32_t amount; - protobuf_c_boolean has_delay; - int32_t delay; -}; -#define PROGRESS_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&progress_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* ProgressRequest methods */ -void progress_request__init - (ProgressRequest *message); -size_t progress_request__get_packed_size - (const ProgressRequest *message); -size_t progress_request__pack - (const ProgressRequest *message, - uint8_t *out); -size_t progress_request__pack_to_buffer - (const ProgressRequest *message, - ProtobufCBuffer *buffer); -ProgressRequest * - progress_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void progress_request__free_unpacked - (ProgressRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ProgressRequest_Closure) - (const ProgressRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor progress_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ProgressRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.c deleted file mode 100644 index 9e54fb5d6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProgressResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "ProgressResponse.pb-c.h" -void progress_response__init - (ProgressResponse *message) -{ - static const ProgressResponse init_value = PROGRESS_RESPONSE__INIT; - *message = init_value; -} -size_t progress_response__get_packed_size - (const ProgressResponse *message) -{ - assert(message->base.descriptor == &progress_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t progress_response__pack - (const ProgressResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &progress_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t progress_response__pack_to_buffer - (const ProgressResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &progress_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -ProgressResponse * - progress_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (ProgressResponse *) - protobuf_c_message_unpack (&progress_response__descriptor, - allocator, len, data); -} -void progress_response__free_unpacked - (ProgressResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &progress_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor progress_response__field_descriptors[1] = -{ - { - "Progress", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(ProgressResponse, has_progress), - offsetof(ProgressResponse, progress), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned progress_response__field_indices_by_name[] = { - 0, /* field[0] = Progress */ -}; -static const ProtobufCIntRange progress_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor progress_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ProgressResponse", - "ProgressResponse", - "ProgressResponse", - "", - sizeof(ProgressResponse), - 1, - progress_response__field_descriptors, - progress_response__field_indices_by_name, - 1, progress_response__number_ranges, - (ProtobufCMessageInit) progress_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.h deleted file mode 100644 index de5201ee5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/ProgressResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: ProgressResponse.proto */ - -#ifndef PROTOBUF_C_ProgressResponse_2eproto__INCLUDED -#define PROTOBUF_C_ProgressResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _ProgressResponse ProgressResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _ProgressResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_progress; - double progress; -}; -#define PROGRESS_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&progress_response__descriptor) \ - , 0, 0 } - - -/* ProgressResponse methods */ -void progress_response__init - (ProgressResponse *message); -size_t progress_response__get_packed_size - (const ProgressResponse *message); -size_t progress_response__pack - (const ProgressResponse *message, - uint8_t *out); -size_t progress_response__pack_to_buffer - (const ProgressResponse *message, - ProtobufCBuffer *buffer); -ProgressResponse * - progress_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void progress_response__free_unpacked - (ProgressResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*ProgressResponse_Closure) - (const ProgressResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor progress_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_ProgressResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.c deleted file mode 100644 index 6ecf34fcd..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeReadRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubCartridgeReadRequest.pb-c.h" -void stub_cartridge_read_request__init - (StubCartridgeReadRequest *message) -{ - static const StubCartridgeReadRequest init_value = STUB_CARTRIDGE_READ_REQUEST__INIT; - *message = init_value; -} -size_t stub_cartridge_read_request__get_packed_size - (const StubCartridgeReadRequest *message) -{ - assert(message->base.descriptor == &stub_cartridge_read_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_cartridge_read_request__pack - (const StubCartridgeReadRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_cartridge_read_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_cartridge_read_request__pack_to_buffer - (const StubCartridgeReadRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_cartridge_read_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubCartridgeReadRequest * - stub_cartridge_read_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubCartridgeReadRequest *) - protobuf_c_message_unpack (&stub_cartridge_read_request__descriptor, - allocator, len, data); -} -void stub_cartridge_read_request__free_unpacked - (StubCartridgeReadRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_cartridge_read_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_cartridge_read_request__field_descriptors[1] = -{ - { - "CartridgeId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeReadRequest, has_cartridgeid), - offsetof(StubCartridgeReadRequest, cartridgeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_cartridge_read_request__field_indices_by_name[] = { - 0, /* field[0] = CartridgeId */ -}; -static const ProtobufCIntRange stub_cartridge_read_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_cartridge_read_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubCartridgeReadRequest", - "StubCartridgeReadRequest", - "StubCartridgeReadRequest", - "", - sizeof(StubCartridgeReadRequest), - 1, - stub_cartridge_read_request__field_descriptors, - stub_cartridge_read_request__field_indices_by_name, - 1, stub_cartridge_read_request__number_ranges, - (ProtobufCMessageInit) stub_cartridge_read_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.h deleted file mode 100644 index 12ea3b514..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadRequest.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeReadRequest.proto */ - -#ifndef PROTOBUF_C_StubCartridgeReadRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubCartridgeReadRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubCartridgeReadRequest StubCartridgeReadRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubCartridgeReadRequest -{ - ProtobufCMessage base; - /* - *0..7 - */ - protobuf_c_boolean has_cartridgeid; - uint32_t cartridgeid; -}; -#define STUB_CARTRIDGE_READ_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_read_request__descriptor) \ - , 0, 0 } - - -/* StubCartridgeReadRequest methods */ -void stub_cartridge_read_request__init - (StubCartridgeReadRequest *message); -size_t stub_cartridge_read_request__get_packed_size - (const StubCartridgeReadRequest *message); -size_t stub_cartridge_read_request__pack - (const StubCartridgeReadRequest *message, - uint8_t *out); -size_t stub_cartridge_read_request__pack_to_buffer - (const StubCartridgeReadRequest *message, - ProtobufCBuffer *buffer); -StubCartridgeReadRequest * - stub_cartridge_read_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_cartridge_read_request__free_unpacked - (StubCartridgeReadRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubCartridgeReadRequest_Closure) - (const StubCartridgeReadRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_cartridge_read_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubCartridgeReadRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c deleted file mode 100644 index 125ec15e2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeReadResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubCartridgeReadResponse.pb-c.h" -void stub_cartridge_read_response__init - (StubCartridgeReadResponse *message) -{ - static const StubCartridgeReadResponse init_value = STUB_CARTRIDGE_READ_RESPONSE__INIT; - *message = init_value; -} -size_t stub_cartridge_read_response__get_packed_size - (const StubCartridgeReadResponse *message) -{ - assert(message->base.descriptor == &stub_cartridge_read_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_cartridge_read_response__pack - (const StubCartridgeReadResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_cartridge_read_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_cartridge_read_response__pack_to_buffer - (const StubCartridgeReadResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_cartridge_read_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubCartridgeReadResponse * - stub_cartridge_read_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubCartridgeReadResponse *) - protobuf_c_message_unpack (&stub_cartridge_read_response__descriptor, - allocator, len, data); -} -void stub_cartridge_read_response__free_unpacked - (StubCartridgeReadResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_cartridge_read_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descriptors[7] = -{ - { - "CartridgeId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeReadResponse, has_cartridgeid), - offsetof(StubCartridgeReadResponse, cartridgeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeColor", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeReadResponse, has_cartridgecolor), - offsetof(StubCartridgeReadResponse, cartridgecolor), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeVersion", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeReadResponse, has_cartridgeversion), - offsetof(StubCartridgeReadResponse, cartridgeversion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeData", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubCartridgeReadResponse, has_cartridgedata), - offsetof(StubCartridgeReadResponse, cartridgedata), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeUsed", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubCartridgeReadResponse, has_cartridgeused), - offsetof(StubCartridgeReadResponse, cartridgeused), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubCartridgeReadResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeReadResponse, has_statusword), - offsetof(StubCartridgeReadResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_cartridge_read_response__field_indices_by_name[] = { - 1, /* field[1] = CartridgeColor */ - 3, /* field[3] = CartridgeData */ - 0, /* field[0] = CartridgeId */ - 4, /* field[4] = CartridgeUsed */ - 2, /* field[2] = CartridgeVersion */ - 5, /* field[5] = Status */ - 6, /* field[6] = StatusWord */ -}; -static const ProtobufCIntRange stub_cartridge_read_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor stub_cartridge_read_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubCartridgeReadResponse", - "StubCartridgeReadResponse", - "StubCartridgeReadResponse", - "", - sizeof(StubCartridgeReadResponse), - 7, - stub_cartridge_read_response__field_descriptors, - stub_cartridge_read_response__field_indices_by_name, - 1, stub_cartridge_read_response__number_ranges, - (ProtobufCMessageInit) stub_cartridge_read_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h deleted file mode 100644 index 06a173e8b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeReadResponse.proto */ - -#ifndef PROTOBUF_C_StubCartridgeReadResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubCartridgeReadResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubCartridgeReadResponse StubCartridgeReadResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubCartridgeReadResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_cartridgeid; - uint32_t cartridgeid; - protobuf_c_boolean has_cartridgecolor; - uint32_t cartridgecolor; - protobuf_c_boolean has_cartridgeversion; - uint32_t cartridgeversion; - protobuf_c_boolean has_cartridgedata; - int32_t cartridgedata; - protobuf_c_boolean has_cartridgeused; - protobuf_c_boolean cartridgeused; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_CARTRIDGE_READ_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_read_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubCartridgeReadResponse methods */ -void stub_cartridge_read_response__init - (StubCartridgeReadResponse *message); -size_t stub_cartridge_read_response__get_packed_size - (const StubCartridgeReadResponse *message); -size_t stub_cartridge_read_response__pack - (const StubCartridgeReadResponse *message, - uint8_t *out); -size_t stub_cartridge_read_response__pack_to_buffer - (const StubCartridgeReadResponse *message, - ProtobufCBuffer *buffer); -StubCartridgeReadResponse * - stub_cartridge_read_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_cartridge_read_response__free_unpacked - (StubCartridgeReadResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubCartridgeReadResponse_Closure) - (const StubCartridgeReadResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_cartridge_read_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubCartridgeReadResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.c deleted file mode 100644 index fe528a34e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeWriteRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubCartridgeWriteRequest.pb-c.h" -void stub_cartridge_write_request__init - (StubCartridgeWriteRequest *message) -{ - static const StubCartridgeWriteRequest init_value = STUB_CARTRIDGE_WRITE_REQUEST__INIT; - *message = init_value; -} -size_t stub_cartridge_write_request__get_packed_size - (const StubCartridgeWriteRequest *message) -{ - assert(message->base.descriptor == &stub_cartridge_write_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_cartridge_write_request__pack - (const StubCartridgeWriteRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_cartridge_write_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_cartridge_write_request__pack_to_buffer - (const StubCartridgeWriteRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_cartridge_write_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubCartridgeWriteRequest * - stub_cartridge_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubCartridgeWriteRequest *) - protobuf_c_message_unpack (&stub_cartridge_write_request__descriptor, - allocator, len, data); -} -void stub_cartridge_write_request__free_unpacked - (StubCartridgeWriteRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_cartridge_write_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_cartridge_write_request__field_descriptors[5] = -{ - { - "CartridgeId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteRequest, has_cartridgeid), - offsetof(StubCartridgeWriteRequest, cartridgeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeColor", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteRequest, has_cartridgecolor), - offsetof(StubCartridgeWriteRequest, cartridgecolor), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeVersion", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteRequest, has_cartridgeversion), - offsetof(StubCartridgeWriteRequest, cartridgeversion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeData", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteRequest, has_cartridgedata), - offsetof(StubCartridgeWriteRequest, cartridgedata), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CartridgeUsed", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubCartridgeWriteRequest, has_cartridgeused), - offsetof(StubCartridgeWriteRequest, cartridgeused), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_cartridge_write_request__field_indices_by_name[] = { - 1, /* field[1] = CartridgeColor */ - 3, /* field[3] = CartridgeData */ - 0, /* field[0] = CartridgeId */ - 4, /* field[4] = CartridgeUsed */ - 2, /* field[2] = CartridgeVersion */ -}; -static const ProtobufCIntRange stub_cartridge_write_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_cartridge_write_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubCartridgeWriteRequest", - "StubCartridgeWriteRequest", - "StubCartridgeWriteRequest", - "", - sizeof(StubCartridgeWriteRequest), - 5, - stub_cartridge_write_request__field_descriptors, - stub_cartridge_write_request__field_indices_by_name, - 1, stub_cartridge_write_request__number_ranges, - (ProtobufCMessageInit) stub_cartridge_write_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.h deleted file mode 100644 index ead0d6b2d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteRequest.pb-c.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeWriteRequest.proto */ - -#ifndef PROTOBUF_C_StubCartridgeWriteRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubCartridgeWriteRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubCartridgeWriteRequest StubCartridgeWriteRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubCartridgeWriteRequest -{ - ProtobufCMessage base; - /* - *0..7 - */ - protobuf_c_boolean has_cartridgeid; - uint32_t cartridgeid; - /* - */ - protobuf_c_boolean has_cartridgecolor; - uint32_t cartridgecolor; - protobuf_c_boolean has_cartridgeversion; - uint32_t cartridgeversion; - protobuf_c_boolean has_cartridgedata; - uint32_t cartridgedata; - /* - * 0 - new 1- used - */ - protobuf_c_boolean has_cartridgeused; - protobuf_c_boolean cartridgeused; -}; -#define STUB_CARTRIDGE_WRITE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_write_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubCartridgeWriteRequest methods */ -void stub_cartridge_write_request__init - (StubCartridgeWriteRequest *message); -size_t stub_cartridge_write_request__get_packed_size - (const StubCartridgeWriteRequest *message); -size_t stub_cartridge_write_request__pack - (const StubCartridgeWriteRequest *message, - uint8_t *out); -size_t stub_cartridge_write_request__pack_to_buffer - (const StubCartridgeWriteRequest *message, - ProtobufCBuffer *buffer); -StubCartridgeWriteRequest * - stub_cartridge_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_cartridge_write_request__free_unpacked - (StubCartridgeWriteRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubCartridgeWriteRequest_Closure) - (const StubCartridgeWriteRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_cartridge_write_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubCartridgeWriteRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c deleted file mode 100644 index aa271df59..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeWriteResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubCartridgeWriteResponse.pb-c.h" -void stub_cartridge_write_response__init - (StubCartridgeWriteResponse *message) -{ - static const StubCartridgeWriteResponse init_value = STUB_CARTRIDGE_WRITE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_cartridge_write_response__get_packed_size - (const StubCartridgeWriteResponse *message) -{ - assert(message->base.descriptor == &stub_cartridge_write_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_cartridge_write_response__pack - (const StubCartridgeWriteResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_cartridge_write_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_cartridge_write_response__pack_to_buffer - (const StubCartridgeWriteResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_cartridge_write_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubCartridgeWriteResponse * - stub_cartridge_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubCartridgeWriteResponse *) - protobuf_c_message_unpack (&stub_cartridge_write_response__descriptor, - allocator, len, data); -} -void stub_cartridge_write_response__free_unpacked - (StubCartridgeWriteResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_cartridge_write_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_cartridge_write_response__field_descriptors[3] = -{ - { - "CartridgeId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteResponse, has_cartridgeid), - offsetof(StubCartridgeWriteResponse, cartridgeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubCartridgeWriteResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubCartridgeWriteResponse, has_statusword), - offsetof(StubCartridgeWriteResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_cartridge_write_response__field_indices_by_name[] = { - 0, /* field[0] = CartridgeId */ - 1, /* field[1] = Status */ - 2, /* field[2] = StatusWord */ -}; -static const ProtobufCIntRange stub_cartridge_write_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_cartridge_write_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubCartridgeWriteResponse", - "StubCartridgeWriteResponse", - "StubCartridgeWriteResponse", - "", - sizeof(StubCartridgeWriteResponse), - 3, - stub_cartridge_write_response__field_descriptors, - stub_cartridge_write_response__field_indices_by_name, - 1, stub_cartridge_write_response__number_ranges, - (ProtobufCMessageInit) stub_cartridge_write_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h deleted file mode 100644 index dab3d46fb..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h +++ /dev/null @@ -1,81 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubCartridgeWriteResponse.proto */ - -#ifndef PROTOBUF_C_StubCartridgeWriteResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubCartridgeWriteResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubCartridgeWriteResponse StubCartridgeWriteResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubCartridgeWriteResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_cartridgeid; - uint32_t cartridgeid; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_CARTRIDGE_WRITE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_write_response__descriptor) \ - , 0, 0, NULL, 0, 0 } - - -/* StubCartridgeWriteResponse methods */ -void stub_cartridge_write_response__init - (StubCartridgeWriteResponse *message); -size_t stub_cartridge_write_response__get_packed_size - (const StubCartridgeWriteResponse *message); -size_t stub_cartridge_write_response__pack - (const StubCartridgeWriteResponse *message, - uint8_t *out); -size_t stub_cartridge_write_response__pack_to_buffer - (const StubCartridgeWriteResponse *message, - ProtobufCBuffer *buffer); -StubCartridgeWriteResponse * - stub_cartridge_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_cartridge_write_response__free_unpacked - (StubCartridgeWriteResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubCartridgeWriteResponse_Closure) - (const StubCartridgeWriteResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_cartridge_write_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubCartridgeWriteResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.c deleted file mode 100644 index d8cdbdd8b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubDispenserRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubDispenserRequest.pb-c.h" -void stub_dispenser_request__init - (StubDispenserRequest *message) -{ - static const StubDispenserRequest init_value = STUB_DISPENSER_REQUEST__INIT; - *message = init_value; -} -size_t stub_dispenser_request__get_packed_size - (const StubDispenserRequest *message) -{ - assert(message->base.descriptor == &stub_dispenser_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_dispenser_request__pack - (const StubDispenserRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_dispenser_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_dispenser_request__pack_to_buffer - (const StubDispenserRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_dispenser_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubDispenserRequest * - stub_dispenser_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubDispenserRequest *) - protobuf_c_message_unpack (&stub_dispenser_request__descriptor, - allocator, len, data); -} -void stub_dispenser_request__free_unpacked - (StubDispenserRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_dispenser_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_dispenser_request__field_descriptors[5] = -{ - { - "DispenserId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserRequest, has_dispenserid), - offsetof(StubDispenserRequest, dispenserid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Start", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubDispenserRequest, has_start), - offsetof(StubDispenserRequest, start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetDirection", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubDispenserRequest, has_setdirection), - offsetof(StubDispenserRequest, setdirection), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetMicrostepDivision", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserRequest, has_setmicrostepdivision), - offsetof(StubDispenserRequest, setmicrostepdivision), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetSpeed", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubDispenserRequest, has_setspeed), - offsetof(StubDispenserRequest, setspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_dispenser_request__field_indices_by_name[] = { - 0, /* field[0] = DispenserId */ - 2, /* field[2] = SetDirection */ - 3, /* field[3] = SetMicrostepDivision */ - 4, /* field[4] = SetSpeed */ - 1, /* field[1] = Start */ -}; -static const ProtobufCIntRange stub_dispenser_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_dispenser_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubDispenserRequest", - "StubDispenserRequest", - "StubDispenserRequest", - "", - sizeof(StubDispenserRequest), - 5, - stub_dispenser_request__field_descriptors, - stub_dispenser_request__field_indices_by_name, - 1, stub_dispenser_request__number_ranges, - (ProtobufCMessageInit) stub_dispenser_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.h deleted file mode 100644 index 8f99287a9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserRequest.pb-c.h +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubDispenserRequest.proto */ - -#ifndef PROTOBUF_C_StubDispenserRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubDispenserRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubDispenserRequest StubDispenserRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubDispenserRequest -{ - ProtobufCMessage base; - /* - * 0..7 - */ - protobuf_c_boolean has_dispenserid; - uint32_t dispenserid; - /* - * 1-start 0-stop - */ - protobuf_c_boolean has_start; - protobuf_c_boolean start; - /* - * 1-cw 0-ccw - */ - protobuf_c_boolean has_setdirection; - protobuf_c_boolean setdirection; - /* - * No. of steps for 360 deg. - */ - protobuf_c_boolean has_setmicrostepdivision; - uint32_t setmicrostepdivision; - protobuf_c_boolean has_setspeed; - int32_t setspeed; -}; -#define STUB_DISPENSER_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_dispenser_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubDispenserRequest methods */ -void stub_dispenser_request__init - (StubDispenserRequest *message); -size_t stub_dispenser_request__get_packed_size - (const StubDispenserRequest *message); -size_t stub_dispenser_request__pack - (const StubDispenserRequest *message, - uint8_t *out); -size_t stub_dispenser_request__pack_to_buffer - (const StubDispenserRequest *message, - ProtobufCBuffer *buffer); -StubDispenserRequest * - stub_dispenser_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_dispenser_request__free_unpacked - (StubDispenserRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubDispenserRequest_Closure) - (const StubDispenserRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_dispenser_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubDispenserRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c deleted file mode 100644 index cbfd886ec..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubDispenserResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubDispenserResponse.pb-c.h" -void stub_dispenser_response__init - (StubDispenserResponse *message) -{ - static const StubDispenserResponse init_value = STUB_DISPENSER_RESPONSE__INIT; - *message = init_value; -} -size_t stub_dispenser_response__get_packed_size - (const StubDispenserResponse *message) -{ - assert(message->base.descriptor == &stub_dispenser_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_dispenser_response__pack - (const StubDispenserResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_dispenser_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_dispenser_response__pack_to_buffer - (const StubDispenserResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_dispenser_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubDispenserResponse * - stub_dispenser_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubDispenserResponse *) - protobuf_c_message_unpack (&stub_dispenser_response__descriptor, - allocator, len, data); -} -void stub_dispenser_response__free_unpacked - (StubDispenserResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_dispenser_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_dispenser_response__field_descriptors[5] = -{ - { - "DispenserId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserResponse, has_dispenserid), - offsetof(StubDispenserResponse, dispenserid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DispenserPosition", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserResponse, has_dispenserposition), - offsetof(StubDispenserResponse, dispenserposition), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "InkWorningLevel", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserResponse, has_inkworninglevel), - offsetof(StubDispenserResponse, inkworninglevel), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubDispenserResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubDispenserResponse, has_statusword), - offsetof(StubDispenserResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_dispenser_response__field_indices_by_name[] = { - 0, /* field[0] = DispenserId */ - 1, /* field[1] = DispenserPosition */ - 2, /* field[2] = InkWorningLevel */ - 3, /* field[3] = Status */ - 4, /* field[4] = StatusWord */ -}; -static const ProtobufCIntRange stub_dispenser_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_dispenser_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubDispenserResponse", - "StubDispenserResponse", - "StubDispenserResponse", - "", - sizeof(StubDispenserResponse), - 5, - stub_dispenser_response__field_descriptors, - stub_dispenser_response__field_indices_by_name, - 1, stub_dispenser_response__number_ranges, - (ProtobufCMessageInit) stub_dispenser_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h deleted file mode 100644 index 14d55b18e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h +++ /dev/null @@ -1,93 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubDispenserResponse.proto */ - -#ifndef PROTOBUF_C_StubDispenserResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubDispenserResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubDispenserResponse StubDispenserResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubDispenserResponse -{ - ProtobufCMessage base; - /* - * 0..7 - */ - protobuf_c_boolean has_dispenserid; - uint32_t dispenserid; - /* - */ - protobuf_c_boolean has_dispenserposition; - uint32_t dispenserposition; - /* - * 1- critical 2- level 3- overflow - */ - protobuf_c_boolean has_inkworninglevel; - uint32_t inkworninglevel; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_DISPENSER_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_dispenser_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubDispenserResponse methods */ -void stub_dispenser_response__init - (StubDispenserResponse *message); -size_t stub_dispenser_response__get_packed_size - (const StubDispenserResponse *message); -size_t stub_dispenser_response__pack - (const StubDispenserResponse *message, - uint8_t *out); -size_t stub_dispenser_response__pack_to_buffer - (const StubDispenserResponse *message, - ProtobufCBuffer *buffer); -StubDispenserResponse * - stub_dispenser_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_dispenser_response__free_unpacked - (StubDispenserResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubDispenserResponse_Closure) - (const StubDispenserResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_dispenser_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubDispenserResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c deleted file mode 100644 index e5f22797a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashReadRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubExtFlashReadRequest.pb-c.h" -void stub_ext_flash_read_request__init - (StubExtFlashReadRequest *message) -{ - static const StubExtFlashReadRequest init_value = STUB_EXT_FLASH_READ_REQUEST__INIT; - *message = init_value; -} -size_t stub_ext_flash_read_request__get_packed_size - (const StubExtFlashReadRequest *message) -{ - assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_ext_flash_read_request__pack - (const StubExtFlashReadRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_ext_flash_read_request__pack_to_buffer - (const StubExtFlashReadRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubExtFlashReadRequest * - stub_ext_flash_read_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubExtFlashReadRequest *) - protobuf_c_message_unpack (&stub_ext_flash_read_request__descriptor, - allocator, len, data); -} -void stub_ext_flash_read_request__free_unpacked - (StubExtFlashReadRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_ext_flash_read_request__field_descriptors[1] = -{ - { - "Number_Of_Words", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubExtFlashReadRequest, has_number_of_words), - offsetof(StubExtFlashReadRequest, number_of_words), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_ext_flash_read_request__field_indices_by_name[] = { - 0, /* field[0] = Number_Of_Words */ -}; -static const ProtobufCIntRange stub_ext_flash_read_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_ext_flash_read_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubExtFlashReadRequest", - "StubExtFlashReadRequest", - "StubExtFlashReadRequest", - "", - sizeof(StubExtFlashReadRequest), - 1, - stub_ext_flash_read_request__field_descriptors, - stub_ext_flash_read_request__field_indices_by_name, - 1, stub_ext_flash_read_request__number_ranges, - (ProtobufCMessageInit) stub_ext_flash_read_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h deleted file mode 100644 index 0345c7c86..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashReadRequest.proto */ - -#ifndef PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubExtFlashReadRequest StubExtFlashReadRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubExtFlashReadRequest -{ - ProtobufCMessage base; - /* - *Max 5 at this test - */ - protobuf_c_boolean has_number_of_words; - uint32_t number_of_words; -}; -#define STUB_EXT_FLASH_READ_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_read_request__descriptor) \ - , 0, 0 } - - -/* StubExtFlashReadRequest methods */ -void stub_ext_flash_read_request__init - (StubExtFlashReadRequest *message); -size_t stub_ext_flash_read_request__get_packed_size - (const StubExtFlashReadRequest *message); -size_t stub_ext_flash_read_request__pack - (const StubExtFlashReadRequest *message, - uint8_t *out); -size_t stub_ext_flash_read_request__pack_to_buffer - (const StubExtFlashReadRequest *message, - ProtobufCBuffer *buffer); -StubExtFlashReadRequest * - stub_ext_flash_read_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_ext_flash_read_request__free_unpacked - (StubExtFlashReadRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubExtFlashReadRequest_Closure) - (const StubExtFlashReadRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_ext_flash_read_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c deleted file mode 100644 index 57045730d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashReadResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubExtFlashReadResponse.pb-c.h" -void stub_ext_flash_read_response__init - (StubExtFlashReadResponse *message) -{ - static const StubExtFlashReadResponse init_value = STUB_EXT_FLASH_READ_RESPONSE__INIT; - *message = init_value; -} -size_t stub_ext_flash_read_response__get_packed_size - (const StubExtFlashReadResponse *message) -{ - assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_ext_flash_read_response__pack - (const StubExtFlashReadResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_ext_flash_read_response__pack_to_buffer - (const StubExtFlashReadResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubExtFlashReadResponse * - stub_ext_flash_read_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubExtFlashReadResponse *) - protobuf_c_message_unpack (&stub_ext_flash_read_response__descriptor, - allocator, len, data); -} -void stub_ext_flash_read_response__free_unpacked - (StubExtFlashReadResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_ext_flash_read_response__field_descriptors[7] = -{ - { - "ReadWord_1", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashReadResponse, has_readword_1), - offsetof(StubExtFlashReadResponse, readword_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadWord_2", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashReadResponse, has_readword_2), - offsetof(StubExtFlashReadResponse, readword_2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadWord_3", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashReadResponse, has_readword_3), - offsetof(StubExtFlashReadResponse, readword_3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadWord_4", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashReadResponse, has_readword_4), - offsetof(StubExtFlashReadResponse, readword_4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadWord_5", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashReadResponse, has_readword_5), - offsetof(StubExtFlashReadResponse, readword_5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubExtFlashReadResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubExtFlashReadResponse, has_statusword), - offsetof(StubExtFlashReadResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_ext_flash_read_response__field_indices_by_name[] = { - 0, /* field[0] = ReadWord_1 */ - 1, /* field[1] = ReadWord_2 */ - 2, /* field[2] = ReadWord_3 */ - 3, /* field[3] = ReadWord_4 */ - 4, /* field[4] = ReadWord_5 */ - 5, /* field[5] = Status */ - 6, /* field[6] = StatusWord */ -}; -static const ProtobufCIntRange stub_ext_flash_read_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor stub_ext_flash_read_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubExtFlashReadResponse", - "StubExtFlashReadResponse", - "StubExtFlashReadResponse", - "", - sizeof(StubExtFlashReadResponse), - 7, - stub_ext_flash_read_response__field_descriptors, - stub_ext_flash_read_response__field_indices_by_name, - 1, stub_ext_flash_read_response__number_ranges, - (ProtobufCMessageInit) stub_ext_flash_read_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h deleted file mode 100644 index c0bfdd88c..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h +++ /dev/null @@ -1,99 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashReadResponse.proto */ - -#ifndef PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubExtFlashReadResponse StubExtFlashReadResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubExtFlashReadResponse -{ - ProtobufCMessage base; - /* - */ - protobuf_c_boolean has_readword_1; - int32_t readword_1; - /* - */ - protobuf_c_boolean has_readword_2; - int32_t readword_2; - /* - */ - protobuf_c_boolean has_readword_3; - int32_t readword_3; - /* - */ - protobuf_c_boolean has_readword_4; - int32_t readword_4; - /* - */ - protobuf_c_boolean has_readword_5; - int32_t readword_5; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_EXT_FLASH_READ_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_read_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubExtFlashReadResponse methods */ -void stub_ext_flash_read_response__init - (StubExtFlashReadResponse *message); -size_t stub_ext_flash_read_response__get_packed_size - (const StubExtFlashReadResponse *message); -size_t stub_ext_flash_read_response__pack - (const StubExtFlashReadResponse *message, - uint8_t *out); -size_t stub_ext_flash_read_response__pack_to_buffer - (const StubExtFlashReadResponse *message, - ProtobufCBuffer *buffer); -StubExtFlashReadResponse * - stub_ext_flash_read_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_ext_flash_read_response__free_unpacked - (StubExtFlashReadResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubExtFlashReadResponse_Closure) - (const StubExtFlashReadResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_ext_flash_read_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c deleted file mode 100644 index e74bb57de..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashWriteRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubExtFlashWriteRequest.pb-c.h" -void stub_ext_flash_write_request__init - (StubExtFlashWriteRequest *message) -{ - static const StubExtFlashWriteRequest init_value = STUB_EXT_FLASH_WRITE_REQUEST__INIT; - *message = init_value; -} -size_t stub_ext_flash_write_request__get_packed_size - (const StubExtFlashWriteRequest *message) -{ - assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_ext_flash_write_request__pack - (const StubExtFlashWriteRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_ext_flash_write_request__pack_to_buffer - (const StubExtFlashWriteRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubExtFlashWriteRequest * - stub_ext_flash_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubExtFlashWriteRequest *) - protobuf_c_message_unpack (&stub_ext_flash_write_request__descriptor, - allocator, len, data); -} -void stub_ext_flash_write_request__free_unpacked - (StubExtFlashWriteRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_ext_flash_write_request__field_descriptors[5] = -{ - { - "WordToWrite1", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashWriteRequest, has_wordtowrite1), - offsetof(StubExtFlashWriteRequest, wordtowrite1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WordToWrite2", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashWriteRequest, has_wordtowrite2), - offsetof(StubExtFlashWriteRequest, wordtowrite2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WordToWrite3", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashWriteRequest, has_wordtowrite3), - offsetof(StubExtFlashWriteRequest, wordtowrite3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WordToWrite4", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashWriteRequest, has_wordtowrite4), - offsetof(StubExtFlashWriteRequest, wordtowrite4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WordToWrite5", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubExtFlashWriteRequest, has_wordtowrite5), - offsetof(StubExtFlashWriteRequest, wordtowrite5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_ext_flash_write_request__field_indices_by_name[] = { - 0, /* field[0] = WordToWrite1 */ - 1, /* field[1] = WordToWrite2 */ - 2, /* field[2] = WordToWrite3 */ - 3, /* field[3] = WordToWrite4 */ - 4, /* field[4] = WordToWrite5 */ -}; -static const ProtobufCIntRange stub_ext_flash_write_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_ext_flash_write_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubExtFlashWriteRequest", - "StubExtFlashWriteRequest", - "StubExtFlashWriteRequest", - "", - sizeof(StubExtFlashWriteRequest), - 5, - stub_ext_flash_write_request__field_descriptors, - stub_ext_flash_write_request__field_indices_by_name, - 1, stub_ext_flash_write_request__number_ranges, - (ProtobufCMessageInit) stub_ext_flash_write_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h deleted file mode 100644 index 91453d218..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h +++ /dev/null @@ -1,95 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashWriteRequest.proto */ - -#ifndef PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubExtFlashWriteRequest StubExtFlashWriteRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubExtFlashWriteRequest -{ - ProtobufCMessage base; - /* - *0..255 - */ - protobuf_c_boolean has_wordtowrite1; - int32_t wordtowrite1; - /* - *0..255 - */ - protobuf_c_boolean has_wordtowrite2; - int32_t wordtowrite2; - /* - *0..255 - */ - protobuf_c_boolean has_wordtowrite3; - int32_t wordtowrite3; - /* - *0..255 - */ - protobuf_c_boolean has_wordtowrite4; - int32_t wordtowrite4; - /* - *0..255 - */ - protobuf_c_boolean has_wordtowrite5; - int32_t wordtowrite5; -}; -#define STUB_EXT_FLASH_WRITE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_write_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubExtFlashWriteRequest methods */ -void stub_ext_flash_write_request__init - (StubExtFlashWriteRequest *message); -size_t stub_ext_flash_write_request__get_packed_size - (const StubExtFlashWriteRequest *message); -size_t stub_ext_flash_write_request__pack - (const StubExtFlashWriteRequest *message, - uint8_t *out); -size_t stub_ext_flash_write_request__pack_to_buffer - (const StubExtFlashWriteRequest *message, - ProtobufCBuffer *buffer); -StubExtFlashWriteRequest * - stub_ext_flash_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_ext_flash_write_request__free_unpacked - (StubExtFlashWriteRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubExtFlashWriteRequest_Closure) - (const StubExtFlashWriteRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_ext_flash_write_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c deleted file mode 100644 index 33a3b7e98..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashWriteResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubExtFlashWriteResponse.pb-c.h" -void stub_ext_flash_write_response__init - (StubExtFlashWriteResponse *message) -{ - static const StubExtFlashWriteResponse init_value = STUB_EXT_FLASH_WRITE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_ext_flash_write_response__get_packed_size - (const StubExtFlashWriteResponse *message) -{ - assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_ext_flash_write_response__pack - (const StubExtFlashWriteResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_ext_flash_write_response__pack_to_buffer - (const StubExtFlashWriteResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubExtFlashWriteResponse * - stub_ext_flash_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubExtFlashWriteResponse *) - protobuf_c_message_unpack (&stub_ext_flash_write_response__descriptor, - allocator, len, data); -} -void stub_ext_flash_write_response__free_unpacked - (StubExtFlashWriteResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_ext_flash_write_response__field_descriptors[2] = -{ - { - "Status", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubExtFlashWriteResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubExtFlashWriteResponse, has_statusword), - offsetof(StubExtFlashWriteResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_ext_flash_write_response__field_indices_by_name[] = { - 0, /* field[0] = Status */ - 1, /* field[1] = StatusWord */ -}; -static const ProtobufCIntRange stub_ext_flash_write_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_ext_flash_write_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubExtFlashWriteResponse", - "StubExtFlashWriteResponse", - "StubExtFlashWriteResponse", - "", - sizeof(StubExtFlashWriteResponse), - 2, - stub_ext_flash_write_response__field_descriptors, - stub_ext_flash_write_response__field_indices_by_name, - 1, stub_ext_flash_write_response__number_ranges, - (ProtobufCMessageInit) stub_ext_flash_write_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h deleted file mode 100644 index 50d2f94d4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubExtFlashWriteResponse.proto */ - -#ifndef PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubExtFlashWriteResponse StubExtFlashWriteResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubExtFlashWriteResponse -{ - ProtobufCMessage base; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_EXT_FLASH_WRITE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_write_response__descriptor) \ - , NULL, 0, 0 } - - -/* StubExtFlashWriteResponse methods */ -void stub_ext_flash_write_response__init - (StubExtFlashWriteResponse *message); -size_t stub_ext_flash_write_response__get_packed_size - (const StubExtFlashWriteResponse *message); -size_t stub_ext_flash_write_response__pack - (const StubExtFlashWriteResponse *message, - uint8_t *out); -size_t stub_ext_flash_write_response__pack_to_buffer - (const StubExtFlashWriteResponse *message, - ProtobufCBuffer *buffer); -StubExtFlashWriteResponse * - stub_ext_flash_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_ext_flash_write_response__free_unpacked - (StubExtFlashWriteResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubExtFlashWriteResponse_Closure) - (const StubExtFlashWriteResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_ext_flash_write_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.c deleted file mode 100644 index 69466269b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.c +++ /dev/null @@ -1,235 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubF3Gpo01WriteRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubF3Gpo01WriteRequest.pb-c.h" -void stub_f3_gpo01_write_request__init - (StubF3Gpo01WriteRequest *message) -{ - static const StubF3Gpo01WriteRequest init_value = STUB_F3_GPO01_WRITE_REQUEST__INIT; - *message = init_value; -} -size_t stub_f3_gpo01_write_request__get_packed_size - (const StubF3Gpo01WriteRequest *message) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_f3_gpo01_write_request__pack - (const StubF3Gpo01WriteRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_f3_gpo01_write_request__pack_to_buffer - (const StubF3Gpo01WriteRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubF3Gpo01WriteRequest * - stub_f3_gpo01_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubF3Gpo01WriteRequest *) - protobuf_c_message_unpack (&stub_f3_gpo01_write_request__descriptor, - allocator, len, data); -} -void stub_f3_gpo01_write_request__free_unpacked - (StubF3Gpo01WriteRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_f3_gpo01_write_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_f3_gpo01_write_request__field_descriptors[12] = -{ - { - "F3_GPO_LED4", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_led4), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_led4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_LED4", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_led4), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_led4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "F3_GPO_LED3", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_led3), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_led3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_LED3", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_led3), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_led3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "F3_GPO_LED2", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_led2), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_led2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_LED2", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_led2), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_led2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "F3_GPO_LED1", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_led1), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_led1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_LED1", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_led1), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_led1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "F3_GPO_EXTWINDER_SSR11_CTRL", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_extwinder_ssr11_ctrl), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_extwinder_ssr11_ctrl), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_EXTWINDER_SSR11_CTRL", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_extwinder_ssr11_ctrl), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_extwinder_ssr11_ctrl), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "F3_GPO_BUZZER", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_f3_gpo_buzzer), - offsetof(StubF3Gpo01WriteRequest, f3_gpo_buzzer), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Write_F3_GPO_BUZZER", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubF3Gpo01WriteRequest, has_write_f3_gpo_buzzer), - offsetof(StubF3Gpo01WriteRequest, write_f3_gpo_buzzer), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_f3_gpo01_write_request__field_indices_by_name[] = { - 10, /* field[10] = F3_GPO_BUZZER */ - 8, /* field[8] = F3_GPO_EXTWINDER_SSR11_CTRL */ - 6, /* field[6] = F3_GPO_LED1 */ - 4, /* field[4] = F3_GPO_LED2 */ - 2, /* field[2] = F3_GPO_LED3 */ - 0, /* field[0] = F3_GPO_LED4 */ - 11, /* field[11] = Write_F3_GPO_BUZZER */ - 9, /* field[9] = Write_F3_GPO_EXTWINDER_SSR11_CTRL */ - 7, /* field[7] = Write_F3_GPO_LED1 */ - 5, /* field[5] = Write_F3_GPO_LED2 */ - 3, /* field[3] = Write_F3_GPO_LED3 */ - 1, /* field[1] = Write_F3_GPO_LED4 */ -}; -static const ProtobufCIntRange stub_f3_gpo01_write_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 12 } -}; -const ProtobufCMessageDescriptor stub_f3_gpo01_write_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubF3Gpo01WriteRequest", - "StubF3Gpo01WriteRequest", - "StubF3Gpo01WriteRequest", - "", - sizeof(StubF3Gpo01WriteRequest), - 12, - stub_f3_gpo01_write_request__field_descriptors, - stub_f3_gpo01_write_request__field_indices_by_name, - 1, stub_f3_gpo01_write_request__number_ranges, - (ProtobufCMessageInit) stub_f3_gpo01_write_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.h deleted file mode 100644 index 1dec7e478..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteRequest.pb-c.h +++ /dev/null @@ -1,100 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubF3Gpo01WriteRequest.proto */ - -#ifndef PROTOBUF_C_StubF3Gpo01WriteRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubF3Gpo01WriteRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubF3Gpo01WriteRequest StubF3Gpo01WriteRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubF3Gpo01WriteRequest -{ - ProtobufCMessage base; - /* - *value - */ - protobuf_c_boolean has_f3_gpo_led4; - protobuf_c_boolean f3_gpo_led4; - /* - *write - */ - protobuf_c_boolean has_write_f3_gpo_led4; - protobuf_c_boolean write_f3_gpo_led4; - protobuf_c_boolean has_f3_gpo_led3; - protobuf_c_boolean f3_gpo_led3; - protobuf_c_boolean has_write_f3_gpo_led3; - protobuf_c_boolean write_f3_gpo_led3; - protobuf_c_boolean has_f3_gpo_led2; - protobuf_c_boolean f3_gpo_led2; - protobuf_c_boolean has_write_f3_gpo_led2; - protobuf_c_boolean write_f3_gpo_led2; - protobuf_c_boolean has_f3_gpo_led1; - protobuf_c_boolean f3_gpo_led1; - protobuf_c_boolean has_write_f3_gpo_led1; - protobuf_c_boolean write_f3_gpo_led1; - protobuf_c_boolean has_f3_gpo_extwinder_ssr11_ctrl; - protobuf_c_boolean f3_gpo_extwinder_ssr11_ctrl; - protobuf_c_boolean has_write_f3_gpo_extwinder_ssr11_ctrl; - protobuf_c_boolean write_f3_gpo_extwinder_ssr11_ctrl; - protobuf_c_boolean has_f3_gpo_buzzer; - protobuf_c_boolean f3_gpo_buzzer; - protobuf_c_boolean has_write_f3_gpo_buzzer; - protobuf_c_boolean write_f3_gpo_buzzer; -}; -#define STUB_F3_GPO01_WRITE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_f3_gpo01_write_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubF3Gpo01WriteRequest methods */ -void stub_f3_gpo01_write_request__init - (StubF3Gpo01WriteRequest *message); -size_t stub_f3_gpo01_write_request__get_packed_size - (const StubF3Gpo01WriteRequest *message); -size_t stub_f3_gpo01_write_request__pack - (const StubF3Gpo01WriteRequest *message, - uint8_t *out); -size_t stub_f3_gpo01_write_request__pack_to_buffer - (const StubF3Gpo01WriteRequest *message, - ProtobufCBuffer *buffer); -StubF3Gpo01WriteRequest * - stub_f3_gpo01_write_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_f3_gpo01_write_request__free_unpacked - (StubF3Gpo01WriteRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubF3Gpo01WriteRequest_Closure) - (const StubF3Gpo01WriteRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_f3_gpo01_write_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubF3Gpo01WriteRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.c deleted file mode 100644 index 4b852987e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubF3Gpo01WriteResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubF3Gpo01WriteResponse.pb-c.h" -void stub_f3_gpo01_write_response__init - (StubF3Gpo01WriteResponse *message) -{ - static const StubF3Gpo01WriteResponse init_value = STUB_F3_GPO01_WRITE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_f3_gpo01_write_response__get_packed_size - (const StubF3Gpo01WriteResponse *message) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_f3_gpo01_write_response__pack - (const StubF3Gpo01WriteResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_f3_gpo01_write_response__pack_to_buffer - (const StubF3Gpo01WriteResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_f3_gpo01_write_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubF3Gpo01WriteResponse * - stub_f3_gpo01_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubF3Gpo01WriteResponse *) - protobuf_c_message_unpack (&stub_f3_gpo01_write_response__descriptor, - allocator, len, data); -} -void stub_f3_gpo01_write_response__free_unpacked - (StubF3Gpo01WriteResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_f3_gpo01_write_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_f3_gpo01_write_response__field_descriptors[2] = -{ - { - "Status", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubF3Gpo01WriteResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubF3Gpo01WriteResponse, has_statusword), - offsetof(StubF3Gpo01WriteResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_f3_gpo01_write_response__field_indices_by_name[] = { - 0, /* field[0] = Status */ - 1, /* field[1] = StatusWord */ -}; -static const ProtobufCIntRange stub_f3_gpo01_write_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_f3_gpo01_write_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubF3Gpo01WriteResponse", - "StubF3Gpo01WriteResponse", - "StubF3Gpo01WriteResponse", - "", - sizeof(StubF3Gpo01WriteResponse), - 2, - stub_f3_gpo01_write_response__field_descriptors, - stub_f3_gpo01_write_response__field_indices_by_name, - 1, stub_f3_gpo01_write_response__number_ranges, - (ProtobufCMessageInit) stub_f3_gpo01_write_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.h deleted file mode 100644 index c245016a4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubF3Gpo01WriteResponse.pb-c.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubF3Gpo01WriteResponse.proto */ - -#ifndef PROTOBUF_C_StubF3Gpo01WriteResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubF3Gpo01WriteResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubF3Gpo01WriteResponse StubF3Gpo01WriteResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubF3Gpo01WriteResponse -{ - ProtobufCMessage base; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_F3_GPO01_WRITE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_f3_gpo01_write_response__descriptor) \ - , NULL, 0, 0 } - - -/* StubF3Gpo01WriteResponse methods */ -void stub_f3_gpo01_write_response__init - (StubF3Gpo01WriteResponse *message); -size_t stub_f3_gpo01_write_response__get_packed_size - (const StubF3Gpo01WriteResponse *message); -size_t stub_f3_gpo01_write_response__pack - (const StubF3Gpo01WriteResponse *message, - uint8_t *out); -size_t stub_f3_gpo01_write_response__pack_to_buffer - (const StubF3Gpo01WriteResponse *message, - ProtobufCBuffer *buffer); -StubF3Gpo01WriteResponse * - stub_f3_gpo01_write_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_f3_gpo01_write_response__free_unpacked - (StubF3Gpo01WriteResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubF3Gpo01WriteResponse_Closure) - (const StubF3Gpo01WriteResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_f3_gpo01_write_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubF3Gpo01WriteResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.c deleted file mode 100644 index 60519632e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadBackRegRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubFPGAReadBackRegRequest.pb-c.h" -void stub_fpgaread_back_reg_request__init - (StubFPGAReadBackRegRequest *message) -{ - static const StubFPGAReadBackRegRequest init_value = STUB_FPGAREAD_BACK_REG_REQUEST__INIT; - *message = init_value; -} -size_t stub_fpgaread_back_reg_request__get_packed_size - (const StubFPGAReadBackRegRequest *message) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_fpgaread_back_reg_request__pack - (const StubFPGAReadBackRegRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_fpgaread_back_reg_request__pack_to_buffer - (const StubFPGAReadBackRegRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubFPGAReadBackRegRequest * - stub_fpgaread_back_reg_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubFPGAReadBackRegRequest *) - protobuf_c_message_unpack (&stub_fpgaread_back_reg_request__descriptor, - allocator, len, data); -} -void stub_fpgaread_back_reg_request__free_unpacked - (StubFPGAReadBackRegRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_fpgaread_back_reg_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_fpgaread_back_reg_request__field_descriptors[2] = -{ - { - "FPGAId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadBackRegRequest, has_fpgaid), - offsetof(StubFPGAReadBackRegRequest, fpgaid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Value", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadBackRegRequest, has_value), - offsetof(StubFPGAReadBackRegRequest, value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_fpgaread_back_reg_request__field_indices_by_name[] = { - 0, /* field[0] = FPGAId */ - 1, /* field[1] = Value */ -}; -static const ProtobufCIntRange stub_fpgaread_back_reg_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_fpgaread_back_reg_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubFPGAReadBackRegRequest", - "StubFPGAReadBackRegRequest", - "StubFPGAReadBackRegRequest", - "", - sizeof(StubFPGAReadBackRegRequest), - 2, - stub_fpgaread_back_reg_request__field_descriptors, - stub_fpgaread_back_reg_request__field_indices_by_name, - 1, stub_fpgaread_back_reg_request__number_ranges, - (ProtobufCMessageInit) stub_fpgaread_back_reg_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.h deleted file mode 100644 index e4ae69f1f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegRequest.pb-c.h +++ /dev/null @@ -1,80 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadBackRegRequest.proto */ - -#ifndef PROTOBUF_C_StubFPGAReadBackRegRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubFPGAReadBackRegRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubFPGAReadBackRegRequest StubFPGAReadBackRegRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubFPGAReadBackRegRequest -{ - ProtobufCMessage base; - /* - * 0..2 - */ - protobuf_c_boolean has_fpgaid; - uint32_t fpgaid; - /* - * 16 bit - */ - protobuf_c_boolean has_value; - uint32_t value; -}; -#define STUB_FPGAREAD_BACK_REG_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_fpgaread_back_reg_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubFPGAReadBackRegRequest methods */ -void stub_fpgaread_back_reg_request__init - (StubFPGAReadBackRegRequest *message); -size_t stub_fpgaread_back_reg_request__get_packed_size - (const StubFPGAReadBackRegRequest *message); -size_t stub_fpgaread_back_reg_request__pack - (const StubFPGAReadBackRegRequest *message, - uint8_t *out); -size_t stub_fpgaread_back_reg_request__pack_to_buffer - (const StubFPGAReadBackRegRequest *message, - ProtobufCBuffer *buffer); -StubFPGAReadBackRegRequest * - stub_fpgaread_back_reg_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_fpgaread_back_reg_request__free_unpacked - (StubFPGAReadBackRegRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubFPGAReadBackRegRequest_Closure) - (const StubFPGAReadBackRegRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_fpgaread_back_reg_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubFPGAReadBackRegRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.c deleted file mode 100644 index e222b3b24..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.c +++ /dev/null @@ -1,132 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadBackRegResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubFPGAReadBackRegResponse.pb-c.h" -void stub_fpgaread_back_reg_response__init - (StubFPGAReadBackRegResponse *message) -{ - static const StubFPGAReadBackRegResponse init_value = STUB_FPGAREAD_BACK_REG_RESPONSE__INIT; - *message = init_value; -} -size_t stub_fpgaread_back_reg_response__get_packed_size - (const StubFPGAReadBackRegResponse *message) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_fpgaread_back_reg_response__pack - (const StubFPGAReadBackRegResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_fpgaread_back_reg_response__pack_to_buffer - (const StubFPGAReadBackRegResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_fpgaread_back_reg_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubFPGAReadBackRegResponse * - stub_fpgaread_back_reg_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubFPGAReadBackRegResponse *) - protobuf_c_message_unpack (&stub_fpgaread_back_reg_response__descriptor, - allocator, len, data); -} -void stub_fpgaread_back_reg_response__free_unpacked - (StubFPGAReadBackRegResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_fpgaread_back_reg_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_fpgaread_back_reg_response__field_descriptors[4] = -{ - { - "FPGAId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadBackRegResponse, has_fpgaid), - offsetof(StubFPGAReadBackRegResponse, fpgaid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadBackValue", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadBackRegResponse, has_readbackvalue), - offsetof(StubFPGAReadBackRegResponse, readbackvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubFPGAReadBackRegResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadBackRegResponse, has_statusword), - offsetof(StubFPGAReadBackRegResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_fpgaread_back_reg_response__field_indices_by_name[] = { - 0, /* field[0] = FPGAId */ - 1, /* field[1] = ReadBackValue */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_fpgaread_back_reg_response__number_ranges[2 + 1] = -{ - { 1, 0 }, - { 4, 2 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_fpgaread_back_reg_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubFPGAReadBackRegResponse", - "StubFPGAReadBackRegResponse", - "StubFPGAReadBackRegResponse", - "", - sizeof(StubFPGAReadBackRegResponse), - 4, - stub_fpgaread_back_reg_response__field_descriptors, - stub_fpgaread_back_reg_response__field_indices_by_name, - 2, stub_fpgaread_back_reg_response__number_ranges, - (ProtobufCMessageInit) stub_fpgaread_back_reg_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.h deleted file mode 100644 index 234017433..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadBackRegResponse.pb-c.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadBackRegResponse.proto */ - -#ifndef PROTOBUF_C_StubFPGAReadBackRegResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubFPGAReadBackRegResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubFPGAReadBackRegResponse StubFPGAReadBackRegResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubFPGAReadBackRegResponse -{ - ProtobufCMessage base; - /* - * 0..2 - */ - protobuf_c_boolean has_fpgaid; - uint32_t fpgaid; - /* - * 16 bit - */ - protobuf_c_boolean has_readbackvalue; - uint32_t readbackvalue; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_FPGAREAD_BACK_REG_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_fpgaread_back_reg_response__descriptor) \ - , 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubFPGAReadBackRegResponse methods */ -void stub_fpgaread_back_reg_response__init - (StubFPGAReadBackRegResponse *message); -size_t stub_fpgaread_back_reg_response__get_packed_size - (const StubFPGAReadBackRegResponse *message); -size_t stub_fpgaread_back_reg_response__pack - (const StubFPGAReadBackRegResponse *message, - uint8_t *out); -size_t stub_fpgaread_back_reg_response__pack_to_buffer - (const StubFPGAReadBackRegResponse *message, - ProtobufCBuffer *buffer); -StubFPGAReadBackRegResponse * - stub_fpgaread_back_reg_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_fpgaread_back_reg_response__free_unpacked - (StubFPGAReadBackRegResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubFPGAReadBackRegResponse_Closure) - (const StubFPGAReadBackRegResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_fpgaread_back_reg_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubFPGAReadBackRegResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.c deleted file mode 100644 index 5381c462a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadVersionRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubFPGAReadVersionRequest.pb-c.h" -void stub_fpgaread_version_request__init - (StubFPGAReadVersionRequest *message) -{ - static const StubFPGAReadVersionRequest init_value = STUB_FPGAREAD_VERSION_REQUEST__INIT; - *message = init_value; -} -size_t stub_fpgaread_version_request__get_packed_size - (const StubFPGAReadVersionRequest *message) -{ - assert(message->base.descriptor == &stub_fpgaread_version_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_fpgaread_version_request__pack - (const StubFPGAReadVersionRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_fpgaread_version_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_fpgaread_version_request__pack_to_buffer - (const StubFPGAReadVersionRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_fpgaread_version_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubFPGAReadVersionRequest * - stub_fpgaread_version_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubFPGAReadVersionRequest *) - protobuf_c_message_unpack (&stub_fpgaread_version_request__descriptor, - allocator, len, data); -} -void stub_fpgaread_version_request__free_unpacked - (StubFPGAReadVersionRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_fpgaread_version_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_fpgaread_version_request__field_descriptors[1] = -{ - { - "FPGAId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionRequest, has_fpgaid), - offsetof(StubFPGAReadVersionRequest, fpgaid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_fpgaread_version_request__field_indices_by_name[] = { - 0, /* field[0] = FPGAId */ -}; -static const ProtobufCIntRange stub_fpgaread_version_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_fpgaread_version_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubFPGAReadVersionRequest", - "StubFPGAReadVersionRequest", - "StubFPGAReadVersionRequest", - "", - sizeof(StubFPGAReadVersionRequest), - 1, - stub_fpgaread_version_request__field_descriptors, - stub_fpgaread_version_request__field_indices_by_name, - 1, stub_fpgaread_version_request__number_ranges, - (ProtobufCMessageInit) stub_fpgaread_version_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.h deleted file mode 100644 index 54db77bad..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionRequest.pb-c.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadVersionRequest.proto */ - -#ifndef PROTOBUF_C_StubFPGAReadVersionRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubFPGAReadVersionRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubFPGAReadVersionRequest StubFPGAReadVersionRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubFPGAReadVersionRequest -{ - ProtobufCMessage base; - /* - * 0..2 - */ - protobuf_c_boolean has_fpgaid; - uint32_t fpgaid; -}; -#define STUB_FPGAREAD_VERSION_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_fpgaread_version_request__descriptor) \ - , 0, 0 } - - -/* StubFPGAReadVersionRequest methods */ -void stub_fpgaread_version_request__init - (StubFPGAReadVersionRequest *message); -size_t stub_fpgaread_version_request__get_packed_size - (const StubFPGAReadVersionRequest *message); -size_t stub_fpgaread_version_request__pack - (const StubFPGAReadVersionRequest *message, - uint8_t *out); -size_t stub_fpgaread_version_request__pack_to_buffer - (const StubFPGAReadVersionRequest *message, - ProtobufCBuffer *buffer); -StubFPGAReadVersionRequest * - stub_fpgaread_version_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_fpgaread_version_request__free_unpacked - (StubFPGAReadVersionRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubFPGAReadVersionRequest_Closure) - (const StubFPGAReadVersionRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_fpgaread_version_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubFPGAReadVersionRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.c deleted file mode 100644 index 79c25d9a5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadVersionResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubFPGAReadVersionResponse.pb-c.h" -void stub_fpgaread_version_response__init - (StubFPGAReadVersionResponse *message) -{ - static const StubFPGAReadVersionResponse init_value = STUB_FPGAREAD_VERSION_RESPONSE__INIT; - *message = init_value; -} -size_t stub_fpgaread_version_response__get_packed_size - (const StubFPGAReadVersionResponse *message) -{ - assert(message->base.descriptor == &stub_fpgaread_version_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_fpgaread_version_response__pack - (const StubFPGAReadVersionResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_fpgaread_version_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_fpgaread_version_response__pack_to_buffer - (const StubFPGAReadVersionResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_fpgaread_version_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubFPGAReadVersionResponse * - stub_fpgaread_version_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubFPGAReadVersionResponse *) - protobuf_c_message_unpack (&stub_fpgaread_version_response__descriptor, - allocator, len, data); -} -void stub_fpgaread_version_response__free_unpacked - (StubFPGAReadVersionResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_fpgaread_version_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_fpgaread_version_response__field_descriptors[7] = -{ - { - "FPGAId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_fpgaid), - offsetof(StubFPGAReadVersionResponse, fpgaid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Day", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_day), - offsetof(StubFPGAReadVersionResponse, day), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Month", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_month), - offsetof(StubFPGAReadVersionResponse, month), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Year", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_year), - offsetof(StubFPGAReadVersionResponse, year), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Ver_num", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_ver_num), - offsetof(StubFPGAReadVersionResponse, ver_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubFPGAReadVersionResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubFPGAReadVersionResponse, has_statusword), - offsetof(StubFPGAReadVersionResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_fpgaread_version_response__field_indices_by_name[] = { - 1, /* field[1] = Day */ - 0, /* field[0] = FPGAId */ - 2, /* field[2] = Month */ - 5, /* field[5] = Status */ - 6, /* field[6] = StatusWord */ - 4, /* field[4] = Ver_num */ - 3, /* field[3] = Year */ -}; -static const ProtobufCIntRange stub_fpgaread_version_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor stub_fpgaread_version_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubFPGAReadVersionResponse", - "StubFPGAReadVersionResponse", - "StubFPGAReadVersionResponse", - "", - sizeof(StubFPGAReadVersionResponse), - 7, - stub_fpgaread_version_response__field_descriptors, - stub_fpgaread_version_response__field_indices_by_name, - 1, stub_fpgaread_version_response__number_ranges, - (ProtobufCMessageInit) stub_fpgaread_version_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.h deleted file mode 100644 index 360f7faac..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubFPGAReadVersionResponse.pb-c.h +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubFPGAReadVersionResponse.proto */ - -#ifndef PROTOBUF_C_StubFPGAReadVersionResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubFPGAReadVersionResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubFPGAReadVersionResponse StubFPGAReadVersionResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubFPGAReadVersionResponse -{ - ProtobufCMessage base; - /* - * 0..2 - */ - protobuf_c_boolean has_fpgaid; - uint32_t fpgaid; - protobuf_c_boolean has_day; - uint32_t day; - protobuf_c_boolean has_month; - uint32_t month; - protobuf_c_boolean has_year; - uint32_t year; - protobuf_c_boolean has_ver_num; - uint32_t ver_num; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_FPGAREAD_VERSION_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_fpgaread_version_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubFPGAReadVersionResponse methods */ -void stub_fpgaread_version_response__init - (StubFPGAReadVersionResponse *message); -size_t stub_fpgaread_version_response__get_packed_size - (const StubFPGAReadVersionResponse *message); -size_t stub_fpgaread_version_response__pack - (const StubFPGAReadVersionResponse *message, - uint8_t *out); -size_t stub_fpgaread_version_response__pack_to_buffer - (const StubFPGAReadVersionResponse *message, - ProtobufCBuffer *buffer); -StubFPGAReadVersionResponse * - stub_fpgaread_version_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_fpgaread_version_response__free_unpacked - (StubFPGAReadVersionResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubFPGAReadVersionResponse_Closure) - (const StubFPGAReadVersionResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_fpgaread_version_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubFPGAReadVersionResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.c deleted file mode 100644 index 9ea597eeb..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOInputSetupRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOInputSetupRequest.pb-c.h" -void stub_gpioinput_setup_request__init - (StubGPIOInputSetupRequest *message) -{ - static const StubGPIOInputSetupRequest init_value = STUB_GPIOINPUT_SETUP_REQUEST__INIT; - *message = init_value; -} -size_t stub_gpioinput_setup_request__get_packed_size - (const StubGPIOInputSetupRequest *message) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioinput_setup_request__pack - (const StubGPIOInputSetupRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioinput_setup_request__pack_to_buffer - (const StubGPIOInputSetupRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOInputSetupRequest * - stub_gpioinput_setup_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOInputSetupRequest *) - protobuf_c_message_unpack (&stub_gpioinput_setup_request__descriptor, - allocator, len, data); -} -void stub_gpioinput_setup_request__free_unpacked - (StubGPIOInputSetupRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioinput_setup_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioinput_setup_request__field_descriptors[4] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOInputSetupRequest, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOInputSetupRequest, has_pinid), - offsetof(StubGPIOInputSetupRequest, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetInput", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOInputSetupRequest, has_setinput), - offsetof(StubGPIOInputSetupRequest, setinput), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetPullUP", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOInputSetupRequest, has_setpullup), - offsetof(StubGPIOInputSetupRequest, setpullup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioinput_setup_request__field_indices_by_name[] = { - 1, /* field[1] = PinId */ - 0, /* field[0] = PortId */ - 2, /* field[2] = SetInput */ - 3, /* field[3] = SetPullUP */ -}; -static const ProtobufCIntRange stub_gpioinput_setup_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_gpioinput_setup_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOInputSetupRequest", - "StubGPIOInputSetupRequest", - "StubGPIOInputSetupRequest", - "", - sizeof(StubGPIOInputSetupRequest), - 4, - stub_gpioinput_setup_request__field_descriptors, - stub_gpioinput_setup_request__field_indices_by_name, - 1, stub_gpioinput_setup_request__number_ranges, - (ProtobufCMessageInit) stub_gpioinput_setup_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.h deleted file mode 100644 index 3e515a650..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupRequest.pb-c.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOInputSetupRequest.proto */ - -#ifndef PROTOBUF_C_StubGPIOInputSetupRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOInputSetupRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOInputSetupRequest StubGPIOInputSetupRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOInputSetupRequest -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - /* - * 0 - Set OUTPUT, 1 - Set INPUT, - */ - protobuf_c_boolean has_setinput; - uint32_t setinput; - /* - *0 - Down, 1 - Up - */ - protobuf_c_boolean has_setpullup; - uint32_t setpullup; -}; -#define STUB_GPIOINPUT_SETUP_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioinput_setup_request__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0 } - - -/* StubGPIOInputSetupRequest methods */ -void stub_gpioinput_setup_request__init - (StubGPIOInputSetupRequest *message); -size_t stub_gpioinput_setup_request__get_packed_size - (const StubGPIOInputSetupRequest *message); -size_t stub_gpioinput_setup_request__pack - (const StubGPIOInputSetupRequest *message, - uint8_t *out); -size_t stub_gpioinput_setup_request__pack_to_buffer - (const StubGPIOInputSetupRequest *message, - ProtobufCBuffer *buffer); -StubGPIOInputSetupRequest * - stub_gpioinput_setup_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioinput_setup_request__free_unpacked - (StubGPIOInputSetupRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOInputSetupRequest_Closure) - (const StubGPIOInputSetupRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioinput_setup_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOInputSetupRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c deleted file mode 100644 index a7ad8a8e5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOInputSetupResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOInputSetupResponse.pb-c.h" -void stub_gpioinput_setup_response__init - (StubGPIOInputSetupResponse *message) -{ - static const StubGPIOInputSetupResponse init_value = STUB_GPIOINPUT_SETUP_RESPONSE__INIT; - *message = init_value; -} -size_t stub_gpioinput_setup_response__get_packed_size - (const StubGPIOInputSetupResponse *message) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioinput_setup_response__pack - (const StubGPIOInputSetupResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioinput_setup_response__pack_to_buffer - (const StubGPIOInputSetupResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioinput_setup_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOInputSetupResponse * - stub_gpioinput_setup_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOInputSetupResponse *) - protobuf_c_message_unpack (&stub_gpioinput_setup_response__descriptor, - allocator, len, data); -} -void stub_gpioinput_setup_response__free_unpacked - (StubGPIOInputSetupResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioinput_setup_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioinput_setup_response__field_descriptors[4] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOInputSetupResponse, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOInputSetupResponse, has_pinid), - offsetof(StubGPIOInputSetupResponse, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOInputSetupResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOInputSetupResponse, has_statusword), - offsetof(StubGPIOInputSetupResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioinput_setup_response__field_indices_by_name[] = { - 1, /* field[1] = PinId */ - 0, /* field[0] = PortId */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_gpioinput_setup_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_gpioinput_setup_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOInputSetupResponse", - "StubGPIOInputSetupResponse", - "StubGPIOInputSetupResponse", - "", - sizeof(StubGPIOInputSetupResponse), - 4, - stub_gpioinput_setup_response__field_descriptors, - stub_gpioinput_setup_response__field_indices_by_name, - 1, stub_gpioinput_setup_response__number_ranges, - (ProtobufCMessageInit) stub_gpioinput_setup_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h deleted file mode 100644 index 7a93c3048..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOInputSetupResponse.proto */ - -#ifndef PROTOBUF_C_StubGPIOInputSetupResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOInputSetupResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOInputSetupResponse StubGPIOInputSetupResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOInputSetupResponse -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_GPIOINPUT_SETUP_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioinput_setup_response__descriptor) \ - , NULL, 0, 0, NULL, 0, 0 } - - -/* StubGPIOInputSetupResponse methods */ -void stub_gpioinput_setup_response__init - (StubGPIOInputSetupResponse *message); -size_t stub_gpioinput_setup_response__get_packed_size - (const StubGPIOInputSetupResponse *message); -size_t stub_gpioinput_setup_response__pack - (const StubGPIOInputSetupResponse *message, - uint8_t *out); -size_t stub_gpioinput_setup_response__pack_to_buffer - (const StubGPIOInputSetupResponse *message, - ProtobufCBuffer *buffer); -StubGPIOInputSetupResponse * - stub_gpioinput_setup_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioinput_setup_response__free_unpacked - (StubGPIOInputSetupResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOInputSetupResponse_Closure) - (const StubGPIOInputSetupResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioinput_setup_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOInputSetupResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.c deleted file mode 100644 index 68826631e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadBitRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOReadBitRequest.pb-c.h" -void stub_gpioread_bit_request__init - (StubGPIOReadBitRequest *message) -{ - static const StubGPIOReadBitRequest init_value = STUB_GPIOREAD_BIT_REQUEST__INIT; - *message = init_value; -} -size_t stub_gpioread_bit_request__get_packed_size - (const StubGPIOReadBitRequest *message) -{ - assert(message->base.descriptor == &stub_gpioread_bit_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioread_bit_request__pack - (const StubGPIOReadBitRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioread_bit_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioread_bit_request__pack_to_buffer - (const StubGPIOReadBitRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioread_bit_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOReadBitRequest * - stub_gpioread_bit_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOReadBitRequest *) - protobuf_c_message_unpack (&stub_gpioread_bit_request__descriptor, - allocator, len, data); -} -void stub_gpioread_bit_request__free_unpacked - (StubGPIOReadBitRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioread_bit_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioread_bit_request__field_descriptors[4] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadBitRequest, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOReadBitRequest, has_pinid), - offsetof(StubGPIOReadBitRequest, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Polling", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubGPIOReadBitRequest, has_polling), - offsetof(StubGPIOReadBitRequest, polling), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PollExpValue", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubGPIOReadBitRequest, has_pollexpvalue), - offsetof(StubGPIOReadBitRequest, pollexpvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioread_bit_request__field_indices_by_name[] = { - 1, /* field[1] = PinId */ - 3, /* field[3] = PollExpValue */ - 2, /* field[2] = Polling */ - 0, /* field[0] = PortId */ -}; -static const ProtobufCIntRange stub_gpioread_bit_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_gpioread_bit_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOReadBitRequest", - "StubGPIOReadBitRequest", - "StubGPIOReadBitRequest", - "", - sizeof(StubGPIOReadBitRequest), - 4, - stub_gpioread_bit_request__field_descriptors, - stub_gpioread_bit_request__field_indices_by_name, - 1, stub_gpioread_bit_request__number_ranges, - (ProtobufCMessageInit) stub_gpioread_bit_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.h deleted file mode 100644 index 263fb539e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitRequest.pb-c.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadBitRequest.proto */ - -#ifndef PROTOBUF_C_StubGPIOReadBitRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOReadBitRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOReadBitRequest StubGPIOReadBitRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOReadBitRequest -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - /* - * 1 - Polling - */ - protobuf_c_boolean has_polling; - protobuf_c_boolean polling; - /* - * 0/1 - */ - protobuf_c_boolean has_pollexpvalue; - protobuf_c_boolean pollexpvalue; -}; -#define STUB_GPIOREAD_BIT_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_bit_request__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0 } - - -/* StubGPIOReadBitRequest methods */ -void stub_gpioread_bit_request__init - (StubGPIOReadBitRequest *message); -size_t stub_gpioread_bit_request__get_packed_size - (const StubGPIOReadBitRequest *message); -size_t stub_gpioread_bit_request__pack - (const StubGPIOReadBitRequest *message, - uint8_t *out); -size_t stub_gpioread_bit_request__pack_to_buffer - (const StubGPIOReadBitRequest *message, - ProtobufCBuffer *buffer); -StubGPIOReadBitRequest * - stub_gpioread_bit_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioread_bit_request__free_unpacked - (StubGPIOReadBitRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOReadBitRequest_Closure) - (const StubGPIOReadBitRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioread_bit_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOReadBitRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c deleted file mode 100644 index bc5bc2e84..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadBitResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOReadBitResponse.pb-c.h" -void stub_gpioread_bit_response__init - (StubGPIOReadBitResponse *message) -{ - static const StubGPIOReadBitResponse init_value = STUB_GPIOREAD_BIT_RESPONSE__INIT; - *message = init_value; -} -size_t stub_gpioread_bit_response__get_packed_size - (const StubGPIOReadBitResponse *message) -{ - assert(message->base.descriptor == &stub_gpioread_bit_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioread_bit_response__pack - (const StubGPIOReadBitResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioread_bit_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioread_bit_response__pack_to_buffer - (const StubGPIOReadBitResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioread_bit_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOReadBitResponse * - stub_gpioread_bit_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOReadBitResponse *) - protobuf_c_message_unpack (&stub_gpioread_bit_response__descriptor, - allocator, len, data); -} -void stub_gpioread_bit_response__free_unpacked - (StubGPIOReadBitResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioread_bit_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioread_bit_response__field_descriptors[5] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadBitResponse, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOReadBitResponse, has_pinid), - offsetof(StubGPIOReadBitResponse, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BitValue", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubGPIOReadBitResponse, has_bitvalue), - offsetof(StubGPIOReadBitResponse, bitvalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadBitResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOReadBitResponse, has_statusword), - offsetof(StubGPIOReadBitResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioread_bit_response__field_indices_by_name[] = { - 2, /* field[2] = BitValue */ - 1, /* field[1] = PinId */ - 0, /* field[0] = PortId */ - 3, /* field[3] = Status */ - 4, /* field[4] = StatusWord */ -}; -static const ProtobufCIntRange stub_gpioread_bit_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_gpioread_bit_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOReadBitResponse", - "StubGPIOReadBitResponse", - "StubGPIOReadBitResponse", - "", - sizeof(StubGPIOReadBitResponse), - 5, - stub_gpioread_bit_response__field_descriptors, - stub_gpioread_bit_response__field_indices_by_name, - 1, stub_gpioread_bit_response__number_ranges, - (ProtobufCMessageInit) stub_gpioread_bit_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h deleted file mode 100644 index ebbdc199d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h +++ /dev/null @@ -1,90 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadBitResponse.proto */ - -#ifndef PROTOBUF_C_StubGPIOReadBitResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOReadBitResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOReadBitResponse StubGPIOReadBitResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOReadBitResponse -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - protobuf_c_boolean has_bitvalue; - protobuf_c_boolean bitvalue; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_GPIOREAD_BIT_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_bit_response__descriptor) \ - , NULL, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubGPIOReadBitResponse methods */ -void stub_gpioread_bit_response__init - (StubGPIOReadBitResponse *message); -size_t stub_gpioread_bit_response__get_packed_size - (const StubGPIOReadBitResponse *message); -size_t stub_gpioread_bit_response__pack - (const StubGPIOReadBitResponse *message, - uint8_t *out); -size_t stub_gpioread_bit_response__pack_to_buffer - (const StubGPIOReadBitResponse *message, - ProtobufCBuffer *buffer); -StubGPIOReadBitResponse * - stub_gpioread_bit_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioread_bit_response__free_unpacked - (StubGPIOReadBitResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOReadBitResponse_Closure) - (const StubGPIOReadBitResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioread_bit_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOReadBitResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.c deleted file mode 100644 index 6707d7a6f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadByteRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOReadByteRequest.pb-c.h" -void stub_gpioread_byte_request__init - (StubGPIOReadByteRequest *message) -{ - static const StubGPIOReadByteRequest init_value = STUB_GPIOREAD_BYTE_REQUEST__INIT; - *message = init_value; -} -size_t stub_gpioread_byte_request__get_packed_size - (const StubGPIOReadByteRequest *message) -{ - assert(message->base.descriptor == &stub_gpioread_byte_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioread_byte_request__pack - (const StubGPIOReadByteRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioread_byte_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioread_byte_request__pack_to_buffer - (const StubGPIOReadByteRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioread_byte_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOReadByteRequest * - stub_gpioread_byte_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOReadByteRequest *) - protobuf_c_message_unpack (&stub_gpioread_byte_request__descriptor, - allocator, len, data); -} -void stub_gpioread_byte_request__free_unpacked - (StubGPIOReadByteRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioread_byte_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioread_byte_request__field_descriptors[1] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadByteRequest, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioread_byte_request__field_indices_by_name[] = { - 0, /* field[0] = PortId */ -}; -static const ProtobufCIntRange stub_gpioread_byte_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_gpioread_byte_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOReadByteRequest", - "StubGPIOReadByteRequest", - "StubGPIOReadByteRequest", - "", - sizeof(StubGPIOReadByteRequest), - 1, - stub_gpioread_byte_request__field_descriptors, - stub_gpioread_byte_request__field_indices_by_name, - 1, stub_gpioread_byte_request__number_ranges, - (ProtobufCMessageInit) stub_gpioread_byte_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.h deleted file mode 100644 index 53e49de7f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadByteRequest.proto */ - -#ifndef PROTOBUF_C_StubGPIOReadByteRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOReadByteRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOReadByteRequest StubGPIOReadByteRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOReadByteRequest -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; -}; -#define STUB_GPIOREAD_BYTE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_byte_request__descriptor) \ - , NULL } - - -/* StubGPIOReadByteRequest methods */ -void stub_gpioread_byte_request__init - (StubGPIOReadByteRequest *message); -size_t stub_gpioread_byte_request__get_packed_size - (const StubGPIOReadByteRequest *message); -size_t stub_gpioread_byte_request__pack - (const StubGPIOReadByteRequest *message, - uint8_t *out); -size_t stub_gpioread_byte_request__pack_to_buffer - (const StubGPIOReadByteRequest *message, - ProtobufCBuffer *buffer); -StubGPIOReadByteRequest * - stub_gpioread_byte_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioread_byte_request__free_unpacked - (StubGPIOReadByteRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOReadByteRequest_Closure) - (const StubGPIOReadByteRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioread_byte_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOReadByteRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c deleted file mode 100644 index b43726c3e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadByteResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOReadByteResponse.pb-c.h" -void stub_gpioread_byte_response__init - (StubGPIOReadByteResponse *message) -{ - static const StubGPIOReadByteResponse init_value = STUB_GPIOREAD_BYTE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_gpioread_byte_response__get_packed_size - (const StubGPIOReadByteResponse *message) -{ - assert(message->base.descriptor == &stub_gpioread_byte_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpioread_byte_response__pack - (const StubGPIOReadByteResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpioread_byte_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpioread_byte_response__pack_to_buffer - (const StubGPIOReadByteResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpioread_byte_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOReadByteResponse * - stub_gpioread_byte_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOReadByteResponse *) - protobuf_c_message_unpack (&stub_gpioread_byte_response__descriptor, - allocator, len, data); -} -void stub_gpioread_byte_response__free_unpacked - (StubGPIOReadByteResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpioread_byte_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpioread_byte_response__field_descriptors[4] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadByteResponse, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ByteValue", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOReadByteResponse, has_bytevalue), - offsetof(StubGPIOReadByteResponse, bytevalue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOReadByteResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOReadByteResponse, has_statusword), - offsetof(StubGPIOReadByteResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpioread_byte_response__field_indices_by_name[] = { - 1, /* field[1] = ByteValue */ - 0, /* field[0] = PortId */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_gpioread_byte_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_gpioread_byte_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOReadByteResponse", - "StubGPIOReadByteResponse", - "StubGPIOReadByteResponse", - "", - sizeof(StubGPIOReadByteResponse), - 4, - stub_gpioread_byte_response__field_descriptors, - stub_gpioread_byte_response__field_indices_by_name, - 1, stub_gpioread_byte_response__number_ranges, - (ProtobufCMessageInit) stub_gpioread_byte_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h deleted file mode 100644 index dad405984..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOReadByteResponse.proto */ - -#ifndef PROTOBUF_C_StubGPIOReadByteResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOReadByteResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOReadByteResponse StubGPIOReadByteResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOReadByteResponse -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - protobuf_c_boolean has_bytevalue; - uint32_t bytevalue; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_GPIOREAD_BYTE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_byte_response__descriptor) \ - , NULL, 0, 0, NULL, 0, 0 } - - -/* StubGPIOReadByteResponse methods */ -void stub_gpioread_byte_response__init - (StubGPIOReadByteResponse *message); -size_t stub_gpioread_byte_response__get_packed_size - (const StubGPIOReadByteResponse *message); -size_t stub_gpioread_byte_response__pack - (const StubGPIOReadByteResponse *message, - uint8_t *out); -size_t stub_gpioread_byte_response__pack_to_buffer - (const StubGPIOReadByteResponse *message, - ProtobufCBuffer *buffer); -StubGPIOReadByteResponse * - stub_gpioread_byte_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpioread_byte_response__free_unpacked - (StubGPIOReadByteResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOReadByteResponse_Closure) - (const StubGPIOReadByteResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpioread_byte_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOReadByteResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.c deleted file mode 100644 index 0e8670609..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteBitRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOWriteBitRequest.pb-c.h" -void stub_gpiowrite_bit_request__init - (StubGPIOWriteBitRequest *message) -{ - static const StubGPIOWriteBitRequest init_value = STUB_GPIOWRITE_BIT_REQUEST__INIT; - *message = init_value; -} -size_t stub_gpiowrite_bit_request__get_packed_size - (const StubGPIOWriteBitRequest *message) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpiowrite_bit_request__pack - (const StubGPIOWriteBitRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpiowrite_bit_request__pack_to_buffer - (const StubGPIOWriteBitRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOWriteBitRequest * - stub_gpiowrite_bit_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOWriteBitRequest *) - protobuf_c_message_unpack (&stub_gpiowrite_bit_request__descriptor, - allocator, len, data); -} -void stub_gpiowrite_bit_request__free_unpacked - (StubGPIOWriteBitRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpiowrite_bit_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpiowrite_bit_request__field_descriptors[3] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteBitRequest, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOWriteBitRequest, has_pinid), - offsetof(StubGPIOWriteBitRequest, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BitToWrite", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubGPIOWriteBitRequest, has_bittowrite), - offsetof(StubGPIOWriteBitRequest, bittowrite), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpiowrite_bit_request__field_indices_by_name[] = { - 2, /* field[2] = BitToWrite */ - 1, /* field[1] = PinId */ - 0, /* field[0] = PortId */ -}; -static const ProtobufCIntRange stub_gpiowrite_bit_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_gpiowrite_bit_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOWriteBitRequest", - "StubGPIOWriteBitRequest", - "StubGPIOWriteBitRequest", - "", - sizeof(StubGPIOWriteBitRequest), - 3, - stub_gpiowrite_bit_request__field_descriptors, - stub_gpiowrite_bit_request__field_indices_by_name, - 1, stub_gpiowrite_bit_request__number_ranges, - (ProtobufCMessageInit) stub_gpiowrite_bit_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.h deleted file mode 100644 index 705ca7d38..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitRequest.pb-c.h +++ /dev/null @@ -1,81 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteBitRequest.proto */ - -#ifndef PROTOBUF_C_StubGPIOWriteBitRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOWriteBitRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOWriteBitRequest StubGPIOWriteBitRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOWriteBitRequest -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - protobuf_c_boolean has_bittowrite; - protobuf_c_boolean bittowrite; -}; -#define STUB_GPIOWRITE_BIT_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_bit_request__descriptor) \ - , NULL, 0, 0, 0, 0 } - - -/* StubGPIOWriteBitRequest methods */ -void stub_gpiowrite_bit_request__init - (StubGPIOWriteBitRequest *message); -size_t stub_gpiowrite_bit_request__get_packed_size - (const StubGPIOWriteBitRequest *message); -size_t stub_gpiowrite_bit_request__pack - (const StubGPIOWriteBitRequest *message, - uint8_t *out); -size_t stub_gpiowrite_bit_request__pack_to_buffer - (const StubGPIOWriteBitRequest *message, - ProtobufCBuffer *buffer); -StubGPIOWriteBitRequest * - stub_gpiowrite_bit_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpiowrite_bit_request__free_unpacked - (StubGPIOWriteBitRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOWriteBitRequest_Closure) - (const StubGPIOWriteBitRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpiowrite_bit_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOWriteBitRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c deleted file mode 100644 index ef26dbf57..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteBitResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOWriteBitResponse.pb-c.h" -void stub_gpiowrite_bit_response__init - (StubGPIOWriteBitResponse *message) -{ - static const StubGPIOWriteBitResponse init_value = STUB_GPIOWRITE_BIT_RESPONSE__INIT; - *message = init_value; -} -size_t stub_gpiowrite_bit_response__get_packed_size - (const StubGPIOWriteBitResponse *message) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpiowrite_bit_response__pack - (const StubGPIOWriteBitResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpiowrite_bit_response__pack_to_buffer - (const StubGPIOWriteBitResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpiowrite_bit_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOWriteBitResponse * - stub_gpiowrite_bit_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOWriteBitResponse *) - protobuf_c_message_unpack (&stub_gpiowrite_bit_response__descriptor, - allocator, len, data); -} -void stub_gpiowrite_bit_response__free_unpacked - (StubGPIOWriteBitResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpiowrite_bit_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpiowrite_bit_response__field_descriptors[4] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteBitResponse, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PinId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOWriteBitResponse, has_pinid), - offsetof(StubGPIOWriteBitResponse, pinid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteBitResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOWriteBitResponse, has_statusword), - offsetof(StubGPIOWriteBitResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpiowrite_bit_response__field_indices_by_name[] = { - 1, /* field[1] = PinId */ - 0, /* field[0] = PortId */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_gpiowrite_bit_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_gpiowrite_bit_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOWriteBitResponse", - "StubGPIOWriteBitResponse", - "StubGPIOWriteBitResponse", - "", - sizeof(StubGPIOWriteBitResponse), - 4, - stub_gpiowrite_bit_response__field_descriptors, - stub_gpiowrite_bit_response__field_indices_by_name, - 1, stub_gpiowrite_bit_response__number_ranges, - (ProtobufCMessageInit) stub_gpiowrite_bit_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h deleted file mode 100644 index 831732f4a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteBitResponse.proto */ - -#ifndef PROTOBUF_C_StubGPIOWriteBitResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOWriteBitResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOWriteBitResponse StubGPIOWriteBitResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOWriteBitResponse -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * 0..7 - */ - protobuf_c_boolean has_pinid; - uint32_t pinid; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_GPIOWRITE_BIT_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_bit_response__descriptor) \ - , NULL, 0, 0, NULL, 0, 0 } - - -/* StubGPIOWriteBitResponse methods */ -void stub_gpiowrite_bit_response__init - (StubGPIOWriteBitResponse *message); -size_t stub_gpiowrite_bit_response__get_packed_size - (const StubGPIOWriteBitResponse *message); -size_t stub_gpiowrite_bit_response__pack - (const StubGPIOWriteBitResponse *message, - uint8_t *out); -size_t stub_gpiowrite_bit_response__pack_to_buffer - (const StubGPIOWriteBitResponse *message, - ProtobufCBuffer *buffer); -StubGPIOWriteBitResponse * - stub_gpiowrite_bit_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpiowrite_bit_response__free_unpacked - (StubGPIOWriteBitResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOWriteBitResponse_Closure) - (const StubGPIOWriteBitResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpiowrite_bit_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOWriteBitResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.c deleted file mode 100644 index fe4fe1981..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.c +++ /dev/null @@ -1,106 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteByteRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOWriteByteRequest.pb-c.h" -void stub_gpiowrite_byte_request__init - (StubGPIOWriteByteRequest *message) -{ - static const StubGPIOWriteByteRequest init_value = STUB_GPIOWRITE_BYTE_REQUEST__INIT; - *message = init_value; -} -size_t stub_gpiowrite_byte_request__get_packed_size - (const StubGPIOWriteByteRequest *message) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpiowrite_byte_request__pack - (const StubGPIOWriteByteRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpiowrite_byte_request__pack_to_buffer - (const StubGPIOWriteByteRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOWriteByteRequest * - stub_gpiowrite_byte_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOWriteByteRequest *) - protobuf_c_message_unpack (&stub_gpiowrite_byte_request__descriptor, - allocator, len, data); -} -void stub_gpiowrite_byte_request__free_unpacked - (StubGPIOWriteByteRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpiowrite_byte_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpiowrite_byte_request__field_descriptors[2] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteByteRequest, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DataToWrite", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOWriteByteRequest, has_datatowrite), - offsetof(StubGPIOWriteByteRequest, datatowrite), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpiowrite_byte_request__field_indices_by_name[] = { - 1, /* field[1] = DataToWrite */ - 0, /* field[0] = PortId */ -}; -static const ProtobufCIntRange stub_gpiowrite_byte_request__number_ranges[2 + 1] = -{ - { 1, 0 }, - { 3, 1 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_gpiowrite_byte_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOWriteByteRequest", - "StubGPIOWriteByteRequest", - "StubGPIOWriteByteRequest", - "", - sizeof(StubGPIOWriteByteRequest), - 2, - stub_gpiowrite_byte_request__field_descriptors, - stub_gpiowrite_byte_request__field_indices_by_name, - 2, stub_gpiowrite_byte_request__number_ranges, - (ProtobufCMessageInit) stub_gpiowrite_byte_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.h deleted file mode 100644 index a69934e01..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteRequest.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteByteRequest.proto */ - -#ifndef PROTOBUF_C_StubGPIOWriteByteRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOWriteByteRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOWriteByteRequest StubGPIOWriteByteRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOWriteByteRequest -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - protobuf_c_boolean has_datatowrite; - uint32_t datatowrite; -}; -#define STUB_GPIOWRITE_BYTE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_byte_request__descriptor) \ - , NULL, 0, 0 } - - -/* StubGPIOWriteByteRequest methods */ -void stub_gpiowrite_byte_request__init - (StubGPIOWriteByteRequest *message); -size_t stub_gpiowrite_byte_request__get_packed_size - (const StubGPIOWriteByteRequest *message); -size_t stub_gpiowrite_byte_request__pack - (const StubGPIOWriteByteRequest *message, - uint8_t *out); -size_t stub_gpiowrite_byte_request__pack_to_buffer - (const StubGPIOWriteByteRequest *message, - ProtobufCBuffer *buffer); -StubGPIOWriteByteRequest * - stub_gpiowrite_byte_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpiowrite_byte_request__free_unpacked - (StubGPIOWriteByteRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOWriteByteRequest_Closure) - (const StubGPIOWriteByteRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpiowrite_byte_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOWriteByteRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c deleted file mode 100644 index ab6b357d9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteByteResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubGPIOWriteByteResponse.pb-c.h" -void stub_gpiowrite_byte_response__init - (StubGPIOWriteByteResponse *message) -{ - static const StubGPIOWriteByteResponse init_value = STUB_GPIOWRITE_BYTE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_gpiowrite_byte_response__get_packed_size - (const StubGPIOWriteByteResponse *message) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_gpiowrite_byte_response__pack - (const StubGPIOWriteByteResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_gpiowrite_byte_response__pack_to_buffer - (const StubGPIOWriteByteResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_gpiowrite_byte_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubGPIOWriteByteResponse * - stub_gpiowrite_byte_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubGPIOWriteByteResponse *) - protobuf_c_message_unpack (&stub_gpiowrite_byte_response__descriptor, - allocator, len, data); -} -void stub_gpiowrite_byte_response__free_unpacked - (StubGPIOWriteByteResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_gpiowrite_byte_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_gpiowrite_byte_response__field_descriptors[3] = -{ - { - "PortId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteByteResponse, portid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubGPIOWriteByteResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubGPIOWriteByteResponse, has_statusword), - offsetof(StubGPIOWriteByteResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_gpiowrite_byte_response__field_indices_by_name[] = { - 0, /* field[0] = PortId */ - 1, /* field[1] = Status */ - 2, /* field[2] = StatusWord */ -}; -static const ProtobufCIntRange stub_gpiowrite_byte_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_gpiowrite_byte_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubGPIOWriteByteResponse", - "StubGPIOWriteByteResponse", - "StubGPIOWriteByteResponse", - "", - sizeof(StubGPIOWriteByteResponse), - 3, - stub_gpiowrite_byte_response__field_descriptors, - stub_gpiowrite_byte_response__field_indices_by_name, - 1, stub_gpiowrite_byte_response__number_ranges, - (ProtobufCMessageInit) stub_gpiowrite_byte_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h deleted file mode 100644 index 6995dbc15..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h +++ /dev/null @@ -1,83 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubGPIOWriteByteResponse.proto */ - -#ifndef PROTOBUF_C_StubGPIOWriteByteResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubGPIOWriteByteResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubGPIOWriteByteResponse StubGPIOWriteByteResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubGPIOWriteByteResponse -{ - ProtobufCMessage base; - /* - * A.. - */ - char *portid; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_GPIOWRITE_BYTE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_byte_response__descriptor) \ - , NULL, NULL, 0, 0 } - - -/* StubGPIOWriteByteResponse methods */ -void stub_gpiowrite_byte_response__init - (StubGPIOWriteByteResponse *message); -size_t stub_gpiowrite_byte_response__get_packed_size - (const StubGPIOWriteByteResponse *message); -size_t stub_gpiowrite_byte_response__pack - (const StubGPIOWriteByteResponse *message, - uint8_t *out); -size_t stub_gpiowrite_byte_response__pack_to_buffer - (const StubGPIOWriteByteResponse *message, - ProtobufCBuffer *buffer); -StubGPIOWriteByteResponse * - stub_gpiowrite_byte_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_gpiowrite_byte_response__free_unpacked - (StubGPIOWriteByteResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubGPIOWriteByteResponse_Closure) - (const StubGPIOWriteByteResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_gpiowrite_byte_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubGPIOWriteByteResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.c deleted file mode 100644 index fba567238..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHWVersionRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubHWVersionRequest.pb-c.h" -void stub_hwversion_request__init - (StubHWVersionRequest *message) -{ - static const StubHWVersionRequest init_value = STUB_HWVERSION_REQUEST__INIT; - *message = init_value; -} -size_t stub_hwversion_request__get_packed_size - (const StubHWVersionRequest *message) -{ - assert(message->base.descriptor == &stub_hwversion_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_hwversion_request__pack - (const StubHWVersionRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_hwversion_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_hwversion_request__pack_to_buffer - (const StubHWVersionRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_hwversion_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubHWVersionRequest * - stub_hwversion_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubHWVersionRequest *) - protobuf_c_message_unpack (&stub_hwversion_request__descriptor, - allocator, len, data); -} -void stub_hwversion_request__free_unpacked - (StubHWVersionRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_hwversion_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define stub_hwversion_request__field_descriptors NULL -#define stub_hwversion_request__field_indices_by_name NULL -#define stub_hwversion_request__number_ranges NULL -const ProtobufCMessageDescriptor stub_hwversion_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubHWVersionRequest", - "StubHWVersionRequest", - "StubHWVersionRequest", - "", - sizeof(StubHWVersionRequest), - 0, - stub_hwversion_request__field_descriptors, - stub_hwversion_request__field_indices_by_name, - 0, stub_hwversion_request__number_ranges, - (ProtobufCMessageInit) stub_hwversion_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.h deleted file mode 100644 index 017aa8cd2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHWVersionRequest.proto */ - -#ifndef PROTOBUF_C_StubHWVersionRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubHWVersionRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubHWVersionRequest StubHWVersionRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubHWVersionRequest -{ - ProtobufCMessage base; -}; -#define STUB_HWVERSION_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_hwversion_request__descriptor) \ - } - - -/* StubHWVersionRequest methods */ -void stub_hwversion_request__init - (StubHWVersionRequest *message); -size_t stub_hwversion_request__get_packed_size - (const StubHWVersionRequest *message); -size_t stub_hwversion_request__pack - (const StubHWVersionRequest *message, - uint8_t *out); -size_t stub_hwversion_request__pack_to_buffer - (const StubHWVersionRequest *message, - ProtobufCBuffer *buffer); -StubHWVersionRequest * - stub_hwversion_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_hwversion_request__free_unpacked - (StubHWVersionRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubHWVersionRequest_Closure) - (const StubHWVersionRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_hwversion_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubHWVersionRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.c deleted file mode 100644 index 4aec291a0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHWVersionResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubHWVersionResponse.pb-c.h" -void stub_hwversion_response__init - (StubHWVersionResponse *message) -{ - static const StubHWVersionResponse init_value = STUB_HWVERSION_RESPONSE__INIT; - *message = init_value; -} -size_t stub_hwversion_response__get_packed_size - (const StubHWVersionResponse *message) -{ - assert(message->base.descriptor == &stub_hwversion_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_hwversion_response__pack - (const StubHWVersionResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_hwversion_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_hwversion_response__pack_to_buffer - (const StubHWVersionResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_hwversion_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubHWVersionResponse * - stub_hwversion_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubHWVersionResponse *) - protobuf_c_message_unpack (&stub_hwversion_response__descriptor, - allocator, len, data); -} -void stub_hwversion_response__free_unpacked - (StubHWVersionResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_hwversion_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_hwversion_response__field_descriptors[4] = -{ - { - "BRD_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHWVersionResponse, has_brd_id), - offsetof(StubHWVersionResponse, brd_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ASSY_ID", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHWVersionResponse, has_assy_id), - offsetof(StubHWVersionResponse, assy_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubHWVersionResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHWVersionResponse, has_statusword), - offsetof(StubHWVersionResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_hwversion_response__field_indices_by_name[] = { - 1, /* field[1] = ASSY_ID */ - 0, /* field[0] = BRD_ID */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_hwversion_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_hwversion_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubHWVersionResponse", - "StubHWVersionResponse", - "StubHWVersionResponse", - "", - sizeof(StubHWVersionResponse), - 4, - stub_hwversion_response__field_descriptors, - stub_hwversion_response__field_indices_by_name, - 1, stub_hwversion_response__number_ranges, - (ProtobufCMessageInit) stub_hwversion_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.h deleted file mode 100644 index 349ff1452..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHWVersionResponse.pb-c.h +++ /dev/null @@ -1,83 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHWVersionResponse.proto */ - -#ifndef PROTOBUF_C_StubHWVersionResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubHWVersionResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubHWVersionResponse StubHWVersionResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubHWVersionResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_brd_id; - uint32_t brd_id; - protobuf_c_boolean has_assy_id; - uint32_t assy_id; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_HWVERSION_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_hwversion_response__descriptor) \ - , 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubHWVersionResponse methods */ -void stub_hwversion_response__init - (StubHWVersionResponse *message); -size_t stub_hwversion_response__get_packed_size - (const StubHWVersionResponse *message); -size_t stub_hwversion_response__pack - (const StubHWVersionResponse *message, - uint8_t *out); -size_t stub_hwversion_response__pack_to_buffer - (const StubHWVersionResponse *message, - ProtobufCBuffer *buffer); -StubHWVersionResponse * - stub_hwversion_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_hwversion_response__free_unpacked - (StubHWVersionResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubHWVersionResponse_Closure) - (const StubHWVersionResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_hwversion_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubHWVersionResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.c deleted file mode 100644 index f77207045..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHeaterRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubHeaterRequest.pb-c.h" -void stub_heater_request__init - (StubHeaterRequest *message) -{ - static const StubHeaterRequest init_value = STUB_HEATER_REQUEST__INIT; - *message = init_value; -} -size_t stub_heater_request__get_packed_size - (const StubHeaterRequest *message) -{ - assert(message->base.descriptor == &stub_heater_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_heater_request__pack - (const StubHeaterRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_heater_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_heater_request__pack_to_buffer - (const StubHeaterRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_heater_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubHeaterRequest * - stub_heater_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubHeaterRequest *) - protobuf_c_message_unpack (&stub_heater_request__descriptor, - allocator, len, data); -} -void stub_heater_request__free_unpacked - (StubHeaterRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_heater_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_heater_request__field_descriptors[3] = -{ - { - "HeaterGroupId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHeaterRequest, has_heatergroupid), - offsetof(StubHeaterRequest, heatergroupid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeaterGroupOn", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubHeaterRequest, has_heatergroupon), - offsetof(StubHeaterRequest, heatergroupon), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeaterTemperatureReq", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHeaterRequest, has_heatertemperaturereq), - offsetof(StubHeaterRequest, heatertemperaturereq), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_heater_request__field_indices_by_name[] = { - 0, /* field[0] = HeaterGroupId */ - 1, /* field[1] = HeaterGroupOn */ - 2, /* field[2] = HeaterTemperatureReq */ -}; -static const ProtobufCIntRange stub_heater_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_heater_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubHeaterRequest", - "StubHeaterRequest", - "StubHeaterRequest", - "", - sizeof(StubHeaterRequest), - 3, - stub_heater_request__field_descriptors, - stub_heater_request__field_indices_by_name, - 1, stub_heater_request__number_ranges, - (ProtobufCMessageInit) stub_heater_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.h deleted file mode 100644 index 6d220df5d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterRequest.pb-c.h +++ /dev/null @@ -1,82 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHeaterRequest.proto */ - -#ifndef PROTOBUF_C_StubHeaterRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubHeaterRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubHeaterRequest StubHeaterRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubHeaterRequest -{ - ProtobufCMessage base; - /* - *0..2 - */ - protobuf_c_boolean has_heatergroupid; - uint32_t heatergroupid; - /* - * 1-On 0-Off - */ - protobuf_c_boolean has_heatergroupon; - protobuf_c_boolean heatergroupon; - protobuf_c_boolean has_heatertemperaturereq; - uint32_t heatertemperaturereq; -}; -#define STUB_HEATER_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_heater_request__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* StubHeaterRequest methods */ -void stub_heater_request__init - (StubHeaterRequest *message); -size_t stub_heater_request__get_packed_size - (const StubHeaterRequest *message); -size_t stub_heater_request__pack - (const StubHeaterRequest *message, - uint8_t *out); -size_t stub_heater_request__pack_to_buffer - (const StubHeaterRequest *message, - ProtobufCBuffer *buffer); -StubHeaterRequest * - stub_heater_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_heater_request__free_unpacked - (StubHeaterRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubHeaterRequest_Closure) - (const StubHeaterRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_heater_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubHeaterRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c deleted file mode 100644 index f45ed51b6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHeaterResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubHeaterResponse.pb-c.h" -void stub_heater_response__init - (StubHeaterResponse *message) -{ - static const StubHeaterResponse init_value = STUB_HEATER_RESPONSE__INIT; - *message = init_value; -} -size_t stub_heater_response__get_packed_size - (const StubHeaterResponse *message) -{ - assert(message->base.descriptor == &stub_heater_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_heater_response__pack - (const StubHeaterResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_heater_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_heater_response__pack_to_buffer - (const StubHeaterResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_heater_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubHeaterResponse * - stub_heater_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubHeaterResponse *) - protobuf_c_message_unpack (&stub_heater_response__descriptor, - allocator, len, data); -} -void stub_heater_response__free_unpacked - (StubHeaterResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_heater_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_heater_response__field_descriptors[4] = -{ - { - "HeaterGroupId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHeaterResponse, has_heatergroupid), - offsetof(StubHeaterResponse, heatergroupid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HeaterTemperatureSensor", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHeaterResponse, has_heatertemperaturesensor), - offsetof(StubHeaterResponse, heatertemperaturesensor), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubHeaterResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubHeaterResponse, has_statusword), - offsetof(StubHeaterResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_heater_response__field_indices_by_name[] = { - 0, /* field[0] = HeaterGroupId */ - 1, /* field[1] = HeaterTemperatureSensor */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_heater_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_heater_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubHeaterResponse", - "StubHeaterResponse", - "StubHeaterResponse", - "", - sizeof(StubHeaterResponse), - 4, - stub_heater_response__field_descriptors, - stub_heater_response__field_indices_by_name, - 1, stub_heater_response__number_ranges, - (ProtobufCMessageInit) stub_heater_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h deleted file mode 100644 index fd37a5ae7..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h +++ /dev/null @@ -1,86 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubHeaterResponse.proto */ - -#ifndef PROTOBUF_C_StubHeaterResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubHeaterResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubHeaterResponse StubHeaterResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubHeaterResponse -{ - ProtobufCMessage base; - /* - *0..2 - */ - protobuf_c_boolean has_heatergroupid; - uint32_t heatergroupid; - protobuf_c_boolean has_heatertemperaturesensor; - uint32_t heatertemperaturesensor; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_HEATER_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_heater_response__descriptor) \ - , 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubHeaterResponse methods */ -void stub_heater_response__init - (StubHeaterResponse *message); -size_t stub_heater_response__get_packed_size - (const StubHeaterResponse *message); -size_t stub_heater_response__pack - (const StubHeaterResponse *message, - uint8_t *out); -size_t stub_heater_response__pack_to_buffer - (const StubHeaterResponse *message, - ProtobufCBuffer *buffer); -StubHeaterResponse * - stub_heater_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_heater_response__free_unpacked - (StubHeaterResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubHeaterResponse_Closure) - (const StubHeaterResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_heater_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubHeaterResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.c deleted file mode 100644 index 3771b60a9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.c +++ /dev/null @@ -1,339 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubL6470DriverRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubL6470DriverRequest.pb-c.h" -void stub_l6470_driver_request__init - (StubL6470DriverRequest *message) -{ - static const StubL6470DriverRequest init_value = STUB_L6470_DRIVER_REQUEST__INIT; - *message = init_value; -} -size_t stub_l6470_driver_request__get_packed_size - (const StubL6470DriverRequest *message) -{ - assert(message->base.descriptor == &stub_l6470_driver_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_l6470_driver_request__pack - (const StubL6470DriverRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_l6470_driver_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_l6470_driver_request__pack_to_buffer - (const StubL6470DriverRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_l6470_driver_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubL6470DriverRequest * - stub_l6470_driver_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubL6470DriverRequest *) - protobuf_c_message_unpack (&stub_l6470_driver_request__descriptor, - allocator, len, data); -} -void stub_l6470_driver_request__free_unpacked - (StubL6470DriverRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_l6470_driver_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_l6470_driver_request__field_descriptors[20] = -{ - { - "Run_Value", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_run_value), - offsetof(StubL6470DriverRequest, run_value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Mov_Value", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_mov_value), - offsetof(StubL6470DriverRequest, mov_value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Direction", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_direction), - offsetof(StubL6470DriverRequest, direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Time_2_Change_Direction", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_time_2_change_direction), - offsetof(StubL6470DriverRequest, time_2_change_direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Display_Tx_ON_LCD", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_display_tx_on_lcd), - offsetof(StubL6470DriverRequest, display_tx_on_lcd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Display_Rx_on_LCD", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_display_rx_on_lcd), - offsetof(StubL6470DriverRequest, display_rx_on_lcd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Init_MicroStep", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_init_microstep), - offsetof(StubL6470DriverRequest, init_microstep), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Init_Acc", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_init_acc), - offsetof(StubL6470DriverRequest, init_acc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Init_Dec", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_init_dec), - offsetof(StubL6470DriverRequest, init_dec), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_1", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_testbool_1), - offsetof(StubL6470DriverRequest, testbool_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_2", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_testbool_2), - offsetof(StubL6470DriverRequest, testbool_2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_3", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_testbool_3), - offsetof(StubL6470DriverRequest, testbool_3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_4", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_testbool_4), - offsetof(StubL6470DriverRequest, testbool_4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_5", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverRequest, has_testbool_5), - offsetof(StubL6470DriverRequest, testbool_5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_1", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_1), - offsetof(StubL6470DriverRequest, testuint32_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_2", - 16, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_2), - offsetof(StubL6470DriverRequest, testuint32_2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_3", - 17, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_3), - offsetof(StubL6470DriverRequest, testuint32_3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_4", - 18, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_4), - offsetof(StubL6470DriverRequest, testuint32_4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_5", - 19, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_5), - offsetof(StubL6470DriverRequest, testuint32_5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_6", - 20, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverRequest, has_testuint32_6), - offsetof(StubL6470DriverRequest, testuint32_6), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_l6470_driver_request__field_indices_by_name[] = { - 2, /* field[2] = Direction */ - 5, /* field[5] = Display_Rx_on_LCD */ - 4, /* field[4] = Display_Tx_ON_LCD */ - 7, /* field[7] = Init_Acc */ - 8, /* field[8] = Init_Dec */ - 6, /* field[6] = Init_MicroStep */ - 1, /* field[1] = Mov_Value */ - 0, /* field[0] = Run_Value */ - 9, /* field[9] = TestBool_1 */ - 10, /* field[10] = TestBool_2 */ - 11, /* field[11] = TestBool_3 */ - 12, /* field[12] = TestBool_4 */ - 13, /* field[13] = TestBool_5 */ - 14, /* field[14] = TestUint32_1 */ - 15, /* field[15] = TestUint32_2 */ - 16, /* field[16] = TestUint32_3 */ - 17, /* field[17] = TestUint32_4 */ - 18, /* field[18] = TestUint32_5 */ - 19, /* field[19] = TestUint32_6 */ - 3, /* field[3] = Time_2_Change_Direction */ -}; -static const ProtobufCIntRange stub_l6470_driver_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 20 } -}; -const ProtobufCMessageDescriptor stub_l6470_driver_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubL6470DriverRequest", - "StubL6470DriverRequest", - "StubL6470DriverRequest", - "", - sizeof(StubL6470DriverRequest), - 20, - stub_l6470_driver_request__field_descriptors, - stub_l6470_driver_request__field_indices_by_name, - 1, stub_l6470_driver_request__number_ranges, - (ProtobufCMessageInit) stub_l6470_driver_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.h deleted file mode 100644 index ee4e261c9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverRequest.pb-c.h +++ /dev/null @@ -1,110 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubL6470DriverRequest.proto */ - -#ifndef PROTOBUF_C_StubL6470DriverRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubL6470DriverRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubL6470DriverRequest StubL6470DriverRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubL6470DriverRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_run_value; - uint32_t run_value; - protobuf_c_boolean has_mov_value; - uint32_t mov_value; - protobuf_c_boolean has_direction; - protobuf_c_boolean direction; - protobuf_c_boolean has_time_2_change_direction; - uint32_t time_2_change_direction; - protobuf_c_boolean has_display_tx_on_lcd; - protobuf_c_boolean display_tx_on_lcd; - protobuf_c_boolean has_display_rx_on_lcd; - protobuf_c_boolean display_rx_on_lcd; - protobuf_c_boolean has_init_microstep; - uint32_t init_microstep; - protobuf_c_boolean has_init_acc; - uint32_t init_acc; - protobuf_c_boolean has_init_dec; - uint32_t init_dec; - protobuf_c_boolean has_testbool_1; - protobuf_c_boolean testbool_1; - protobuf_c_boolean has_testbool_2; - protobuf_c_boolean testbool_2; - protobuf_c_boolean has_testbool_3; - protobuf_c_boolean testbool_3; - protobuf_c_boolean has_testbool_4; - protobuf_c_boolean testbool_4; - protobuf_c_boolean has_testbool_5; - protobuf_c_boolean testbool_5; - protobuf_c_boolean has_testuint32_1; - uint32_t testuint32_1; - protobuf_c_boolean has_testuint32_2; - uint32_t testuint32_2; - protobuf_c_boolean has_testuint32_3; - uint32_t testuint32_3; - protobuf_c_boolean has_testuint32_4; - uint32_t testuint32_4; - protobuf_c_boolean has_testuint32_5; - uint32_t testuint32_5; - protobuf_c_boolean has_testuint32_6; - uint32_t testuint32_6; -}; -#define STUB_L6470_DRIVER_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_l6470_driver_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubL6470DriverRequest methods */ -void stub_l6470_driver_request__init - (StubL6470DriverRequest *message); -size_t stub_l6470_driver_request__get_packed_size - (const StubL6470DriverRequest *message); -size_t stub_l6470_driver_request__pack - (const StubL6470DriverRequest *message, - uint8_t *out); -size_t stub_l6470_driver_request__pack_to_buffer - (const StubL6470DriverRequest *message, - ProtobufCBuffer *buffer); -StubL6470DriverRequest * - stub_l6470_driver_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_l6470_driver_request__free_unpacked - (StubL6470DriverRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubL6470DriverRequest_Closure) - (const StubL6470DriverRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_l6470_driver_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubL6470DriverRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.c deleted file mode 100644 index b129bb930..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.c +++ /dev/null @@ -1,274 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubL6470DriverResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubL6470DriverResponse.pb-c.h" -void stub_l6470_driver_response__init - (StubL6470DriverResponse *message) -{ - static const StubL6470DriverResponse init_value = STUB_L6470_DRIVER_RESPONSE__INIT; - *message = init_value; -} -size_t stub_l6470_driver_response__get_packed_size - (const StubL6470DriverResponse *message) -{ - assert(message->base.descriptor == &stub_l6470_driver_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_l6470_driver_response__pack - (const StubL6470DriverResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_l6470_driver_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_l6470_driver_response__pack_to_buffer - (const StubL6470DriverResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_l6470_driver_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubL6470DriverResponse * - stub_l6470_driver_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubL6470DriverResponse *) - protobuf_c_message_unpack (&stub_l6470_driver_response__descriptor, - allocator, len, data); -} -void stub_l6470_driver_response__free_unpacked - (StubL6470DriverResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_l6470_driver_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_l6470_driver_response__field_descriptors[15] = -{ - { - "Run_Value", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_run_value), - offsetof(StubL6470DriverResponse, run_value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Mov_Value", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_mov_value), - offsetof(StubL6470DriverResponse, mov_value), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_1", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverResponse, has_testbool_1), - offsetof(StubL6470DriverResponse, testbool_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_2", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverResponse, has_testbool_2), - offsetof(StubL6470DriverResponse, testbool_2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_3", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverResponse, has_testbool_3), - offsetof(StubL6470DriverResponse, testbool_3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_4", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverResponse, has_testbool_4), - offsetof(StubL6470DriverResponse, testbool_4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestBool_5", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubL6470DriverResponse, has_testbool_5), - offsetof(StubL6470DriverResponse, testbool_5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_1", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_1), - offsetof(StubL6470DriverResponse, testuint32_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_2", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_2), - offsetof(StubL6470DriverResponse, testuint32_2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_3", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_3), - offsetof(StubL6470DriverResponse, testuint32_3), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_4", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_4), - offsetof(StubL6470DriverResponse, testuint32_4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_5", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_5), - offsetof(StubL6470DriverResponse, testuint32_5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TestUint32_6", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_testuint32_6), - offsetof(StubL6470DriverResponse, testuint32_6), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubL6470DriverResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubL6470DriverResponse, has_statusword), - offsetof(StubL6470DriverResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_l6470_driver_response__field_indices_by_name[] = { - 1, /* field[1] = Mov_Value */ - 0, /* field[0] = Run_Value */ - 13, /* field[13] = Status */ - 14, /* field[14] = StatusWord */ - 2, /* field[2] = TestBool_1 */ - 3, /* field[3] = TestBool_2 */ - 4, /* field[4] = TestBool_3 */ - 5, /* field[5] = TestBool_4 */ - 6, /* field[6] = TestBool_5 */ - 7, /* field[7] = TestUint32_1 */ - 8, /* field[8] = TestUint32_2 */ - 9, /* field[9] = TestUint32_3 */ - 10, /* field[10] = TestUint32_4 */ - 11, /* field[11] = TestUint32_5 */ - 12, /* field[12] = TestUint32_6 */ -}; -static const ProtobufCIntRange stub_l6470_driver_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor stub_l6470_driver_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubL6470DriverResponse", - "StubL6470DriverResponse", - "StubL6470DriverResponse", - "", - sizeof(StubL6470DriverResponse), - 15, - stub_l6470_driver_response__field_descriptors, - stub_l6470_driver_response__field_indices_by_name, - 1, stub_l6470_driver_response__number_ranges, - (ProtobufCMessageInit) stub_l6470_driver_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.h deleted file mode 100644 index ca18da2a9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubL6470DriverResponse.pb-c.h +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubL6470DriverResponse.proto */ - -#ifndef PROTOBUF_C_StubL6470DriverResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubL6470DriverResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubL6470DriverResponse StubL6470DriverResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubL6470DriverResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_run_value; - uint32_t run_value; - protobuf_c_boolean has_mov_value; - uint32_t mov_value; - protobuf_c_boolean has_testbool_1; - protobuf_c_boolean testbool_1; - protobuf_c_boolean has_testbool_2; - protobuf_c_boolean testbool_2; - protobuf_c_boolean has_testbool_3; - protobuf_c_boolean testbool_3; - protobuf_c_boolean has_testbool_4; - protobuf_c_boolean testbool_4; - protobuf_c_boolean has_testbool_5; - protobuf_c_boolean testbool_5; - protobuf_c_boolean has_testuint32_1; - uint32_t testuint32_1; - protobuf_c_boolean has_testuint32_2; - uint32_t testuint32_2; - protobuf_c_boolean has_testuint32_3; - uint32_t testuint32_3; - protobuf_c_boolean has_testuint32_4; - uint32_t testuint32_4; - protobuf_c_boolean has_testuint32_5; - uint32_t testuint32_5; - protobuf_c_boolean has_testuint32_6; - uint32_t testuint32_6; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_L6470_DRIVER_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_l6470_driver_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubL6470DriverResponse methods */ -void stub_l6470_driver_response__init - (StubL6470DriverResponse *message); -size_t stub_l6470_driver_response__get_packed_size - (const StubL6470DriverResponse *message); -size_t stub_l6470_driver_response__pack - (const StubL6470DriverResponse *message, - uint8_t *out); -size_t stub_l6470_driver_response__pack_to_buffer - (const StubL6470DriverResponse *message, - ProtobufCBuffer *buffer); -StubL6470DriverResponse * - stub_l6470_driver_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_l6470_driver_response__free_unpacked - (StubL6470DriverResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubL6470DriverResponse_Closure) - (const StubL6470DriverResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_l6470_driver_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubL6470DriverResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.c deleted file mode 100644 index cb95c4718..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorEncoderRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorEncoderRequest.pb-c.h" -void stub_motor_encoder_request__init - (StubMotorEncoderRequest *message) -{ - static const StubMotorEncoderRequest init_value = STUB_MOTOR_ENCODER_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_encoder_request__get_packed_size - (const StubMotorEncoderRequest *message) -{ - assert(message->base.descriptor == &stub_motor_encoder_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_encoder_request__pack - (const StubMotorEncoderRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_encoder_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_encoder_request__pack_to_buffer - (const StubMotorEncoderRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_encoder_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorEncoderRequest * - stub_motor_encoder_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorEncoderRequest *) - protobuf_c_message_unpack (&stub_motor_encoder_request__descriptor, - allocator, len, data); -} -void stub_motor_encoder_request__free_unpacked - (StubMotorEncoderRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_encoder_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_encoder_request__field_descriptors[4] = -{ - { - "MotorId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorEncoderRequest, has_motorid), - offsetof(StubMotorEncoderRequest, motorid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadEncSpeed", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorEncoderRequest, has_readencspeed), - offsetof(StubMotorEncoderRequest, readencspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ReadDirection", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorEncoderRequest, has_readdirection), - offsetof(StubMotorEncoderRequest, readdirection), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Motion_Control", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorEncoderRequest, has_motion_control), - offsetof(StubMotorEncoderRequest, motion_control), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_encoder_request__field_indices_by_name[] = { - 3, /* field[3] = Motion_Control */ - 0, /* field[0] = MotorId */ - 2, /* field[2] = ReadDirection */ - 1, /* field[1] = ReadEncSpeed */ -}; -static const ProtobufCIntRange stub_motor_encoder_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_motor_encoder_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorEncoderRequest", - "StubMotorEncoderRequest", - "StubMotorEncoderRequest", - "", - sizeof(StubMotorEncoderRequest), - 4, - stub_motor_encoder_request__field_descriptors, - stub_motor_encoder_request__field_indices_by_name, - 1, stub_motor_encoder_request__number_ranges, - (ProtobufCMessageInit) stub_motor_encoder_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.h deleted file mode 100644 index ba7151b89..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderRequest.pb-c.h +++ /dev/null @@ -1,87 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorEncoderRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorEncoderRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorEncoderRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorEncoderRequest StubMotorEncoderRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorEncoderRequest -{ - ProtobufCMessage base; - /* - *0..8 - */ - protobuf_c_boolean has_motorid; - uint32_t motorid; - protobuf_c_boolean has_readencspeed; - protobuf_c_boolean readencspeed; - /* - * 1-cw 0-ccw - */ - protobuf_c_boolean has_readdirection; - protobuf_c_boolean readdirection; - /* - * close loop using the encoder - */ - protobuf_c_boolean has_motion_control; - protobuf_c_boolean motion_control; -}; -#define STUB_MOTOR_ENCODER_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_encoder_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorEncoderRequest methods */ -void stub_motor_encoder_request__init - (StubMotorEncoderRequest *message); -size_t stub_motor_encoder_request__get_packed_size - (const StubMotorEncoderRequest *message); -size_t stub_motor_encoder_request__pack - (const StubMotorEncoderRequest *message, - uint8_t *out); -size_t stub_motor_encoder_request__pack_to_buffer - (const StubMotorEncoderRequest *message, - ProtobufCBuffer *buffer); -StubMotorEncoderRequest * - stub_motor_encoder_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_encoder_request__free_unpacked - (StubMotorEncoderRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorEncoderRequest_Closure) - (const StubMotorEncoderRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_encoder_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorEncoderRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c deleted file mode 100644 index 5204790a0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c +++ /dev/null @@ -1,157 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorEncoderResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorEncoderResponse.pb-c.h" -void stub_motor_encoder_response__init - (StubMotorEncoderResponse *message) -{ - static const StubMotorEncoderResponse init_value = STUB_MOTOR_ENCODER_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_encoder_response__get_packed_size - (const StubMotorEncoderResponse *message) -{ - assert(message->base.descriptor == &stub_motor_encoder_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_encoder_response__pack - (const StubMotorEncoderResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_encoder_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_encoder_response__pack_to_buffer - (const StubMotorEncoderResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_encoder_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorEncoderResponse * - stub_motor_encoder_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorEncoderResponse *) - protobuf_c_message_unpack (&stub_motor_encoder_response__descriptor, - allocator, len, data); -} -void stub_motor_encoder_response__free_unpacked - (StubMotorEncoderResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_encoder_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_encoder_response__field_descriptors[6] = -{ - { - "EncoderId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorEncoderResponse, has_encoderid), - offsetof(StubMotorEncoderResponse, encoderid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "EncoderVersion", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorEncoderResponse, has_encoderversion), - offsetof(StubMotorEncoderResponse, encoderversion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MotorSpeed", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubMotorEncoderResponse, has_motorspeed), - offsetof(StubMotorEncoderResponse, motorspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MotorDirection", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorEncoderResponse, has_motordirection), - offsetof(StubMotorEncoderResponse, motordirection), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubMotorEncoderResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorEncoderResponse, has_statusword), - offsetof(StubMotorEncoderResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_encoder_response__field_indices_by_name[] = { - 0, /* field[0] = EncoderId */ - 1, /* field[1] = EncoderVersion */ - 3, /* field[3] = MotorDirection */ - 2, /* field[2] = MotorSpeed */ - 4, /* field[4] = Status */ - 5, /* field[5] = StatusWord */ -}; -static const ProtobufCIntRange stub_motor_encoder_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor stub_motor_encoder_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorEncoderResponse", - "StubMotorEncoderResponse", - "StubMotorEncoderResponse", - "", - sizeof(StubMotorEncoderResponse), - 6, - stub_motor_encoder_response__field_descriptors, - stub_motor_encoder_response__field_indices_by_name, - 1, stub_motor_encoder_response__number_ranges, - (ProtobufCMessageInit) stub_motor_encoder_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h deleted file mode 100644 index d1e150306..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h +++ /dev/null @@ -1,93 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorEncoderResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorEncoderResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorEncoderResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorEncoderResponse StubMotorEncoderResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorEncoderResponse -{ - ProtobufCMessage base; - /* - *0..8 - */ - protobuf_c_boolean has_encoderid; - uint32_t encoderid; - protobuf_c_boolean has_encoderversion; - uint32_t encoderversion; - protobuf_c_boolean has_motorspeed; - int32_t motorspeed; - /* - * 1-cw 0-ccw - */ - protobuf_c_boolean has_motordirection; - protobuf_c_boolean motordirection; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_MOTOR_ENCODER_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_encoder_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubMotorEncoderResponse methods */ -void stub_motor_encoder_response__init - (StubMotorEncoderResponse *message); -size_t stub_motor_encoder_response__get_packed_size - (const StubMotorEncoderResponse *message); -size_t stub_motor_encoder_response__pack - (const StubMotorEncoderResponse *message, - uint8_t *out); -size_t stub_motor_encoder_response__pack_to_buffer - (const StubMotorEncoderResponse *message, - ProtobufCBuffer *buffer); -StubMotorEncoderResponse * - stub_motor_encoder_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_encoder_response__free_unpacked - (StubMotorEncoderResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorEncoderResponse_Closure) - (const StubMotorEncoderResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_encoder_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorEncoderResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.c deleted file mode 100644 index 0f01b16d4..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.c +++ /dev/null @@ -1,196 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorInitRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorInitRequest.pb-c.h" -void stub_motor_init_request__init - (StubMotorInitRequest *message) -{ - static const StubMotorInitRequest init_value = STUB_MOTOR_INIT_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_init_request__get_packed_size - (const StubMotorInitRequest *message) -{ - assert(message->base.descriptor == &stub_motor_init_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_init_request__pack - (const StubMotorInitRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_init_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_init_request__pack_to_buffer - (const StubMotorInitRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_init_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorInitRequest * - stub_motor_init_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorInitRequest *) - protobuf_c_message_unpack (&stub_motor_init_request__descriptor, - allocator, len, data); -} -void stub_motor_init_request__free_unpacked - (StubMotorInitRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_init_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_init_request__field_descriptors[9] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitRequest, has_motor_id), - offsetof(StubMotorInitRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Micro_Steps", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitRequest, has_micro_steps), - offsetof(StubMotorInitRequest, micro_steps), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Set_Micro_Steps", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorInitRequest, has_set_micro_steps), - offsetof(StubMotorInitRequest, set_micro_steps), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ACC", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitRequest, has_acc), - offsetof(StubMotorInitRequest, acc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Set_ACC", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorInitRequest, has_set_acc), - offsetof(StubMotorInitRequest, set_acc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DEC", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitRequest, has_dec), - offsetof(StubMotorInitRequest, dec), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Set_Dec", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorInitRequest, has_set_dec), - offsetof(StubMotorInitRequest, set_dec), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Max_Speed", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitRequest, has_max_speed), - offsetof(StubMotorInitRequest, max_speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Set_Max_Speed", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorInitRequest, has_set_max_speed), - offsetof(StubMotorInitRequest, set_max_speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_init_request__field_indices_by_name[] = { - 3, /* field[3] = ACC */ - 5, /* field[5] = DEC */ - 7, /* field[7] = Max_Speed */ - 1, /* field[1] = Micro_Steps */ - 0, /* field[0] = Motor_ID */ - 4, /* field[4] = Set_ACC */ - 6, /* field[6] = Set_Dec */ - 8, /* field[8] = Set_Max_Speed */ - 2, /* field[2] = Set_Micro_Steps */ -}; -static const ProtobufCIntRange stub_motor_init_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor stub_motor_init_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorInitRequest", - "StubMotorInitRequest", - "StubMotorInitRequest", - "", - sizeof(StubMotorInitRequest), - 9, - stub_motor_init_request__field_descriptors, - stub_motor_init_request__field_indices_by_name, - 1, stub_motor_init_request__number_ranges, - (ProtobufCMessageInit) stub_motor_init_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.h deleted file mode 100644 index 29b1f6036..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitRequest.pb-c.h +++ /dev/null @@ -1,91 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorInitRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorInitRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorInitRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorInitRequest StubMotorInitRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorInitRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - /* - * 1/2/4/8/16/32/64/128 - */ - protobuf_c_boolean has_micro_steps; - uint32_t micro_steps; - protobuf_c_boolean has_set_micro_steps; - protobuf_c_boolean set_micro_steps; - protobuf_c_boolean has_acc; - uint32_t acc; - protobuf_c_boolean has_set_acc; - protobuf_c_boolean set_acc; - protobuf_c_boolean has_dec; - uint32_t dec; - protobuf_c_boolean has_set_dec; - protobuf_c_boolean set_dec; - protobuf_c_boolean has_max_speed; - uint32_t max_speed; - protobuf_c_boolean has_set_max_speed; - protobuf_c_boolean set_max_speed; -}; -#define STUB_MOTOR_INIT_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_init_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorInitRequest methods */ -void stub_motor_init_request__init - (StubMotorInitRequest *message); -size_t stub_motor_init_request__get_packed_size - (const StubMotorInitRequest *message); -size_t stub_motor_init_request__pack - (const StubMotorInitRequest *message, - uint8_t *out); -size_t stub_motor_init_request__pack_to_buffer - (const StubMotorInitRequest *message, - ProtobufCBuffer *buffer); -StubMotorInitRequest * - stub_motor_init_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_init_request__free_unpacked - (StubMotorInitRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorInitRequest_Closure) - (const StubMotorInitRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_init_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorInitRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.c deleted file mode 100644 index 17c436fa3..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorInitResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorInitResponse.pb-c.h" -void stub_motor_init_response__init - (StubMotorInitResponse *message) -{ - static const StubMotorInitResponse init_value = STUB_MOTOR_INIT_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_init_response__get_packed_size - (const StubMotorInitResponse *message) -{ - assert(message->base.descriptor == &stub_motor_init_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_init_response__pack - (const StubMotorInitResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_init_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_init_response__pack_to_buffer - (const StubMotorInitResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_init_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorInitResponse * - stub_motor_init_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorInitResponse *) - protobuf_c_message_unpack (&stub_motor_init_response__descriptor, - allocator, len, data); -} -void stub_motor_init_response__free_unpacked - (StubMotorInitResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_init_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_init_response__field_descriptors[2] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitResponse, has_motor_id), - offsetof(StubMotorInitResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorInitResponse, has_status), - offsetof(StubMotorInitResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_init_response__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ - 1, /* field[1] = Status */ -}; -static const ProtobufCIntRange stub_motor_init_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_motor_init_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorInitResponse", - "StubMotorInitResponse", - "StubMotorInitResponse", - "", - sizeof(StubMotorInitResponse), - 2, - stub_motor_init_response__field_descriptors, - stub_motor_init_response__field_indices_by_name, - 1, stub_motor_init_response__number_ranges, - (ProtobufCMessageInit) stub_motor_init_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.h deleted file mode 100644 index c4f825818..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorInitResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorInitResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorInitResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorInitResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorInitResponse StubMotorInitResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorInitResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_status; - uint32_t status; -}; -#define STUB_MOTOR_INIT_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_init_response__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubMotorInitResponse methods */ -void stub_motor_init_response__init - (StubMotorInitResponse *message); -size_t stub_motor_init_response__get_packed_size - (const StubMotorInitResponse *message); -size_t stub_motor_init_response__pack - (const StubMotorInitResponse *message, - uint8_t *out); -size_t stub_motor_init_response__pack_to_buffer - (const StubMotorInitResponse *message, - ProtobufCBuffer *buffer); -StubMotorInitResponse * - stub_motor_init_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_init_response__free_unpacked - (StubMotorInitResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorInitResponse_Closure) - (const StubMotorInitResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_init_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorInitResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.c deleted file mode 100644 index ed5152830..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorMovRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorMovRequest.pb-c.h" -void stub_motor_mov_request__init - (StubMotorMovRequest *message) -{ - static const StubMotorMovRequest init_value = STUB_MOTOR_MOV_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_mov_request__get_packed_size - (const StubMotorMovRequest *message) -{ - assert(message->base.descriptor == &stub_motor_mov_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_mov_request__pack - (const StubMotorMovRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_mov_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_mov_request__pack_to_buffer - (const StubMotorMovRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_mov_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorMovRequest * - stub_motor_mov_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorMovRequest *) - protobuf_c_message_unpack (&stub_motor_mov_request__descriptor, - allocator, len, data); -} -void stub_motor_mov_request__free_unpacked - (StubMotorMovRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_mov_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_mov_request__field_descriptors[3] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovRequest, has_motor_id), - offsetof(StubMotorMovRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Direction", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorMovRequest, has_direction), - offsetof(StubMotorMovRequest, direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Position", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovRequest, has_position), - offsetof(StubMotorMovRequest, position), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_mov_request__field_indices_by_name[] = { - 1, /* field[1] = Direction */ - 0, /* field[0] = Motor_ID */ - 2, /* field[2] = Position */ -}; -static const ProtobufCIntRange stub_motor_mov_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_motor_mov_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorMovRequest", - "StubMotorMovRequest", - "StubMotorMovRequest", - "", - sizeof(StubMotorMovRequest), - 3, - stub_motor_mov_request__field_descriptors, - stub_motor_mov_request__field_indices_by_name, - 1, stub_motor_mov_request__number_ranges, - (ProtobufCMessageInit) stub_motor_mov_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.h deleted file mode 100644 index 8957b336a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovRequest.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorMovRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorMovRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorMovRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorMovRequest StubMotorMovRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorMovRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_direction; - protobuf_c_boolean direction; - protobuf_c_boolean has_position; - uint32_t position; -}; -#define STUB_MOTOR_MOV_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_mov_request__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* StubMotorMovRequest methods */ -void stub_motor_mov_request__init - (StubMotorMovRequest *message); -size_t stub_motor_mov_request__get_packed_size - (const StubMotorMovRequest *message); -size_t stub_motor_mov_request__pack - (const StubMotorMovRequest *message, - uint8_t *out); -size_t stub_motor_mov_request__pack_to_buffer - (const StubMotorMovRequest *message, - ProtobufCBuffer *buffer); -StubMotorMovRequest * - stub_motor_mov_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_mov_request__free_unpacked - (StubMotorMovRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorMovRequest_Closure) - (const StubMotorMovRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_mov_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorMovRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.c deleted file mode 100644 index e0da6c0b3..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.c +++ /dev/null @@ -1,170 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorMovResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorMovResponse.pb-c.h" -void stub_motor_mov_response__init - (StubMotorMovResponse *message) -{ - static const StubMotorMovResponse init_value = STUB_MOTOR_MOV_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_mov_response__get_packed_size - (const StubMotorMovResponse *message) -{ - assert(message->base.descriptor == &stub_motor_mov_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_mov_response__pack - (const StubMotorMovResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_mov_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_mov_response__pack_to_buffer - (const StubMotorMovResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_mov_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorMovResponse * - stub_motor_mov_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorMovResponse *) - protobuf_c_message_unpack (&stub_motor_mov_response__descriptor, - allocator, len, data); -} -void stub_motor_mov_response__free_unpacked - (StubMotorMovResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_mov_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_mov_response__field_descriptors[7] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovResponse, has_motor_id), - offsetof(StubMotorMovResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Position", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovResponse, has_position), - offsetof(StubMotorMovResponse, position), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status_Reg", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovResponse, has_status_reg), - offsetof(StubMotorMovResponse, status_reg), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Direction", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorMovResponse, has_direction), - offsetof(StubMotorMovResponse, direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Mot_Status", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorMovResponse, has_mot_status), - offsetof(StubMotorMovResponse, mot_status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_A", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorMovResponse, has_step_loss_a), - offsetof(StubMotorMovResponse, step_loss_a), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_B", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorMovResponse, has_step_loss_b), - offsetof(StubMotorMovResponse, step_loss_b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_mov_response__field_indices_by_name[] = { - 3, /* field[3] = Direction */ - 4, /* field[4] = Mot_Status */ - 0, /* field[0] = Motor_ID */ - 1, /* field[1] = Position */ - 5, /* field[5] = STEP_LOSS_A */ - 6, /* field[6] = STEP_LOSS_B */ - 2, /* field[2] = Status_Reg */ -}; -static const ProtobufCIntRange stub_motor_mov_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor stub_motor_mov_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorMovResponse", - "StubMotorMovResponse", - "StubMotorMovResponse", - "", - sizeof(StubMotorMovResponse), - 7, - stub_motor_mov_response__field_descriptors, - stub_motor_mov_response__field_indices_by_name, - 1, stub_motor_mov_response__number_ranges, - (ProtobufCMessageInit) stub_motor_mov_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.h deleted file mode 100644 index cd80996ed..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorMovResponse.pb-c.h +++ /dev/null @@ -1,90 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorMovResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorMovResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorMovResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorMovResponse StubMotorMovResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorMovResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_position; - uint32_t position; - protobuf_c_boolean has_status_reg; - uint32_t status_reg; - /* - * Reverse / Forward - */ - protobuf_c_boolean has_direction; - protobuf_c_boolean direction; - /* - *Stopped / Acceleration / Deceleration / Constant speed - */ - protobuf_c_boolean has_mot_status; - uint32_t mot_status; - protobuf_c_boolean has_step_loss_a; - protobuf_c_boolean step_loss_a; - protobuf_c_boolean has_step_loss_b; - protobuf_c_boolean step_loss_b; -}; -#define STUB_MOTOR_MOV_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_mov_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorMovResponse methods */ -void stub_motor_mov_response__init - (StubMotorMovResponse *message); -size_t stub_motor_mov_response__get_packed_size - (const StubMotorMovResponse *message); -size_t stub_motor_mov_response__pack - (const StubMotorMovResponse *message, - uint8_t *out); -size_t stub_motor_mov_response__pack_to_buffer - (const StubMotorMovResponse *message, - ProtobufCBuffer *buffer); -StubMotorMovResponse * - stub_motor_mov_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_mov_response__free_unpacked - (StubMotorMovResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorMovResponse_Closure) - (const StubMotorMovResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_mov_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorMovResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.c deleted file mode 100644 index 08f43e778..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorPositionRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorPositionRequest.pb-c.h" -void stub_motor_position_request__init - (StubMotorPositionRequest *message) -{ - static const StubMotorPositionRequest init_value = STUB_MOTOR_POSITION_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_position_request__get_packed_size - (const StubMotorPositionRequest *message) -{ - assert(message->base.descriptor == &stub_motor_position_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_position_request__pack - (const StubMotorPositionRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_position_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_position_request__pack_to_buffer - (const StubMotorPositionRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_position_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorPositionRequest * - stub_motor_position_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorPositionRequest *) - protobuf_c_message_unpack (&stub_motor_position_request__descriptor, - allocator, len, data); -} -void stub_motor_position_request__free_unpacked - (StubMotorPositionRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_position_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_position_request__field_descriptors[1] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorPositionRequest, has_motor_id), - offsetof(StubMotorPositionRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_position_request__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ -}; -static const ProtobufCIntRange stub_motor_position_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_motor_position_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorPositionRequest", - "StubMotorPositionRequest", - "StubMotorPositionRequest", - "", - sizeof(StubMotorPositionRequest), - 1, - stub_motor_position_request__field_descriptors, - stub_motor_position_request__field_indices_by_name, - 1, stub_motor_position_request__number_ranges, - (ProtobufCMessageInit) stub_motor_position_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.h deleted file mode 100644 index 439a0f31d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorPositionRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorPositionRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorPositionRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorPositionRequest StubMotorPositionRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorPositionRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; -}; -#define STUB_MOTOR_POSITION_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_position_request__descriptor) \ - , 0, 0 } - - -/* StubMotorPositionRequest methods */ -void stub_motor_position_request__init - (StubMotorPositionRequest *message); -size_t stub_motor_position_request__get_packed_size - (const StubMotorPositionRequest *message); -size_t stub_motor_position_request__pack - (const StubMotorPositionRequest *message, - uint8_t *out); -size_t stub_motor_position_request__pack_to_buffer - (const StubMotorPositionRequest *message, - ProtobufCBuffer *buffer); -StubMotorPositionRequest * - stub_motor_position_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_position_request__free_unpacked - (StubMotorPositionRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorPositionRequest_Closure) - (const StubMotorPositionRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_position_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorPositionRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.c deleted file mode 100644 index 4354eb2da..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorPositionResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorPositionResponse.pb-c.h" -void stub_motor_position_response__init - (StubMotorPositionResponse *message) -{ - static const StubMotorPositionResponse init_value = STUB_MOTOR_POSITION_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_position_response__get_packed_size - (const StubMotorPositionResponse *message) -{ - assert(message->base.descriptor == &stub_motor_position_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_position_response__pack - (const StubMotorPositionResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_position_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_position_response__pack_to_buffer - (const StubMotorPositionResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_position_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorPositionResponse * - stub_motor_position_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorPositionResponse *) - protobuf_c_message_unpack (&stub_motor_position_response__descriptor, - allocator, len, data); -} -void stub_motor_position_response__free_unpacked - (StubMotorPositionResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_position_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_position_response__field_descriptors[2] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorPositionResponse, has_motor_id), - offsetof(StubMotorPositionResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Position", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorPositionResponse, has_position), - offsetof(StubMotorPositionResponse, position), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_position_response__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ - 1, /* field[1] = Position */ -}; -static const ProtobufCIntRange stub_motor_position_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_motor_position_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorPositionResponse", - "StubMotorPositionResponse", - "StubMotorPositionResponse", - "", - sizeof(StubMotorPositionResponse), - 2, - stub_motor_position_response__field_descriptors, - stub_motor_position_response__field_indices_by_name, - 1, stub_motor_position_response__number_ranges, - (ProtobufCMessageInit) stub_motor_position_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.h deleted file mode 100644 index 13c7c3c95..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorPositionResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorPositionResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorPositionResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorPositionResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorPositionResponse StubMotorPositionResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorPositionResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_position; - uint32_t position; -}; -#define STUB_MOTOR_POSITION_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_position_response__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubMotorPositionResponse methods */ -void stub_motor_position_response__init - (StubMotorPositionResponse *message); -size_t stub_motor_position_response__get_packed_size - (const StubMotorPositionResponse *message); -size_t stub_motor_position_response__pack - (const StubMotorPositionResponse *message, - uint8_t *out); -size_t stub_motor_position_response__pack_to_buffer - (const StubMotorPositionResponse *message, - ProtobufCBuffer *buffer); -StubMotorPositionResponse * - stub_motor_position_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_position_response__free_unpacked - (StubMotorPositionResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorPositionResponse_Closure) - (const StubMotorPositionResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_position_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorPositionResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.c deleted file mode 100644 index 30cf9ccf2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorRunRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorRunRequest.pb-c.h" -void stub_motor_run_request__init - (StubMotorRunRequest *message) -{ - static const StubMotorRunRequest init_value = STUB_MOTOR_RUN_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_run_request__get_packed_size - (const StubMotorRunRequest *message) -{ - assert(message->base.descriptor == &stub_motor_run_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_run_request__pack - (const StubMotorRunRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_run_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_run_request__pack_to_buffer - (const StubMotorRunRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_run_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorRunRequest * - stub_motor_run_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorRunRequest *) - protobuf_c_message_unpack (&stub_motor_run_request__descriptor, - allocator, len, data); -} -void stub_motor_run_request__free_unpacked - (StubMotorRunRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_run_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_run_request__field_descriptors[3] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorRunRequest, has_motor_id), - offsetof(StubMotorRunRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Direction", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorRunRequest, has_direction), - offsetof(StubMotorRunRequest, direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(StubMotorRunRequest, has_speed), - offsetof(StubMotorRunRequest, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_run_request__field_indices_by_name[] = { - 1, /* field[1] = Direction */ - 0, /* field[0] = Motor_ID */ - 2, /* field[2] = Speed */ -}; -static const ProtobufCIntRange stub_motor_run_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_motor_run_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorRunRequest", - "StubMotorRunRequest", - "StubMotorRunRequest", - "", - sizeof(StubMotorRunRequest), - 3, - stub_motor_run_request__field_descriptors, - stub_motor_run_request__field_indices_by_name, - 1, stub_motor_run_request__number_ranges, - (ProtobufCMessageInit) stub_motor_run_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.h deleted file mode 100644 index 5c4ce2efd..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunRequest.pb-c.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorRunRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorRunRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorRunRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorRunRequest StubMotorRunRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorRunRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_direction; - protobuf_c_boolean direction; - protobuf_c_boolean has_speed; - double speed; -}; -#define STUB_MOTOR_RUN_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_run_request__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* StubMotorRunRequest methods */ -void stub_motor_run_request__init - (StubMotorRunRequest *message); -size_t stub_motor_run_request__get_packed_size - (const StubMotorRunRequest *message); -size_t stub_motor_run_request__pack - (const StubMotorRunRequest *message, - uint8_t *out); -size_t stub_motor_run_request__pack_to_buffer - (const StubMotorRunRequest *message, - ProtobufCBuffer *buffer); -StubMotorRunRequest * - stub_motor_run_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_run_request__free_unpacked - (StubMotorRunRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorRunRequest_Closure) - (const StubMotorRunRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_run_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorRunRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.c deleted file mode 100644 index 4d437ab7e..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorRunResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorRunResponse.pb-c.h" -void stub_motor_run_response__init - (StubMotorRunResponse *message) -{ - static const StubMotorRunResponse init_value = STUB_MOTOR_RUN_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_run_response__get_packed_size - (const StubMotorRunResponse *message) -{ - assert(message->base.descriptor == &stub_motor_run_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_run_response__pack - (const StubMotorRunResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_run_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_run_response__pack_to_buffer - (const StubMotorRunResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_run_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorRunResponse * - stub_motor_run_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorRunResponse *) - protobuf_c_message_unpack (&stub_motor_run_response__descriptor, - allocator, len, data); -} -void stub_motor_run_response__free_unpacked - (StubMotorRunResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_run_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_run_response__field_descriptors[8] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorRunResponse, has_motor_id), - offsetof(StubMotorRunResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(StubMotorRunResponse, has_speed), - offsetof(StubMotorRunResponse, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status_Reg", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorRunResponse, has_status_reg), - offsetof(StubMotorRunResponse, status_reg), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Direction", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorRunResponse, has_direction), - offsetof(StubMotorRunResponse, direction), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Mot_Status", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorRunResponse, has_mot_status), - offsetof(StubMotorRunResponse, mot_status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_A", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorRunResponse, has_step_loss_a), - offsetof(StubMotorRunResponse, step_loss_a), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_B", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorRunResponse, has_step_loss_b), - offsetof(StubMotorRunResponse, step_loss_b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BUSY", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorRunResponse, has_busy), - offsetof(StubMotorRunResponse, busy), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_run_response__field_indices_by_name[] = { - 7, /* field[7] = BUSY */ - 3, /* field[3] = Direction */ - 4, /* field[4] = Mot_Status */ - 0, /* field[0] = Motor_ID */ - 5, /* field[5] = STEP_LOSS_A */ - 6, /* field[6] = STEP_LOSS_B */ - 1, /* field[1] = Speed */ - 2, /* field[2] = Status_Reg */ -}; -static const ProtobufCIntRange stub_motor_run_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor stub_motor_run_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorRunResponse", - "StubMotorRunResponse", - "StubMotorRunResponse", - "", - sizeof(StubMotorRunResponse), - 8, - stub_motor_run_response__field_descriptors, - stub_motor_run_response__field_indices_by_name, - 1, stub_motor_run_response__number_ranges, - (ProtobufCMessageInit) stub_motor_run_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.h deleted file mode 100644 index 9c80cd28d..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorRunResponse.pb-c.h +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorRunResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorRunResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorRunResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorRunResponse StubMotorRunResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorRunResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_speed; - double speed; - protobuf_c_boolean has_status_reg; - uint32_t status_reg; - /* - * Reverse / Forward - */ - protobuf_c_boolean has_direction; - protobuf_c_boolean direction; - /* - *Stopped / Acceleration / Deceleration / Constant speed - */ - protobuf_c_boolean has_mot_status; - uint32_t mot_status; - protobuf_c_boolean has_step_loss_a; - protobuf_c_boolean step_loss_a; - protobuf_c_boolean has_step_loss_b; - protobuf_c_boolean step_loss_b; - protobuf_c_boolean has_busy; - protobuf_c_boolean busy; -}; -#define STUB_MOTOR_RUN_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_run_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorRunResponse methods */ -void stub_motor_run_response__init - (StubMotorRunResponse *message); -size_t stub_motor_run_response__get_packed_size - (const StubMotorRunResponse *message); -size_t stub_motor_run_response__pack - (const StubMotorRunResponse *message, - uint8_t *out); -size_t stub_motor_run_response__pack_to_buffer - (const StubMotorRunResponse *message, - ProtobufCBuffer *buffer); -StubMotorRunResponse * - stub_motor_run_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_run_response__free_unpacked - (StubMotorRunResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorRunResponse_Closure) - (const StubMotorRunResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_run_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorRunResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.c deleted file mode 100644 index c8acbfdfd..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorSpeedRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorSpeedRequest.pb-c.h" -void stub_motor_speed_request__init - (StubMotorSpeedRequest *message) -{ - static const StubMotorSpeedRequest init_value = STUB_MOTOR_SPEED_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_speed_request__get_packed_size - (const StubMotorSpeedRequest *message) -{ - assert(message->base.descriptor == &stub_motor_speed_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_speed_request__pack - (const StubMotorSpeedRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_speed_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_speed_request__pack_to_buffer - (const StubMotorSpeedRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_speed_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorSpeedRequest * - stub_motor_speed_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorSpeedRequest *) - protobuf_c_message_unpack (&stub_motor_speed_request__descriptor, - allocator, len, data); -} -void stub_motor_speed_request__free_unpacked - (StubMotorSpeedRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_speed_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_speed_request__field_descriptors[1] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorSpeedRequest, has_motor_id), - offsetof(StubMotorSpeedRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_speed_request__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ -}; -static const ProtobufCIntRange stub_motor_speed_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor stub_motor_speed_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorSpeedRequest", - "StubMotorSpeedRequest", - "StubMotorSpeedRequest", - "", - sizeof(StubMotorSpeedRequest), - 1, - stub_motor_speed_request__field_descriptors, - stub_motor_speed_request__field_indices_by_name, - 1, stub_motor_speed_request__number_ranges, - (ProtobufCMessageInit) stub_motor_speed_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.h deleted file mode 100644 index 537ca4da6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedRequest.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorSpeedRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorSpeedRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorSpeedRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorSpeedRequest StubMotorSpeedRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorSpeedRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; -}; -#define STUB_MOTOR_SPEED_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_speed_request__descriptor) \ - , 0, 0 } - - -/* StubMotorSpeedRequest methods */ -void stub_motor_speed_request__init - (StubMotorSpeedRequest *message); -size_t stub_motor_speed_request__get_packed_size - (const StubMotorSpeedRequest *message); -size_t stub_motor_speed_request__pack - (const StubMotorSpeedRequest *message, - uint8_t *out); -size_t stub_motor_speed_request__pack_to_buffer - (const StubMotorSpeedRequest *message, - ProtobufCBuffer *buffer); -StubMotorSpeedRequest * - stub_motor_speed_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_speed_request__free_unpacked - (StubMotorSpeedRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorSpeedRequest_Closure) - (const StubMotorSpeedRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_speed_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorSpeedRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.c deleted file mode 100644 index 34d826880..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorSpeedResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorSpeedResponse.pb-c.h" -void stub_motor_speed_response__init - (StubMotorSpeedResponse *message) -{ - static const StubMotorSpeedResponse init_value = STUB_MOTOR_SPEED_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_speed_response__get_packed_size - (const StubMotorSpeedResponse *message) -{ - assert(message->base.descriptor == &stub_motor_speed_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_speed_response__pack - (const StubMotorSpeedResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_speed_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_speed_response__pack_to_buffer - (const StubMotorSpeedResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_speed_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorSpeedResponse * - stub_motor_speed_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorSpeedResponse *) - protobuf_c_message_unpack (&stub_motor_speed_response__descriptor, - allocator, len, data); -} -void stub_motor_speed_response__free_unpacked - (StubMotorSpeedResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_speed_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_speed_response__field_descriptors[2] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorSpeedResponse, has_motor_id), - offsetof(StubMotorSpeedResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Speed", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(StubMotorSpeedResponse, has_speed), - offsetof(StubMotorSpeedResponse, speed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_speed_response__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ - 1, /* field[1] = Speed */ -}; -static const ProtobufCIntRange stub_motor_speed_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_motor_speed_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorSpeedResponse", - "StubMotorSpeedResponse", - "StubMotorSpeedResponse", - "", - sizeof(StubMotorSpeedResponse), - 2, - stub_motor_speed_response__field_descriptors, - stub_motor_speed_response__field_indices_by_name, - 1, stub_motor_speed_response__number_ranges, - (ProtobufCMessageInit) stub_motor_speed_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.h deleted file mode 100644 index d113e02d9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorSpeedResponse.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorSpeedResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorSpeedResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorSpeedResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorSpeedResponse StubMotorSpeedResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorSpeedResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_speed; - double speed; -}; -#define STUB_MOTOR_SPEED_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_speed_response__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubMotorSpeedResponse methods */ -void stub_motor_speed_response__init - (StubMotorSpeedResponse *message); -size_t stub_motor_speed_response__get_packed_size - (const StubMotorSpeedResponse *message); -size_t stub_motor_speed_response__pack - (const StubMotorSpeedResponse *message, - uint8_t *out); -size_t stub_motor_speed_response__pack_to_buffer - (const StubMotorSpeedResponse *message, - ProtobufCBuffer *buffer); -StubMotorSpeedResponse * - stub_motor_speed_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_speed_response__free_unpacked - (StubMotorSpeedResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorSpeedResponse_Closure) - (const StubMotorSpeedResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_speed_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorSpeedResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.c deleted file mode 100644 index 21ff45bab..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStatusRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorStatusRequest.pb-c.h" -void stub_motor_status_request__init - (StubMotorStatusRequest *message) -{ - static const StubMotorStatusRequest init_value = STUB_MOTOR_STATUS_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_status_request__get_packed_size - (const StubMotorStatusRequest *message) -{ - assert(message->base.descriptor == &stub_motor_status_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_status_request__pack - (const StubMotorStatusRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_status_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_status_request__pack_to_buffer - (const StubMotorStatusRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_status_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorStatusRequest * - stub_motor_status_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorStatusRequest *) - protobuf_c_message_unpack (&stub_motor_status_request__descriptor, - allocator, len, data); -} -void stub_motor_status_request__free_unpacked - (StubMotorStatusRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_status_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_status_request__field_descriptors[2] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStatusRequest, has_motor_id), - offsetof(StubMotorStatusRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ClearStatus", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusRequest, has_clearstatus), - offsetof(StubMotorStatusRequest, clearstatus), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_status_request__field_indices_by_name[] = { - 1, /* field[1] = ClearStatus */ - 0, /* field[0] = Motor_ID */ -}; -static const ProtobufCIntRange stub_motor_status_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_motor_status_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorStatusRequest", - "StubMotorStatusRequest", - "StubMotorStatusRequest", - "", - sizeof(StubMotorStatusRequest), - 2, - stub_motor_status_request__field_descriptors, - stub_motor_status_request__field_indices_by_name, - 1, stub_motor_status_request__number_ranges, - (ProtobufCMessageInit) stub_motor_status_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.h deleted file mode 100644 index 84fbd6080..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusRequest.pb-c.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStatusRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorStatusRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorStatusRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorStatusRequest StubMotorStatusRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorStatusRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_clearstatus; - protobuf_c_boolean clearstatus; -}; -#define STUB_MOTOR_STATUS_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_status_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubMotorStatusRequest methods */ -void stub_motor_status_request__init - (StubMotorStatusRequest *message); -size_t stub_motor_status_request__get_packed_size - (const StubMotorStatusRequest *message); -size_t stub_motor_status_request__pack - (const StubMotorStatusRequest *message, - uint8_t *out); -size_t stub_motor_status_request__pack_to_buffer - (const StubMotorStatusRequest *message, - ProtobufCBuffer *buffer); -StubMotorStatusRequest * - stub_motor_status_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_status_request__free_unpacked - (StubMotorStatusRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorStatusRequest_Closure) - (const StubMotorStatusRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_status_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorStatusRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.c deleted file mode 100644 index 9236abdea..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.c +++ /dev/null @@ -1,287 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStatusResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorStatusResponse.pb-c.h" -void stub_motor_status_response__init - (StubMotorStatusResponse *message) -{ - static const StubMotorStatusResponse init_value = STUB_MOTOR_STATUS_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_status_response__get_packed_size - (const StubMotorStatusResponse *message) -{ - assert(message->base.descriptor == &stub_motor_status_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_status_response__pack - (const StubMotorStatusResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_status_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_status_response__pack_to_buffer - (const StubMotorStatusResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_status_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorStatusResponse * - stub_motor_status_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorStatusResponse *) - protobuf_c_message_unpack (&stub_motor_status_response__descriptor, - allocator, len, data); -} -void stub_motor_status_response__free_unpacked - (StubMotorStatusResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_status_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_status_response__field_descriptors[16] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStatusResponse, has_motor_id), - offsetof(StubMotorStatusResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SCK_MOD", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_sck_mod), - offsetof(StubMotorStatusResponse, sck_mod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_B", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_step_loss_b), - offsetof(StubMotorStatusResponse, step_loss_b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "STEP_LOSS_A", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_step_loss_a), - offsetof(StubMotorStatusResponse, step_loss_a), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "OCD", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_ocd), - offsetof(StubMotorStatusResponse, ocd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TH_SD", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_th_sd), - offsetof(StubMotorStatusResponse, th_sd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "TH_WRN", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_th_wrn), - offsetof(StubMotorStatusResponse, th_wrn), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "UVLO", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_uvlo), - offsetof(StubMotorStatusResponse, uvlo), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "WRONG_CMD", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_wrong_cmd), - offsetof(StubMotorStatusResponse, wrong_cmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "NOTPERF_CMD", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_notperf_cmd), - offsetof(StubMotorStatusResponse, notperf_cmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MOT_STATUS", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStatusResponse, has_mot_status), - offsetof(StubMotorStatusResponse, mot_status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "DIR", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_dir), - offsetof(StubMotorStatusResponse, dir), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SW_EVN", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_sw_evn), - offsetof(StubMotorStatusResponse, sw_evn), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SW_F", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_sw_f), - offsetof(StubMotorStatusResponse, sw_f), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BUSY", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_busy), - offsetof(StubMotorStatusResponse, busy), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HiZ", - 16, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStatusResponse, has_hiz), - offsetof(StubMotorStatusResponse, hiz), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_status_response__field_indices_by_name[] = { - 14, /* field[14] = BUSY */ - 11, /* field[11] = DIR */ - 15, /* field[15] = HiZ */ - 10, /* field[10] = MOT_STATUS */ - 0, /* field[0] = Motor_ID */ - 9, /* field[9] = NOTPERF_CMD */ - 4, /* field[4] = OCD */ - 1, /* field[1] = SCK_MOD */ - 3, /* field[3] = STEP_LOSS_A */ - 2, /* field[2] = STEP_LOSS_B */ - 12, /* field[12] = SW_EVN */ - 13, /* field[13] = SW_F */ - 5, /* field[5] = TH_SD */ - 6, /* field[6] = TH_WRN */ - 7, /* field[7] = UVLO */ - 8, /* field[8] = WRONG_CMD */ -}; -static const ProtobufCIntRange stub_motor_status_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 16 } -}; -const ProtobufCMessageDescriptor stub_motor_status_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorStatusResponse", - "StubMotorStatusResponse", - "StubMotorStatusResponse", - "", - sizeof(StubMotorStatusResponse), - 16, - stub_motor_status_response__field_descriptors, - stub_motor_status_response__field_indices_by_name, - 1, stub_motor_status_response__number_ranges, - (ProtobufCMessageInit) stub_motor_status_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.h deleted file mode 100644 index 440830b3b..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStatusResponse.pb-c.h +++ /dev/null @@ -1,102 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStatusResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorStatusResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorStatusResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorStatusResponse StubMotorStatusResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorStatusResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - protobuf_c_boolean has_sck_mod; - protobuf_c_boolean sck_mod; - protobuf_c_boolean has_step_loss_b; - protobuf_c_boolean step_loss_b; - protobuf_c_boolean has_step_loss_a; - protobuf_c_boolean step_loss_a; - protobuf_c_boolean has_ocd; - protobuf_c_boolean ocd; - protobuf_c_boolean has_th_sd; - protobuf_c_boolean th_sd; - protobuf_c_boolean has_th_wrn; - protobuf_c_boolean th_wrn; - protobuf_c_boolean has_uvlo; - protobuf_c_boolean uvlo; - protobuf_c_boolean has_wrong_cmd; - protobuf_c_boolean wrong_cmd; - protobuf_c_boolean has_notperf_cmd; - protobuf_c_boolean notperf_cmd; - protobuf_c_boolean has_mot_status; - uint32_t mot_status; - protobuf_c_boolean has_dir; - protobuf_c_boolean dir; - protobuf_c_boolean has_sw_evn; - protobuf_c_boolean sw_evn; - protobuf_c_boolean has_sw_f; - protobuf_c_boolean sw_f; - protobuf_c_boolean has_busy; - protobuf_c_boolean busy; - protobuf_c_boolean has_hiz; - protobuf_c_boolean hiz; -}; -#define STUB_MOTOR_STATUS_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_status_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorStatusResponse methods */ -void stub_motor_status_response__init - (StubMotorStatusResponse *message); -size_t stub_motor_status_response__get_packed_size - (const StubMotorStatusResponse *message); -size_t stub_motor_status_response__pack - (const StubMotorStatusResponse *message, - uint8_t *out); -size_t stub_motor_status_response__pack_to_buffer - (const StubMotorStatusResponse *message, - ProtobufCBuffer *buffer); -StubMotorStatusResponse * - stub_motor_status_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_status_response__free_unpacked - (StubMotorStatusResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorStatusResponse_Closure) - (const StubMotorStatusResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_status_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorStatusResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.c deleted file mode 100644 index 1bcdca7be..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStopRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorStopRequest.pb-c.h" -void stub_motor_stop_request__init - (StubMotorStopRequest *message) -{ - static const StubMotorStopRequest init_value = STUB_MOTOR_STOP_REQUEST__INIT; - *message = init_value; -} -size_t stub_motor_stop_request__get_packed_size - (const StubMotorStopRequest *message) -{ - assert(message->base.descriptor == &stub_motor_stop_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_stop_request__pack - (const StubMotorStopRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_stop_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_stop_request__pack_to_buffer - (const StubMotorStopRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_stop_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorStopRequest * - stub_motor_stop_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorStopRequest *) - protobuf_c_message_unpack (&stub_motor_stop_request__descriptor, - allocator, len, data); -} -void stub_motor_stop_request__free_unpacked - (StubMotorStopRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_stop_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_stop_request__field_descriptors[2] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStopRequest, has_motor_id), - offsetof(StubMotorStopRequest, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Stop_CMD", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStopRequest, has_stop_cmd), - offsetof(StubMotorStopRequest, stop_cmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_stop_request__field_indices_by_name[] = { - 0, /* field[0] = Motor_ID */ - 1, /* field[1] = Stop_CMD */ -}; -static const ProtobufCIntRange stub_motor_stop_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_motor_stop_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorStopRequest", - "StubMotorStopRequest", - "StubMotorStopRequest", - "", - sizeof(StubMotorStopRequest), - 2, - stub_motor_stop_request__field_descriptors, - stub_motor_stop_request__field_indices_by_name, - 1, stub_motor_stop_request__number_ranges, - (ProtobufCMessageInit) stub_motor_stop_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.h deleted file mode 100644 index 2c89fc185..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopRequest.pb-c.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStopRequest.proto */ - -#ifndef PROTOBUF_C_StubMotorStopRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorStopRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorStopRequest StubMotorStopRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorStopRequest -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - /* - * 1 - Hard_Stop/ 2 - Soft_Stop/ 3 - Hard_Hiz/ 4 - Soft_Hiz - */ - protobuf_c_boolean has_stop_cmd; - uint32_t stop_cmd; -}; -#define STUB_MOTOR_STOP_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_stop_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubMotorStopRequest methods */ -void stub_motor_stop_request__init - (StubMotorStopRequest *message); -size_t stub_motor_stop_request__get_packed_size - (const StubMotorStopRequest *message); -size_t stub_motor_stop_request__pack - (const StubMotorStopRequest *message, - uint8_t *out); -size_t stub_motor_stop_request__pack_to_buffer - (const StubMotorStopRequest *message, - ProtobufCBuffer *buffer); -StubMotorStopRequest * - stub_motor_stop_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_stop_request__free_unpacked - (StubMotorStopRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorStopRequest_Closure) - (const StubMotorStopRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_stop_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorStopRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.c deleted file mode 100644 index 60cacfcb7..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStopResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubMotorStopResponse.pb-c.h" -void stub_motor_stop_response__init - (StubMotorStopResponse *message) -{ - static const StubMotorStopResponse init_value = STUB_MOTOR_STOP_RESPONSE__INIT; - *message = init_value; -} -size_t stub_motor_stop_response__get_packed_size - (const StubMotorStopResponse *message) -{ - assert(message->base.descriptor == &stub_motor_stop_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_motor_stop_response__pack - (const StubMotorStopResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_motor_stop_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_motor_stop_response__pack_to_buffer - (const StubMotorStopResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_motor_stop_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubMotorStopResponse * - stub_motor_stop_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubMotorStopResponse *) - protobuf_c_message_unpack (&stub_motor_stop_response__descriptor, - allocator, len, data); -} -void stub_motor_stop_response__free_unpacked - (StubMotorStopResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_motor_stop_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_motor_stop_response__field_descriptors[4] = -{ - { - "Motor_ID", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStopResponse, has_motor_id), - offsetof(StubMotorStopResponse, motor_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Mot_Status", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubMotorStopResponse, has_mot_status), - offsetof(StubMotorStopResponse, mot_status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "HiZ", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStopResponse, has_hiz), - offsetof(StubMotorStopResponse, hiz), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "BUSY", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubMotorStopResponse, has_busy), - offsetof(StubMotorStopResponse, busy), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_motor_stop_response__field_indices_by_name[] = { - 3, /* field[3] = BUSY */ - 2, /* field[2] = HiZ */ - 1, /* field[1] = Mot_Status */ - 0, /* field[0] = Motor_ID */ -}; -static const ProtobufCIntRange stub_motor_stop_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_motor_stop_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubMotorStopResponse", - "StubMotorStopResponse", - "StubMotorStopResponse", - "", - sizeof(StubMotorStopResponse), - 4, - stub_motor_stop_response__field_descriptors, - stub_motor_stop_response__field_indices_by_name, - 1, stub_motor_stop_response__number_ranges, - (ProtobufCMessageInit) stub_motor_stop_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.h deleted file mode 100644 index 1a41f11ef..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorStopResponse.pb-c.h +++ /dev/null @@ -1,84 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubMotorStopResponse.proto */ - -#ifndef PROTOBUF_C_StubMotorStopResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubMotorStopResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubMotorStopResponse StubMotorStopResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubMotorStopResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_motor_id; - uint32_t motor_id; - /* - * Stopped / Acceleration / Deceleration / Constant speed - */ - protobuf_c_boolean has_mot_status; - uint32_t mot_status; - /* - * 1 - high impedance state. - */ - protobuf_c_boolean has_hiz; - protobuf_c_boolean hiz; - protobuf_c_boolean has_busy; - protobuf_c_boolean busy; -}; -#define STUB_MOTOR_STOP_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_motor_stop_response__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubMotorStopResponse methods */ -void stub_motor_stop_response__init - (StubMotorStopResponse *message); -size_t stub_motor_stop_response__get_packed_size - (const StubMotorStopResponse *message); -size_t stub_motor_stop_response__pack - (const StubMotorStopResponse *message, - uint8_t *out); -size_t stub_motor_stop_response__pack_to_buffer - (const StubMotorStopResponse *message, - ProtobufCBuffer *buffer); -StubMotorStopResponse * - stub_motor_stop_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_motor_stop_response__free_unpacked - (StubMotorStopResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubMotorStopResponse_Closure) - (const StubMotorStopResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_motor_stop_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubMotorStopResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.c deleted file mode 100644 index bd4187588..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubOptLimitSwitchRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubOptLimitSwitchRequest.pb-c.h" -void stub_opt_limit_switch_request__init - (StubOptLimitSwitchRequest *message) -{ - static const StubOptLimitSwitchRequest init_value = STUB_OPT_LIMIT_SWITCH_REQUEST__INIT; - *message = init_value; -} -size_t stub_opt_limit_switch_request__get_packed_size - (const StubOptLimitSwitchRequest *message) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_opt_limit_switch_request__pack - (const StubOptLimitSwitchRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_opt_limit_switch_request__pack_to_buffer - (const StubOptLimitSwitchRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubOptLimitSwitchRequest * - stub_opt_limit_switch_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubOptLimitSwitchRequest *) - protobuf_c_message_unpack (&stub_opt_limit_switch_request__descriptor, - allocator, len, data); -} -void stub_opt_limit_switch_request__free_unpacked - (StubOptLimitSwitchRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_opt_limit_switch_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_opt_limit_switch_request__field_descriptors[2] = -{ - { - "LimitSwitchrId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubOptLimitSwitchRequest, has_limitswitchrid), - offsetof(StubOptLimitSwitchRequest, limitswitchrid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LimitSwitchrDisable", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubOptLimitSwitchRequest, has_limitswitchrdisable), - offsetof(StubOptLimitSwitchRequest, limitswitchrdisable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_opt_limit_switch_request__field_indices_by_name[] = { - 1, /* field[1] = LimitSwitchrDisable */ - 0, /* field[0] = LimitSwitchrId */ -}; -static const ProtobufCIntRange stub_opt_limit_switch_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_opt_limit_switch_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubOptLimitSwitchRequest", - "StubOptLimitSwitchRequest", - "StubOptLimitSwitchRequest", - "", - sizeof(StubOptLimitSwitchRequest), - 2, - stub_opt_limit_switch_request__field_descriptors, - stub_opt_limit_switch_request__field_indices_by_name, - 1, stub_opt_limit_switch_request__number_ranges, - (ProtobufCMessageInit) stub_opt_limit_switch_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.h deleted file mode 100644 index 2008bf5f9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchRequest.pb-c.h +++ /dev/null @@ -1,80 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubOptLimitSwitchRequest.proto */ - -#ifndef PROTOBUF_C_StubOptLimitSwitchRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubOptLimitSwitchRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubOptLimitSwitchRequest StubOptLimitSwitchRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubOptLimitSwitchRequest -{ - ProtobufCMessage base; - /* - *0..16 - */ - protobuf_c_boolean has_limitswitchrid; - uint32_t limitswitchrid; - /* - * 0 - Enable 1 - Disable - */ - protobuf_c_boolean has_limitswitchrdisable; - protobuf_c_boolean limitswitchrdisable; -}; -#define STUB_OPT_LIMIT_SWITCH_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_opt_limit_switch_request__descriptor) \ - , 0, 0, 0, 0 } - - -/* StubOptLimitSwitchRequest methods */ -void stub_opt_limit_switch_request__init - (StubOptLimitSwitchRequest *message); -size_t stub_opt_limit_switch_request__get_packed_size - (const StubOptLimitSwitchRequest *message); -size_t stub_opt_limit_switch_request__pack - (const StubOptLimitSwitchRequest *message, - uint8_t *out); -size_t stub_opt_limit_switch_request__pack_to_buffer - (const StubOptLimitSwitchRequest *message, - ProtobufCBuffer *buffer); -StubOptLimitSwitchRequest * - stub_opt_limit_switch_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_opt_limit_switch_request__free_unpacked - (StubOptLimitSwitchRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubOptLimitSwitchRequest_Closure) - (const StubOptLimitSwitchRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_opt_limit_switch_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubOptLimitSwitchRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c deleted file mode 100644 index 1f8445842..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubOptLimitSwitchResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubOptLimitSwitchResponse.pb-c.h" -void stub_opt_limit_switch_response__init - (StubOptLimitSwitchResponse *message) -{ - static const StubOptLimitSwitchResponse init_value = STUB_OPT_LIMIT_SWITCH_RESPONSE__INIT; - *message = init_value; -} -size_t stub_opt_limit_switch_response__get_packed_size - (const StubOptLimitSwitchResponse *message) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_opt_limit_switch_response__pack - (const StubOptLimitSwitchResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_opt_limit_switch_response__pack_to_buffer - (const StubOptLimitSwitchResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_opt_limit_switch_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubOptLimitSwitchResponse * - stub_opt_limit_switch_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubOptLimitSwitchResponse *) - protobuf_c_message_unpack (&stub_opt_limit_switch_response__descriptor, - allocator, len, data); -} -void stub_opt_limit_switch_response__free_unpacked - (StubOptLimitSwitchResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_opt_limit_switch_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_opt_limit_switch_response__field_descriptors[4] = -{ - { - "LimitSwitchrId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubOptLimitSwitchResponse, has_limitswitchrid), - offsetof(StubOptLimitSwitchResponse, limitswitchrid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LimitSwitchDitection", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubOptLimitSwitchResponse, has_limitswitchditection), - offsetof(StubOptLimitSwitchResponse, limitswitchditection), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubOptLimitSwitchResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubOptLimitSwitchResponse, has_statusword), - offsetof(StubOptLimitSwitchResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_opt_limit_switch_response__field_indices_by_name[] = { - 1, /* field[1] = LimitSwitchDitection */ - 0, /* field[0] = LimitSwitchrId */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_opt_limit_switch_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_opt_limit_switch_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubOptLimitSwitchResponse", - "StubOptLimitSwitchResponse", - "StubOptLimitSwitchResponse", - "", - sizeof(StubOptLimitSwitchResponse), - 4, - stub_opt_limit_switch_response__field_descriptors, - stub_opt_limit_switch_response__field_indices_by_name, - 1, stub_opt_limit_switch_response__number_ranges, - (ProtobufCMessageInit) stub_opt_limit_switch_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h deleted file mode 100644 index 74ebe93d8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubOptLimitSwitchResponse.proto */ - -#ifndef PROTOBUF_C_StubOptLimitSwitchResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubOptLimitSwitchResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubOptLimitSwitchResponse StubOptLimitSwitchResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubOptLimitSwitchResponse -{ - ProtobufCMessage base; - /* - *0..19 - */ - protobuf_c_boolean has_limitswitchrid; - uint32_t limitswitchrid; - /* - */ - protobuf_c_boolean has_limitswitchditection; - protobuf_c_boolean limitswitchditection; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_OPT_LIMIT_SWITCH_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_opt_limit_switch_response__descriptor) \ - , 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubOptLimitSwitchResponse methods */ -void stub_opt_limit_switch_response__init - (StubOptLimitSwitchResponse *message); -size_t stub_opt_limit_switch_response__get_packed_size - (const StubOptLimitSwitchResponse *message); -size_t stub_opt_limit_switch_response__pack - (const StubOptLimitSwitchResponse *message, - uint8_t *out); -size_t stub_opt_limit_switch_response__pack_to_buffer - (const StubOptLimitSwitchResponse *message, - ProtobufCBuffer *buffer); -StubOptLimitSwitchResponse * - stub_opt_limit_switch_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_opt_limit_switch_response__free_unpacked - (StubOptLimitSwitchResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubOptLimitSwitchResponse_Closure) - (const StubOptLimitSwitchResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_opt_limit_switch_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubOptLimitSwitchResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.c deleted file mode 100644 index 7328bb692..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.c +++ /dev/null @@ -1,144 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubSteperMotorRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubSteperMotorRequest.pb-c.h" -void stub_steper_motor_request__init - (StubSteperMotorRequest *message) -{ - static const StubSteperMotorRequest init_value = STUB_STEPER_MOTOR_REQUEST__INIT; - *message = init_value; -} -size_t stub_steper_motor_request__get_packed_size - (const StubSteperMotorRequest *message) -{ - assert(message->base.descriptor == &stub_steper_motor_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_steper_motor_request__pack - (const StubSteperMotorRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_steper_motor_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_steper_motor_request__pack_to_buffer - (const StubSteperMotorRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_steper_motor_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubSteperMotorRequest * - stub_steper_motor_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubSteperMotorRequest *) - protobuf_c_message_unpack (&stub_steper_motor_request__descriptor, - allocator, len, data); -} -void stub_steper_motor_request__free_unpacked - (StubSteperMotorRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_steper_motor_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_steper_motor_request__field_descriptors[5] = -{ - { - "MotorId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubSteperMotorRequest, has_motorid), - offsetof(StubSteperMotorRequest, motorid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Start", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubSteperMotorRequest, has_start), - offsetof(StubSteperMotorRequest, start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetDirection", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubSteperMotorRequest, has_setdirection), - offsetof(StubSteperMotorRequest, setdirection), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetMicrostepDivision", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubSteperMotorRequest, has_setmicrostepdivision), - offsetof(StubSteperMotorRequest, setmicrostepdivision), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "SetSpeed", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(StubSteperMotorRequest, has_setspeed), - offsetof(StubSteperMotorRequest, setspeed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_steper_motor_request__field_indices_by_name[] = { - 0, /* field[0] = MotorId */ - 2, /* field[2] = SetDirection */ - 3, /* field[3] = SetMicrostepDivision */ - 4, /* field[4] = SetSpeed */ - 1, /* field[1] = Start */ -}; -static const ProtobufCIntRange stub_steper_motor_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor stub_steper_motor_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubSteperMotorRequest", - "StubSteperMotorRequest", - "StubSteperMotorRequest", - "", - sizeof(StubSteperMotorRequest), - 5, - stub_steper_motor_request__field_descriptors, - stub_steper_motor_request__field_indices_by_name, - 1, stub_steper_motor_request__number_ranges, - (ProtobufCMessageInit) stub_steper_motor_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.h deleted file mode 100644 index a7a771172..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorRequest.pb-c.h +++ /dev/null @@ -1,95 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubSteperMotorRequest.proto */ - -#ifndef PROTOBUF_C_StubSteperMotorRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubSteperMotorRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubSteperMotorRequest StubSteperMotorRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubSteperMotorRequest -{ - ProtobufCMessage base; - /* - *0..19 - */ - protobuf_c_boolean has_motorid; - uint32_t motorid; - /* - * 1-start 0-stop - */ - protobuf_c_boolean has_start; - protobuf_c_boolean start; - /* - * 1-cw 0-ccw - */ - protobuf_c_boolean has_setdirection; - protobuf_c_boolean setdirection; - /* - * No. of steps for 360 deg. - */ - protobuf_c_boolean has_setmicrostepdivision; - uint32_t setmicrostepdivision; - /* - * ? - */ - protobuf_c_boolean has_setspeed; - int32_t setspeed; -}; -#define STUB_STEPER_MOTOR_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_steper_motor_request__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* StubSteperMotorRequest methods */ -void stub_steper_motor_request__init - (StubSteperMotorRequest *message); -size_t stub_steper_motor_request__get_packed_size - (const StubSteperMotorRequest *message); -size_t stub_steper_motor_request__pack - (const StubSteperMotorRequest *message, - uint8_t *out); -size_t stub_steper_motor_request__pack_to_buffer - (const StubSteperMotorRequest *message, - ProtobufCBuffer *buffer); -StubSteperMotorRequest * - stub_steper_motor_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_steper_motor_request__free_unpacked - (StubSteperMotorRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubSteperMotorRequest_Closure) - (const StubSteperMotorRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_steper_motor_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubSteperMotorRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c deleted file mode 100644 index 1d13edf23..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubSteperMotorResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubSteperMotorResponse.pb-c.h" -void stub_steper_motor_response__init - (StubSteperMotorResponse *message) -{ - static const StubSteperMotorResponse init_value = STUB_STEPER_MOTOR_RESPONSE__INIT; - *message = init_value; -} -size_t stub_steper_motor_response__get_packed_size - (const StubSteperMotorResponse *message) -{ - assert(message->base.descriptor == &stub_steper_motor_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_steper_motor_response__pack - (const StubSteperMotorResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_steper_motor_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_steper_motor_response__pack_to_buffer - (const StubSteperMotorResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_steper_motor_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubSteperMotorResponse * - stub_steper_motor_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubSteperMotorResponse *) - protobuf_c_message_unpack (&stub_steper_motor_response__descriptor, - allocator, len, data); -} -void stub_steper_motor_response__free_unpacked - (StubSteperMotorResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_steper_motor_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_steper_motor_response__field_descriptors[4] = -{ - { - "MotorId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubSteperMotorResponse, has_motorid), - offsetof(StubSteperMotorResponse, motorid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MotorVersion", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubSteperMotorResponse, has_motorversion), - offsetof(StubSteperMotorResponse, motorversion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Status", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubSteperMotorResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubSteperMotorResponse, has_statusword), - offsetof(StubSteperMotorResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_steper_motor_response__field_indices_by_name[] = { - 0, /* field[0] = MotorId */ - 1, /* field[1] = MotorVersion */ - 2, /* field[2] = Status */ - 3, /* field[3] = StatusWord */ -}; -static const ProtobufCIntRange stub_steper_motor_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor stub_steper_motor_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubSteperMotorResponse", - "StubSteperMotorResponse", - "StubSteperMotorResponse", - "", - sizeof(StubSteperMotorResponse), - 4, - stub_steper_motor_response__field_descriptors, - stub_steper_motor_response__field_indices_by_name, - 1, stub_steper_motor_response__number_ranges, - (ProtobufCMessageInit) stub_steper_motor_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h deleted file mode 100644 index fbe1f63ef..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubSteperMotorResponse.proto */ - -#ifndef PROTOBUF_C_StubSteperMotorResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubSteperMotorResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubSteperMotorResponse StubSteperMotorResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubSteperMotorResponse -{ - ProtobufCMessage base; - /* - *0..19 - */ - protobuf_c_boolean has_motorid; - uint32_t motorid; - /* - */ - protobuf_c_boolean has_motorversion; - uint32_t motorversion; - /* - * Passed / Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_STEPER_MOTOR_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_steper_motor_response__descriptor) \ - , 0, 0, 0, 0, NULL, 0, 0 } - - -/* StubSteperMotorResponse methods */ -void stub_steper_motor_response__init - (StubSteperMotorResponse *message); -size_t stub_steper_motor_response__get_packed_size - (const StubSteperMotorResponse *message); -size_t stub_steper_motor_response__pack - (const StubSteperMotorResponse *message, - uint8_t *out); -size_t stub_steper_motor_response__pack_to_buffer - (const StubSteperMotorResponse *message, - ProtobufCBuffer *buffer); -StubSteperMotorResponse * - stub_steper_motor_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_steper_motor_response__free_unpacked - (StubSteperMotorResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubSteperMotorResponse_Closure) - (const StubSteperMotorResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_steper_motor_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubSteperMotorResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.c deleted file mode 100644 index 6e1bc168f..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.c +++ /dev/null @@ -1,118 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubValveRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubValveRequest.pb-c.h" -void stub_valve_request__init - (StubValveRequest *message) -{ - static const StubValveRequest init_value = STUB_VALVE_REQUEST__INIT; - *message = init_value; -} -size_t stub_valve_request__get_packed_size - (const StubValveRequest *message) -{ - assert(message->base.descriptor == &stub_valve_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_valve_request__pack - (const StubValveRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_valve_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_valve_request__pack_to_buffer - (const StubValveRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_valve_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubValveRequest * - stub_valve_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubValveRequest *) - protobuf_c_message_unpack (&stub_valve_request__descriptor, - allocator, len, data); -} -void stub_valve_request__free_unpacked - (StubValveRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_valve_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_valve_request__field_descriptors[3] = -{ - { - "ValveId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubValveRequest, has_valveid), - offsetof(StubValveRequest, valveid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Inkflow", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubValveRequest, has_inkflow), - offsetof(StubValveRequest, inkflow), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ValveOn", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BOOL, - offsetof(StubValveRequest, has_valveon), - offsetof(StubValveRequest, valveon), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_valve_request__field_indices_by_name[] = { - 1, /* field[1] = Inkflow */ - 0, /* field[0] = ValveId */ - 2, /* field[2] = ValveOn */ -}; -static const ProtobufCIntRange stub_valve_request__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor stub_valve_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubValveRequest", - "StubValveRequest", - "StubValveRequest", - "", - sizeof(StubValveRequest), - 3, - stub_valve_request__field_descriptors, - stub_valve_request__field_indices_by_name, - 1, stub_valve_request__number_ranges, - (ProtobufCMessageInit) stub_valve_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.h deleted file mode 100644 index 9a730b4d0..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveRequest.pb-c.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubValveRequest.proto */ - -#ifndef PROTOBUF_C_StubValveRequest_2eproto__INCLUDED -#define PROTOBUF_C_StubValveRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubValveRequest StubValveRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubValveRequest -{ - ProtobufCMessage base; - /* - * 0..19 - */ - protobuf_c_boolean has_valveid; - uint32_t valveid; - /* - *0 - Min - */ - protobuf_c_boolean has_inkflow; - uint32_t inkflow; - /* - *0-Off 1-On - */ - protobuf_c_boolean has_valveon; - protobuf_c_boolean valveon; -}; -#define STUB_VALVE_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_valve_request__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - - -/* StubValveRequest methods */ -void stub_valve_request__init - (StubValveRequest *message); -size_t stub_valve_request__get_packed_size - (const StubValveRequest *message); -size_t stub_valve_request__pack - (const StubValveRequest *message, - uint8_t *out); -size_t stub_valve_request__pack_to_buffer - (const StubValveRequest *message, - ProtobufCBuffer *buffer); -StubValveRequest * - stub_valve_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_valve_request__free_unpacked - (StubValveRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubValveRequest_Closure) - (const StubValveRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_valve_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubValveRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c deleted file mode 100644 index 4556cc4d2..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubValveResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "StubValveResponse.pb-c.h" -void stub_valve_response__init - (StubValveResponse *message) -{ - static const StubValveResponse init_value = STUB_VALVE_RESPONSE__INIT; - *message = init_value; -} -size_t stub_valve_response__get_packed_size - (const StubValveResponse *message) -{ - assert(message->base.descriptor == &stub_valve_response__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t stub_valve_response__pack - (const StubValveResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &stub_valve_response__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t stub_valve_response__pack_to_buffer - (const StubValveResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &stub_valve_response__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -StubValveResponse * - stub_valve_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (StubValveResponse *) - protobuf_c_message_unpack (&stub_valve_response__descriptor, - allocator, len, data); -} -void stub_valve_response__free_unpacked - (StubValveResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &stub_valve_response__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor stub_valve_response__field_descriptors[2] = -{ - { - "Status", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(StubValveResponse, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "StatusWord", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(StubValveResponse, has_statusword), - offsetof(StubValveResponse, statusword), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned stub_valve_response__field_indices_by_name[] = { - 0, /* field[0] = Status */ - 1, /* field[1] = StatusWord */ -}; -static const ProtobufCIntRange stub_valve_response__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor stub_valve_response__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "StubValveResponse", - "StubValveResponse", - "StubValveResponse", - "", - sizeof(StubValveResponse), - 2, - stub_valve_response__field_descriptors, - stub_valve_response__field_indices_by_name, - 1, stub_valve_response__number_ranges, - (ProtobufCMessageInit) stub_valve_response__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h deleted file mode 100644 index 3b1512450..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: StubValveResponse.proto */ - -#ifndef PROTOBUF_C_StubValveResponse_2eproto__INCLUDED -#define PROTOBUF_C_StubValveResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _StubValveResponse StubValveResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _StubValveResponse -{ - ProtobufCMessage base; - /* - * Passed/Failed - */ - char *status; - /* - * Error number/bit when the status is Failed - */ - protobuf_c_boolean has_statusword; - uint32_t statusword; -}; -#define STUB_VALVE_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&stub_valve_response__descriptor) \ - , NULL, 0, 0 } - - -/* StubValveResponse methods */ -void stub_valve_response__init - (StubValveResponse *message); -size_t stub_valve_response__get_packed_size - (const StubValveResponse *message); -size_t stub_valve_response__pack - (const StubValveResponse *message, - uint8_t *out); -size_t stub_valve_response__pack_to_buffer - (const StubValveResponse *message, - ProtobufCBuffer *buffer); -StubValveResponse * - stub_valve_response__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void stub_valve_response__free_unpacked - (StubValveResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*StubValveResponse_Closure) - (const StubValveResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor stub_valve_response__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_StubValveResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.c deleted file mode 100644 index 97b733360..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SynchronizeDBRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "SynchronizeDBRequest.pb-c.h" -void synchronize_dbrequest__init - (SynchronizeDBRequest *message) -{ - static const SynchronizeDBRequest init_value = SYNCHRONIZE_DBREQUEST__INIT; - *message = init_value; -} -size_t synchronize_dbrequest__get_packed_size - (const SynchronizeDBRequest *message) -{ - assert(message->base.descriptor == &synchronize_dbrequest__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t synchronize_dbrequest__pack - (const SynchronizeDBRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &synchronize_dbrequest__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t synchronize_dbrequest__pack_to_buffer - (const SynchronizeDBRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &synchronize_dbrequest__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -SynchronizeDBRequest * - synchronize_dbrequest__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (SynchronizeDBRequest *) - protobuf_c_message_unpack (&synchronize_dbrequest__descriptor, - allocator, len, data); -} -void synchronize_dbrequest__free_unpacked - (SynchronizeDBRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &synchronize_dbrequest__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor synchronize_dbrequest__field_descriptors[2] = -{ - { - "SerialNumber", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(SynchronizeDBRequest, serialnumber), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "LocalDB", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(SynchronizeDBRequest, has_localdb), - offsetof(SynchronizeDBRequest, localdb), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned synchronize_dbrequest__field_indices_by_name[] = { - 1, /* field[1] = LocalDB */ - 0, /* field[0] = SerialNumber */ -}; -static const ProtobufCIntRange synchronize_dbrequest__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor synchronize_dbrequest__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "SynchronizeDBRequest", - "SynchronizeDBRequest", - "SynchronizeDBRequest", - "", - sizeof(SynchronizeDBRequest), - 2, - synchronize_dbrequest__field_descriptors, - synchronize_dbrequest__field_indices_by_name, - 1, synchronize_dbrequest__number_ranges, - (ProtobufCMessageInit) synchronize_dbrequest__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.h deleted file mode 100644 index a1652cce9..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBRequest.pb-c.h +++ /dev/null @@ -1,73 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SynchronizeDBRequest.proto */ - -#ifndef PROTOBUF_C_SynchronizeDBRequest_2eproto__INCLUDED -#define PROTOBUF_C_SynchronizeDBRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _SynchronizeDBRequest SynchronizeDBRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _SynchronizeDBRequest -{ - ProtobufCMessage base; - char *serialnumber; - protobuf_c_boolean has_localdb; - ProtobufCBinaryData localdb; -}; -#define SYNCHRONIZE_DBREQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&synchronize_dbrequest__descriptor) \ - , NULL, 0, {0,NULL} } - - -/* SynchronizeDBRequest methods */ -void synchronize_dbrequest__init - (SynchronizeDBRequest *message); -size_t synchronize_dbrequest__get_packed_size - (const SynchronizeDBRequest *message); -size_t synchronize_dbrequest__pack - (const SynchronizeDBRequest *message, - uint8_t *out); -size_t synchronize_dbrequest__pack_to_buffer - (const SynchronizeDBRequest *message, - ProtobufCBuffer *buffer); -SynchronizeDBRequest * - synchronize_dbrequest__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void synchronize_dbrequest__free_unpacked - (SynchronizeDBRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*SynchronizeDBRequest_Closure) - (const SynchronizeDBRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor synchronize_dbrequest__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_SynchronizeDBRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.c deleted file mode 100644 index 208c1a9a5..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SynchronizeDBResponse.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "SynchronizeDBResponse.pb-c.h" -void synchronize_dbresponse__init - (SynchronizeDBResponse *message) -{ - static const SynchronizeDBResponse init_value = SYNCHRONIZE_DBRESPONSE__INIT; - *message = init_value; -} -size_t synchronize_dbresponse__get_packed_size - (const SynchronizeDBResponse *message) -{ - assert(message->base.descriptor == &synchronize_dbresponse__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t synchronize_dbresponse__pack - (const SynchronizeDBResponse *message, - uint8_t *out) -{ - assert(message->base.descriptor == &synchronize_dbresponse__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t synchronize_dbresponse__pack_to_buffer - (const SynchronizeDBResponse *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &synchronize_dbresponse__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -SynchronizeDBResponse * - synchronize_dbresponse__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (SynchronizeDBResponse *) - protobuf_c_message_unpack (&synchronize_dbresponse__descriptor, - allocator, len, data); -} -void synchronize_dbresponse__free_unpacked - (SynchronizeDBResponse *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &synchronize_dbresponse__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor synchronize_dbresponse__field_descriptors[1] = -{ - { - "RemoteDB", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(SynchronizeDBResponse, has_remotedb), - offsetof(SynchronizeDBResponse, remotedb), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned synchronize_dbresponse__field_indices_by_name[] = { - 0, /* field[0] = RemoteDB */ -}; -static const ProtobufCIntRange synchronize_dbresponse__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor synchronize_dbresponse__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "SynchronizeDBResponse", - "SynchronizeDBResponse", - "SynchronizeDBResponse", - "", - sizeof(SynchronizeDBResponse), - 1, - synchronize_dbresponse__field_descriptors, - synchronize_dbresponse__field_indices_by_name, - 1, synchronize_dbresponse__number_ranges, - (ProtobufCMessageInit) synchronize_dbresponse__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.h deleted file mode 100644 index 445695991..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Synchronization/SynchronizeDBResponse.pb-c.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: SynchronizeDBResponse.proto */ - -#ifndef PROTOBUF_C_SynchronizeDBResponse_2eproto__INCLUDED -#define PROTOBUF_C_SynchronizeDBResponse_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _SynchronizeDBResponse SynchronizeDBResponse; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _SynchronizeDBResponse -{ - ProtobufCMessage base; - protobuf_c_boolean has_remotedb; - ProtobufCBinaryData remotedb; -}; -#define SYNCHRONIZE_DBRESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&synchronize_dbresponse__descriptor) \ - , 0, {0,NULL} } - - -/* SynchronizeDBResponse methods */ -void synchronize_dbresponse__init - (SynchronizeDBResponse *message); -size_t synchronize_dbresponse__get_packed_size - (const SynchronizeDBResponse *message); -size_t synchronize_dbresponse__pack - (const SynchronizeDBResponse *message, - uint8_t *out); -size_t synchronize_dbresponse__pack_to_buffer - (const SynchronizeDBResponse *message, - ProtobufCBuffer *buffer); -SynchronizeDBResponse * - synchronize_dbresponse__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void synchronize_dbresponse__free_unpacked - (SynchronizeDBResponse *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*SynchronizeDBResponse_Closure) - (const SynchronizeDBResponse *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor synchronize_dbresponse__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_SynchronizeDBResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj index a05e31bf6..9ef1104d1 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj @@ -181,9 +181,6 @@ <ClCompile Include="PMR\ColorLab\LiquidType.pb-c.c" /> <ClCompile Include="PMR\ColorLab\OutputCoordinates.pb-c.c" /> <ClCompile Include="PMR\ColorLab\OutputLiquid.pb-c.c" /> - <ClCompile Include="Tester.cpp" /> - <ClCompile Include="PMR\Stubs\CalculateRequest.pb-c.c" /> - <ClCompile Include="PMR\Stubs\CalculateResponse.pb-c.c" /> <ClCompile Include="protobuf-c\protobuf-c.c" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters index 4b2415b0e..087fb1cff 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters @@ -74,15 +74,6 @@ </ClInclude> </ItemGroup> <ItemGroup> - <ClCompile Include="PMR\Stubs\CalculateRequest.pb-c.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="PMR\Stubs\CalculateResponse.pb-c.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="Tester.cpp"> - <Filter>Source Files</Filter> - </ClCompile> <ClCompile Include="Exports.cpp"> <Filter>Source Files</Filter> </ClCompile> diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tester.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/Tester.cpp deleted file mode 100644 index d253f8cd6..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tester.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "PMR/Stubs/CalculateRequest.pb-c.h" -#include "PMR/Stubs/CalculateResponse.pb-c.h" -#include "Tester.h" - -Tango::ColoLib::Tester::Tester() -{ -} - -Tango::ColoLib::Tester::~Tester() -{ -} - -size_t Tango::ColoLib::Tester::Calculate(uint8_t * request_buffer, size_t request_buffer_size, uint8_t*& response_buffer) -{ - CalculateRequest* request = calculate_request__unpack(NULL, request_buffer_size, request_buffer); - - - CalculateResponse response = CALCULATE_RESPONSE__INIT; - response.sum = request->a + request->b; - response.has_sum = true; - - response_buffer = (uint8_t*)malloc(calculate_response__get_packed_size(&response)); - return calculate_response__pack(&response, response_buffer); -} - diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tester.h b/Software/Visual_Studio/Native/Tango.ColorLib/Tester.h deleted file mode 100644 index d5b710778..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tester.h +++ /dev/null @@ -1,19 +0,0 @@ -#include <cstdlib> -#include <cstdint> - -#pragma once - -namespace Tango -{ - namespace ColoLib - { - class Tester - { - public: - Tester(); - ~Tester(); - size_t Calculate(uint8_t * request_buffer, size_t request_buffer_size, uint8_t *& response_buffer); - }; - } -} - diff --git a/Software/Visual_Studio/Tango.BL/Entities/SpoolType.cs b/Software/Visual_Studio/Tango.BL/Entities/SpoolType.cs index b4e9bd555..f17e2846c 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/SpoolType.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/SpoolType.cs @@ -174,6 +174,46 @@ namespace Tango.BL.Entities } + protected Int32 _bottombackingrate; + /// <summary> + /// Gets or sets the spooltype bottom backing rate. + /// </summary> + [Column("BOTTOM_BACKING_RATE")] + + public Int32 BottomBackingRate + { + get + { + return _bottombackingrate; + } + + set + { + _bottombackingrate = value; RaisePropertyChanged(nameof(BottomBackingRate)); + } + + } + + protected Double _rotationsperpassage; + /// <summary> + /// Gets or sets the spooltype rotations per passage. + /// </summary> + [Column("ROTATIONS_PER_PASSAGE")] + + public Double RotationsPerPassage + { + get + { + return _rotationsperpassage; + } + + set + { + _rotationsperpassage = value; RaisePropertyChanged(nameof(RotationsPerPassage)); + } + + } + protected ObservableCollection<Job> _jobs; /// <summary> /// Gets or sets the spooltype jobs. diff --git a/Software/Visual_Studio/Tango.BL/EntitiesExtensions/Machine.cs b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/Machine.cs index e00715795..ff32ba02f 100644 --- a/Software/Visual_Studio/Tango.BL/EntitiesExtensions/Machine.cs +++ b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/Machine.cs @@ -31,7 +31,7 @@ namespace Tango.BL.Entities foreach (var segment in job.Segments) { - segment.SegmentIndex = job.Segments.IndexOf(segment); + //segment.SegmentIndex = job.Segments.IndexOf(segment); foreach (var stop in segment.BrushStops) { diff --git a/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MachineEvent.cs b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MachineEvent.cs index 7e4b7140b..33dd34d2c 100644 --- a/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MachineEvent.cs +++ b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MachineEvent.cs @@ -9,6 +9,7 @@ using Tango.PMR.Diagnostics; namespace Tango.BL.Entities { + [Serializable] public partial class MachinesEvent { private static Dictionary<EventTypes, EventType> _eventTypesGuids; diff --git a/Software/Visual_Studio/Tango.BL/ExtensionMethods/MediaColor.cs b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MediaColor.cs index e4a312775..e4a312775 100644 --- a/Software/Visual_Studio/Tango.BL/ExtensionMethods/MediaColor.cs +++ b/Software/Visual_Studio/Tango.BL/EntitiesExtensions/MediaColor.cs diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs index b10ba8848..801d1208f 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs @@ -225,5 +225,17 @@ namespace Tango.BL.Enumerations [Description("Notifies about application termination")] ApplicationTerminated = 35, + /// <summary> + /// (Occures when a diagnostics recording has been started) + /// </summary> + [Description("Occures when a diagnostics recording has been started")] + RecordingStarted = 36, + + /// <summary> + /// (Occures when a diagnostics recording has been stopped) + /// </summary> + [Description("Occures when a diagnostics recording has been stopped")] + RecordingStopped = 37, + } } diff --git a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs index 9fc0444ea..1073a31ce 100644 --- a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs +++ b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs @@ -31,6 +31,7 @@ namespace Tango.BL /// <typeparam name="T"></typeparam> /// <seealso cref="Tango.Core.ExtendedObject" /> /// <seealso cref="Tango.BL.Entities.IObservableEntity" /> + [Serializable] public abstract class ObservableEntity<T> : ExtendedObject, IObservableEntity where T : class, IObservableEntity { private Regex regExDAL; diff --git a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj index d56324d8f..04c1b0a6b 100644 --- a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj +++ b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj @@ -97,7 +97,7 @@ <Compile Include="Enumerations\EventTypes.cs" /> <Compile Include="Enumerations\EventTypesCategories.cs" /> <Compile Include="Enumerations\EventTypesGroups.cs" /> - <Compile Include="ExtensionMethods\MediaColor.cs" /> + <Compile Include="EntitiesExtensions\MediaColor.cs" /> <Compile Include="LiquidVolume.cs" /> <Compile Include="Entities\ActionType.cs" /> <Compile Include="Entities\Address.cs" /> diff --git a/Software/Visual_Studio/Tango.BrushPicker/Converters/BrushToGradientStopsConverter.cs b/Software/Visual_Studio/Tango.BrushPicker/Converters/BrushToGradientStopsConverter.cs new file mode 100644 index 000000000..077e44562 --- /dev/null +++ b/Software/Visual_Studio/Tango.BrushPicker/Converters/BrushToGradientStopsConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; +using System.Windows.Media; + +namespace Tango.BrushPicker.Converters +{ + public class BrushToGradientStopsConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + Brush brush = value as LinearGradientBrush; + + if (brush != null) + { + return (brush as LinearGradientBrush).GradientStops; + } + + return null; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/Tango.BrushPicker/Tango.BrushPicker.csproj b/Software/Visual_Studio/Tango.BrushPicker/Tango.BrushPicker.csproj index c007f793d..2c1bae3d9 100644 --- a/Software/Visual_Studio/Tango.BrushPicker/Tango.BrushPicker.csproj +++ b/Software/Visual_Studio/Tango.BrushPicker/Tango.BrushPicker.csproj @@ -60,6 +60,7 @@ <Compile Include="..\Versioning\GlobalVersionInfo.cs"> <Link>GlobalVersionInfo.cs</Link> </Compile> + <Compile Include="Converters\BrushToGradientStopsConverter.cs" /> <Compile Include="Implementation\AlphaSelector.cs" /> <Compile Include="Implementation\BaseSelector.cs" /> <Compile Include="Implementation\BrushPicker.cs" /> @@ -85,6 +86,7 @@ <SubType>Designer</SubType> </Page> </ItemGroup> + <ItemGroup /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. diff --git a/Software/Visual_Studio/Tango.BrushPicker/Themes/Generic.xaml b/Software/Visual_Studio/Tango.BrushPicker/Themes/Generic.xaml index 5b1bcbbc3..b496be57b 100644 --- a/Software/Visual_Studio/Tango.BrushPicker/Themes/Generic.xaml +++ b/Software/Visual_Studio/Tango.BrushPicker/Themes/Generic.xaml @@ -11,8 +11,11 @@ <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:converters="clr-namespace:Tango.BrushPicker.Converters" xmlns:local="clr-namespace:Tango.BrushPicker"> + <converters:BrushToGradientStopsConverter x:Key="BrushToGradientStopsConverter" /> + <Geometry x:Key="SkewIcon">M456.021,227.816L545.590,227.816L456.021,362.171L366.452,362.171L456.021,227.816</Geometry> <Geometry x:Key="TranslateIcon">M384,289.828L384,363L457.171,363M384,363L457.171,289.828M480,267L480,310.011L435.711,267L480,267</Geometry> <Geometry x:Key="RotateIcon">F1 M 32.0034,13.0019L 35.0033,16.002L 35.0034,24.0019L 27.0033,24.002L 24.0034,21.0019L 29.5944,21.0014C 28.2209,19.4668 26.2249,18.501 24.0033,18.501C 19.8606,18.501 16.5022,21.8593 16.5022,26.002C 16.5022,28.0734 17.3418,29.9486 18.6992,31.3061L 16.2241,33.7812C 14.2332,31.7903 13.0018,29.0399 13.0018,26.0019C 13.0018,19.926 17.9274,15.0004 24.0033,15.0004C 27.1557,15.0004 29.9984,16.3263 32.0042,18.4508L 32.0034,13.0019 Z</Geometry> @@ -408,7 +411,7 @@ FocusVisualStyle="{x:Null}" ColorBox="{Binding RelativeSource={RelativeSource TemplatedParent}}"> <local:GradientStopAdder.Background> - <LinearGradientBrush GradientStops="{Binding Brush.GradientStops, RelativeSource={RelativeSource TemplatedParent}}" + <LinearGradientBrush GradientStops="{Binding Brush, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource BrushToGradientStopsConverter}}" StartPoint="0,.5" EndPoint="1,.5"/> </local:GradientStopAdder.Background> <Button.Style> diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx index fd83b6486..058977e64 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx @@ -804,6 +804,8 @@ <Property Name="START_OFFSET_PULSES" Type="int" Nullable="false" /> <Property Name="BACKING_RATE" Type="int" Nullable="false" /> <Property Name="SEGMENT_OFFSET_PULSES" Type="int" Nullable="false" /> + <Property Name="BOTTOM_BACKING_RATE" Type="int" Nullable="false" /> + <Property Name="ROTATIONS_PER_PASSAGE" Type="float" Nullable="false" /> </EntityType> <EntityType Name="SYNC_CONFIGURATIONS"> <Key> @@ -3466,6 +3468,8 @@ <Property Name="START_OFFSET_PULSES" Type="Int32" Nullable="false" /> <Property Name="BACKING_RATE" Type="Int32" Nullable="false" /> <Property Name="SEGMENT_OFFSET_PULSES" Type="Int32" Nullable="false" /> + <Property Name="BOTTOM_BACKING_RATE" Type="Int32" Nullable="false" /> + <Property Name="ROTATIONS_PER_PASSAGE" Type="Double" Nullable="false" /> <NavigationProperty Name="JOBS" Relationship="RemoteModel.FK_JOBS_SPOOL_TYPES" FromRole="SPOOL_TYPES" ToRole="JOB" /> </EntityType> <EntityType Name="SYNC_CONFIGURATIONS"> @@ -5357,6 +5361,8 @@ <EntitySetMapping Name="SPOOL_TYPES"> <EntityTypeMapping TypeName="RemoteModel.SPOOL_TYPES"> <MappingFragment StoreEntitySet="SPOOL_TYPES"> + <ScalarProperty Name="ROTATIONS_PER_PASSAGE" ColumnName="ROTATIONS_PER_PASSAGE" /> + <ScalarProperty Name="BOTTOM_BACKING_RATE" ColumnName="BOTTOM_BACKING_RATE" /> <ScalarProperty Name="SEGMENT_OFFSET_PULSES" ColumnName="SEGMENT_OFFSET_PULSES" /> <ScalarProperty Name="BACKING_RATE" ColumnName="BACKING_RATE" /> <ScalarProperty Name="START_OFFSET_PULSES" ColumnName="START_OFFSET_PULSES" /> diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram index 305f164a4..cc3421bd6 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram @@ -5,74 +5,74 @@ <!-- Diagram content (shape and connector positions) --> <edmx:Diagrams> <Diagram DiagramId="f9ae01d708754bbd997add25a4bacc79" Name="Diagram1"> - <EntityTypeShape EntityType="RemoteModel.ACTION_TYPES" Width="1.5" PointX="3" PointY="8" /> - <EntityTypeShape EntityType="RemoteModel.ADDRESS" Width="1.5" PointX="1.5" PointY="52" /> - <EntityTypeShape EntityType="RemoteModel.APPLICATION_DISPLAY_PANEL_VERSIONS" Width="1.5" PointX="1.5" PointY="76.875" /> - <EntityTypeShape EntityType="RemoteModel.APPLICATION_FIRMWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="56.375" /> - <EntityTypeShape EntityType="RemoteModel.APPLICATION_OS_VERSIONS" Width="1.5" PointX="1.5" PointY="79.75" /> - <EntityTypeShape EntityType="RemoteModel.APPLICATION_VERSIONS" Width="1.5" PointX="1.5" PointY="82.75" /> - <EntityTypeShape EntityType="RemoteModel.BRUSH_STOPS" Width="1.5" PointX="10.75" PointY="18.75" /> - <EntityTypeShape EntityType="RemoteModel.CARTRIDGE_TYPES" Width="1.5" PointX="8" PointY="45.875" /> - <EntityTypeShape EntityType="RemoteModel.CAT" Width="1.5" PointX="8.25" PointY="16" /> - <EntityTypeShape EntityType="RemoteModel.CCT" Width="1.5" PointX="5.25" PointY="20" /> - <EntityTypeShape EntityType="RemoteModel.COLOR_CATALOGS" Width="1.5" PointX="8.5" PointY="38.125" /> - <EntityTypeShape EntityType="RemoteModel.COLOR_SPACES" Width="1.5" PointX="6.25" PointY="39.875" /> - <EntityTypeShape EntityType="RemoteModel.CONFIGURATION" Width="1.5" PointX="0.75" PointY="63.875" /> - <EntityTypeShape EntityType="RemoteModel.CONTACT" Width="1.5" PointX="1.5" PointY="42.375" /> - <EntityTypeShape EntityType="RemoteModel.DISPENSER_TYPES" Width="1.5" PointX="8" PointY="65" /> - <EntityTypeShape EntityType="RemoteModel.EMBEDDED_FIRMWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="73.875" /> - <EntityTypeShape EntityType="RemoteModel.EMBEDDED_SOFTWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="71" /> - <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES" Width="1.5" PointX="3" PointY="3.25" /> + <EntityTypeShape EntityType="RemoteModel.ACTION_TYPES" Width="1.5" PointX="3" PointY="94.875" /> + <EntityTypeShape EntityType="RemoteModel.ADDRESS" Width="1.5" PointX="1.5" PointY="40.25" /> + <EntityTypeShape EntityType="RemoteModel.APPLICATION_DISPLAY_PANEL_VERSIONS" Width="1.5" PointX="1.5" PointY="70.75" /> + <EntityTypeShape EntityType="RemoteModel.APPLICATION_FIRMWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="76.625" /> + <EntityTypeShape EntityType="RemoteModel.APPLICATION_OS_VERSIONS" Width="1.5" PointX="1.5" PointY="57" /> + <EntityTypeShape EntityType="RemoteModel.APPLICATION_VERSIONS" Width="1.5" PointX="1.5" PointY="79.625" /> + <EntityTypeShape EntityType="RemoteModel.BRUSH_STOPS" Width="1.5" PointX="10.75" PointY="10.875" /> + <EntityTypeShape EntityType="RemoteModel.CARTRIDGE_TYPES" Width="1.5" PointX="6" PointY="42.375" /> + <EntityTypeShape EntityType="RemoteModel.CAT" Width="1.5" PointX="8.25" PointY="17" /> + <EntityTypeShape EntityType="RemoteModel.CCT" Width="1.5" PointX="5.25" PointY="28.25" /> + <EntityTypeShape EntityType="RemoteModel.COLOR_CATALOGS" Width="1.5" PointX="8.5" PointY="2.25" /> + <EntityTypeShape EntityType="RemoteModel.COLOR_SPACES" Width="1.5" PointX="6.25" PointY="4" /> + <EntityTypeShape EntityType="RemoteModel.CONFIGURATION" Width="1.5" PointX="0.75" PointY="64.5" /> + <EntityTypeShape EntityType="RemoteModel.CONTACT" Width="1.5" PointX="1.5" PointY="52.625" /> + <EntityTypeShape EntityType="RemoteModel.DISPENSER_TYPES" Width="1.5" PointX="6" PointY="45.375" /> + <EntityTypeShape EntityType="RemoteModel.EMBEDDED_FIRMWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="73.75" /> + <EntityTypeShape EntityType="RemoteModel.EMBEDDED_SOFTWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="59.875" /> + <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES" Width="1.5" PointX="3" PointY="4.25" /> <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES_ACTIONS" Width="1.5" PointX="5.25" PointY="0.75" /> - <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES_CATEGORIES" Width="1.5" PointX="0.75" PointY="1.125" /> - <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES_GROUPS" Width="1.5" PointX="0.75" PointY="5" /> - <EntityTypeShape EntityType="RemoteModel.FIBER_SHAPES" Width="1.5" PointX="0.75" PointY="26" /> - <EntityTypeShape EntityType="RemoteModel.FIBER_SYNTHS" Width="1.5" PointX="0.75" PointY="11.875" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_DANCER_TYPES" Width="1.5" PointX="4.5" PointY="52.625" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_DANCERS" Width="1.5" PointX="6.75" PointY="59.25" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_MOTOR_TYPES" Width="1.5" PointX="1.5" PointY="86.625" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_MOTORS" Width="1.5" PointX="3.75" PointY="57.25" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_PID_CONTROL_TYPES" Width="1.5" PointX="7.5" PointY="52.625" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_PID_CONTROLS" Width="1.5" PointX="9.75" PointY="58.125" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="59.375" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_WINDER_TYPES" Width="1.5" PointX="3.5" PointY="90.625" /> - <EntityTypeShape EntityType="RemoteModel.HARDWARE_WINDERS" Width="1.5" PointX="5.75" PointY="63.5" /> - <EntityTypeShape EntityType="RemoteModel.IDS_PACK_FORMULAS" Width="1.5" PointX="8" PointY="27.625" /> - <EntityTypeShape EntityType="RemoteModel.IDS_PACKS" Width="1.5" PointX="10.25" PointY="32.5" /> - <EntityTypeShape EntityType="RemoteModel.JOB_RUNS" Width="1.5" PointX="7.5" PointY="8.5" /> - <EntityTypeShape EntityType="RemoteModel.JOB" Width="1.5" PointX="5.25" PointY="12.375" /> - <EntityTypeShape EntityType="RemoteModel.LINEAR_MASS_DENSITY_UNITS" Width="1.5" PointX="0.75" PointY="23.125" /> - <EntityTypeShape EntityType="RemoteModel.LIQUID_TYPES" Width="1.5" PointX="6" PointY="4" /> - <EntityTypeShape EntityType="RemoteModel.LIQUID_TYPES_RMLS" Width="1.5" PointX="8.25" PointY="12.25" /> - <EntityTypeShape EntityType="RemoteModel.MACHINE_STUDIO_VERSIONS" Width="1.5" PointX="5.25" PointY="28.625" /> - <EntityTypeShape EntityType="RemoteModel.MACHINE_VERSIONS" Width="1.5" PointX="0.75" PointY="32.75" /> - <EntityTypeShape EntityType="RemoteModel.MACHINE" Width="1.5" PointX="3" PointY="46.625" /> - <EntityTypeShape EntityType="RemoteModel.MACHINES_CONFIGURATIONS" Width="1.5" PointX="6.25" PointY="55.75" /> - <EntityTypeShape EntityType="RemoteModel.MACHINES_EVENTS" Width="1.5" PointX="5.25" PointY="43.25" /> - <EntityTypeShape EntityType="RemoteModel.MEDIA_COLORS" Width="1.5" PointX="0.75" PointY="19.75" /> - <EntityTypeShape EntityType="RemoteModel.MEDIA_CONDITIONS" Width="1.5" PointX="0.75" PointY="16.375" /> - <EntityTypeShape EntityType="RemoteModel.MEDIA_MATERIALS" Width="1.5" PointX="0.75" PointY="8.875" /> - <EntityTypeShape EntityType="RemoteModel.MEDIA_PURPOSES" Width="1.5" PointX="0.75" PointY="28.875" /> - <EntityTypeShape EntityType="RemoteModel.MID_TANK_TYPES" Width="1.5" PointX="8" PointY="48.875" /> - <EntityTypeShape EntityType="RemoteModel.ORGANIZATION" Width="1.5" PointX="0.75" PointY="38.375" /> - <EntityTypeShape EntityType="RemoteModel.PERMISSION" Width="1.5" PointX="9" PointY="0.75" /> - <EntityTypeShape EntityType="RemoteModel.PROCESS_PARAMETERS_TABLES" Width="1.5" PointX="7.5" PointY="31.25" /> - <EntityTypeShape EntityType="RemoteModel.PROCESS_PARAMETERS_TABLES_GROUPS" Width="1.5" PointX="5.25" PointY="32.5" /> - <EntityTypeShape EntityType="RemoteModel.RML" Width="1.5" PointX="3" PointY="13.625" /> - <EntityTypeShape EntityType="RemoteModel.ROLE" Width="1.5" PointX="9" PointY="4.625" /> - <EntityTypeShape EntityType="RemoteModel.ROLES_PERMISSIONS" Width="1.5" PointX="11.25" PointY="4.75" /> - <EntityTypeShape EntityType="RemoteModel.SEGMENT" Width="1.5" PointX="7.5" PointY="20.75" /> - <EntityTypeShape EntityType="RemoteModel.SPOOL_TYPES" Width="1.5" PointX="3" PointY="63.625" /> - <EntityTypeShape EntityType="RemoteModel.SYNC_CONFIGURATIONS" Width="1.5" PointX="9.75" PointY="8.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_CONTROLLERS" Width="1.5" PointX="10.75" PointY="11.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_DISPENSERS" Width="1.5" PointX="11.75" PointY="8.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_IOS" Width="1.5" PointX="12.75" PointY="11.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_MONITORS" Width="1.5" PointX="13.75" PointY="2.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_MOTORS" Width="1.5" PointX="13.75" PointY="7.375" /> - <EntityTypeShape EntityType="RemoteModel.TECH_VALVES" Width="1.5" PointX="10.75" PointY="15.375" /> - <EntityTypeShape EntityType="RemoteModel.USER" Width="1.5" PointX="3" PointY="36.875" /> - <EntityTypeShape EntityType="RemoteModel.USERS_ROLES" Width="1.5" PointX="11.25" PointY="37.625" /> - <EntityTypeShape EntityType="RemoteModel.WINDING_METHODS" Width="1.5" PointX="3" PointY="67.75" /> + <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES_CATEGORIES" Width="1.5" PointX="0.75" PointY="6" /> + <EntityTypeShape EntityType="RemoteModel.EVENT_TYPES_GROUPS" Width="1.5" PointX="0.75" PointY="2.125" /> + <EntityTypeShape EntityType="RemoteModel.FIBER_SHAPES" Width="1.5" PointX="0.75" PointY="17.5" /> + <EntityTypeShape EntityType="RemoteModel.FIBER_SYNTHS" Width="1.5" PointX="0.75" PointY="20.875" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_DANCER_TYPES" Width="1.5" PointX="4.5" PointY="77.75" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_DANCERS" Width="1.5" PointX="6.75" PointY="78.375" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_MOTOR_TYPES" Width="1.5" PointX="4.5" PointY="91.75" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_MOTORS" Width="1.5" PointX="6.75" PointY="86.375" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_PID_CONTROL_TYPES" Width="1.5" PointX="1.5" PointY="86.75" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_PID_CONTROLS" Width="1.5" PointX="3.75" PointY="81.25" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_VERSIONS" Width="1.5" PointX="1.5" PointY="82.5" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_WINDER_TYPES" Width="1.5" PointX="4.5" PointY="87.75" /> + <EntityTypeShape EntityType="RemoteModel.HARDWARE_WINDERS" Width="1.5" PointX="6.75" PointY="82.625" /> + <EntityTypeShape EntityType="RemoteModel.IDS_PACK_FORMULAS" Width="1.5" PointX="6" PointY="51" /> + <EntityTypeShape EntityType="RemoteModel.IDS_PACKS" Width="1.5" PointX="8.25" PointY="43.375" /> + <EntityTypeShape EntityType="RemoteModel.JOB_RUNS" Width="1.5" PointX="7.5" PointY="9.5" /> + <EntityTypeShape EntityType="RemoteModel.JOB" Width="1.5" PointX="5.25" PointY="9.375" /> + <EntityTypeShape EntityType="RemoteModel.LINEAR_MASS_DENSITY_UNITS" Width="1.5" PointX="0.75" PointY="26.625" /> + <EntityTypeShape EntityType="RemoteModel.LIQUID_TYPES" Width="1.5" PointX="6" PointY="21.125" /> + <EntityTypeShape EntityType="RemoteModel.LIQUID_TYPES_RMLS" Width="1.5" PointX="5.25" PointY="17.25" /> + <EntityTypeShape EntityType="RemoteModel.MACHINE_STUDIO_VERSIONS" Width="1.5" PointX="5.25" PointY="65.125" /> + <EntityTypeShape EntityType="RemoteModel.MACHINE_VERSIONS" Width="1.5" PointX="0.75" PointY="44.625" /> + <EntityTypeShape EntityType="RemoteModel.MACHINE" Width="1.5" PointX="3" PointY="47.125" /> + <EntityTypeShape EntityType="RemoteModel.MACHINES_CONFIGURATIONS" Width="1.5" PointX="5.25" PointY="57.375" /> + <EntityTypeShape EntityType="RemoteModel.MACHINES_EVENTS" Width="1.5" PointX="5.25" PointY="38.25" /> + <EntityTypeShape EntityType="RemoteModel.MEDIA_COLORS" Width="1.5" PointX="0.75" PointY="29.625" /> + <EntityTypeShape EntityType="RemoteModel.MEDIA_CONDITIONS" Width="1.5" PointX="0.75" PointY="10" /> + <EntityTypeShape EntityType="RemoteModel.MEDIA_MATERIALS" Width="1.5" PointX="0.75" PointY="23.75" /> + <EntityTypeShape EntityType="RemoteModel.MEDIA_PURPOSES" Width="1.5" PointX="0.75" PointY="12.875" /> + <EntityTypeShape EntityType="RemoteModel.MID_TANK_TYPES" Width="1.5" PointX="6" PointY="61.25" /> + <EntityTypeShape EntityType="RemoteModel.ORGANIZATION" Width="1.5" PointX="0.75" PointY="35.625" /> + <EntityTypeShape EntityType="RemoteModel.PERMISSION" Width="1.5" PointX="6" PointY="73.25" /> + <EntityTypeShape EntityType="RemoteModel.PROCESS_PARAMETERS_TABLES" Width="1.5" PointX="7.5" PointY="32.375" /> + <EntityTypeShape EntityType="RemoteModel.PROCESS_PARAMETERS_TABLES_GROUPS" Width="1.5" PointX="5.25" PointY="33.625" /> + <EntityTypeShape EntityType="RemoteModel.RML" Width="1.5" PointX="3" PointY="14.75" /> + <EntityTypeShape EntityType="RemoteModel.ROLE" Width="1.5" PointX="6" PointY="69.125" /> + <EntityTypeShape EntityType="RemoteModel.ROLES_PERMISSIONS" Width="1.5" PointX="8.25" PointY="69.25" /> + <EntityTypeShape EntityType="RemoteModel.SEGMENT" Width="1.5" PointX="7.5" PointY="12.875" /> + <EntityTypeShape EntityType="RemoteModel.SPOOL_TYPES" Width="1.5" PointX="3" PointY="23.75" /> + <EntityTypeShape EntityType="RemoteModel.SYNC_CONFIGURATIONS" Width="1.5" PointX="10.75" PointY="3.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_CONTROLLERS" Width="1.5" PointX="10.75" PointY="6.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_DISPENSERS" Width="1.5" PointX="12.75" PointY="3.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_IOS" Width="1.5" PointX="12.75" PointY="6.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_MONITORS" Width="1.5" PointX="12.75" PointY="10.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_MOTORS" Width="1.5" PointX="12.75" PointY="15.5" /> + <EntityTypeShape EntityType="RemoteModel.TECH_VALVES" Width="1.5" PointX="14.75" PointY="3.5" /> + <EntityTypeShape EntityType="RemoteModel.USER" Width="1.5" PointX="3" PointY="28.25" /> + <EntityTypeShape EntityType="RemoteModel.USERS_ROLES" Width="1.5" PointX="8.25" PointY="28.125" /> + <EntityTypeShape EntityType="RemoteModel.WINDING_METHODS" Width="1.5" PointX="3" PointY="10.625" /> <AssociationConnector Association="RemoteModel.FK_EVENTS_ACTIONS_ACTIONS" /> <AssociationConnector Association="RemoteModel.FK_ORGANIZATIONS_ADDRESSES" /> <AssociationConnector Association="RemoteModel.FK_USERS_ADDRESSES" /> diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs index 258e4ef89..e96684109 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs @@ -31,6 +31,8 @@ namespace Tango.DAL.Remote.DB public int START_OFFSET_PULSES { get; set; } public int BACKING_RATE { get; set; } public int SEGMENT_OFFSET_PULSES { get; set; } + public int BOTTOM_BACKING_RATE { get; set; } + public double ROTATIONS_PER_PASSAGE { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection<JOB> JOBS { get; set; } diff --git a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileEvent.cs b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileEvent.cs new file mode 100644 index 000000000..a6132c6d3 --- /dev/null +++ b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileEvent.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL; +using Tango.BL.Entities; + +namespace Tango.Integration.Diagnostics +{ + [Serializable] + public class DiagnosticsFileEvent + { + public DateTime DateTime { get; set; } + + public String EventTypeGuid { get; set; } + + public String HostName { get; set; } + + public String UserGuid { get; set; } + + public String MachineGuid { get; set; } + + public String Description { get; set; } + + public DiagnosticsFileEvent() + { + + } + + public DiagnosticsFileEvent(MachinesEvent ev) : this() + { + DateTime = ev.DateTime; + EventTypeGuid = ev.EventType.Guid; + HostName = ev.HostName; + UserGuid = ev.UserGuid; + MachineGuid = ev.MachineGuid; + Description = ev.Description; + } + + public MachinesEvent ToMachineEvent() + { + MachinesEvent ev = new MachinesEvent(); + ev.DateTime = DateTime; + ev.EventType = ObservablesEntitiesAdapter.Instance.EventTypes.SingleOrDefault(x => x.Guid == EventTypeGuid); + ev.Machine = ObservablesEntitiesAdapter.Instance.Machines.SingleOrDefault(x => x.Guid == MachineGuid); + ev.User = ObservablesEntitiesAdapter.Instance.Users.SingleOrDefault(x => x.Guid == UserGuid); + ev.Description = Description; + ev.HostName = HostName; + + return ev; + } + } +} diff --git a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFilePlayer.cs b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFilePlayer.cs index 1900e49e1..7b3cf9859 100644 --- a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFilePlayer.cs +++ b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFilePlayer.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; +using Tango.BL.Entities; using Tango.Core; using Tango.Logging; using Tango.PMR.Diagnostics; @@ -113,6 +114,16 @@ namespace Tango.Integration.Diagnostics private set { _totalFrames = value; RaisePropertyChangedAuto(); } } + private List<MachinesEvent> _machineEvents; + /// <summary> + /// Gets or sets the machine events. + /// </summary> + public List<MachinesEvent> MachineEvents + { + get { return _machineEvents; } + set { _machineEvents = value; RaisePropertyChangedAuto(); } + } + #endregion #region Public Methods @@ -149,6 +160,11 @@ namespace Tango.Integration.Diagnostics TotalFrames = _timeCodeChannel.Frames.Count; TotalTime = TimeSpan.FromMilliseconds(_timeCodeChannel.Frames.Last().Milliseconds); + if (_timeCodeChannel.Events != null) + { + MachineEvents = _timeCodeChannel.Events.Select(x => x.ToMachineEvent()).ToList(); + } + IsLoaded = true; } catch (Exception ex) diff --git a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileRecorder.cs b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileRecorder.cs index 5569cc227..f5c420217 100644 --- a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileRecorder.cs +++ b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsFileRecorder.cs @@ -9,6 +9,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Media.Imaging; +using Tango.BL.Entities; using Tango.Core; using Tango.Core.Helpers; using Tango.Logging; @@ -31,6 +32,7 @@ namespace Tango.Integration.Diagnostics private FileStream _dataFileStream; //Holds the temporary recording file stream. private TaskCompletionSource<object> _stopCompletionSource; //Holds the "Stop" async method completion source. private DiagnosticsTimeCodeChannel _timeCodeChannel; //Holds the diagnostics time code channel. + private List<DiagnosticsFileEvent> _events; private Stopwatch _stopWatch; //Holds the stop watch for keeping tracks over frames time stamps. private DateTime _lastVideoPush; private List<BitmapSource> _videoFrames; @@ -139,6 +141,7 @@ namespace Tango.Integration.Diagnostics } _tempDataFileName = PathHelper.GetTempFilePath(); _frames = new ConcurrentQueue<DataFileFrame>(); + _events = new List<DiagnosticsFileEvent>(); _timeCodeChannel = new DiagnosticsTimeCodeChannel(); TotalDataBytesRecorded = 0; TotalFramesRecorded = 0; @@ -173,6 +176,15 @@ namespace Tango.Integration.Diagnostics } /// <summary> + /// Writes a machine event to the diagnostics file. + /// </summary> + /// <param name="data">The data.</param> + public void Write(MachinesEvent ev) + { + _events.Add(new DiagnosticsFileEvent(ev)); + } + + /// <summary> /// Writes a diagnostics packet to the recording. /// </summary> /// <param name="data">The data.</param> @@ -247,6 +259,7 @@ namespace Tango.Integration.Diagnostics { BinaryDataSerializer serializer = new BinaryDataSerializer(); + _timeCodeChannel.Events = _events; byte[] timeCodeData = serializer.SerializeToBytes(_timeCodeChannel); using (FileStream fs = new FileStream(fileName, FileMode.Create)) diff --git a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsTimeCodeChannel.cs b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsTimeCodeChannel.cs index 4006844ec..242a9709f 100644 --- a/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsTimeCodeChannel.cs +++ b/Software/Visual_Studio/Tango.Integration/Diagnostics/DiagnosticsTimeCodeChannel.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.BL.Entities; namespace Tango.Integration.Diagnostics { @@ -18,12 +19,15 @@ namespace Tango.Integration.Diagnostics /// </summary> public List<DiagnosticsTimeCodeChannelFrame> Frames { get; set; } + public List<DiagnosticsFileEvent> Events { get; set; } + /// <summary> /// Initializes a new instance of the <see cref="DiagnosticsTimeCodeChannel"/> class. /// </summary> public DiagnosticsTimeCodeChannel() { Frames = new List<DiagnosticsTimeCodeChannelFrame>(); + Events = new List<DiagnosticsFileEvent>(); } } } diff --git a/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj b/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj index 8f4b9fc8e..0f6da30af 100644 --- a/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj +++ b/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj @@ -76,6 +76,7 @@ <Compile Include="..\Versioning\GlobalVersionInfo.cs"> <Link>GlobalVersionInfo.cs</Link> </Compile> + <Compile Include="Diagnostics\DiagnosticsFileEvent.cs" /> <Compile Include="Diagnostics\DiagnosticsFilePlayer.cs" /> <Compile Include="Diagnostics\DiagnosticsFileRecorder.cs" /> <Compile Include="Diagnostics\DiagnosticsTimeCodeChannel.cs" /> diff --git a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs index f1adb193b..f20298826 100644 --- a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs +++ b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs @@ -13,7 +13,7 @@ namespace Tango.PMR /// <summary> /// Contains PMR extension methods. /// </summary> - public static class ExtensionMethods + public static class ExtensionMethods { /// <summary> /// Gets the protobuf <see cref="OriginalNameAttribute"/> attribute value from the message type. diff --git a/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetRequest.cs b/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetRequest.cs new file mode 100644 index 000000000..0e8dddeb9 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetRequest.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SystemResetRequest.proto +#pragma warning disable 1591, 0612, 3021 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Tango.PMR.Hardware { + + /// <summary>Holder for reflection information generated from SystemResetRequest.proto</summary> + public static partial class SystemResetRequestReflection { + + #region Descriptor + /// <summary>File descriptor for SystemResetRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SystemResetRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhTeXN0ZW1SZXNldFJlcXVlc3QucHJvdG8SElRhbmdvLlBNUi5IYXJkd2Fy", + "ZSIUChJTeXN0ZW1SZXNldFJlcXVlc3RCHgocY29tLnR3aW5lLnRhbmdvLnBt", + "ci5oYXJkd2FyZWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Hardware.SystemResetRequest), global::Tango.PMR.Hardware.SystemResetRequest.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SystemResetRequest : pb::IMessage<SystemResetRequest> { + private static readonly pb::MessageParser<SystemResetRequest> _parser = new pb::MessageParser<SystemResetRequest>(() => new SystemResetRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<SystemResetRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Hardware.SystemResetRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetRequest(SystemResetRequest other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetRequest Clone() { + return new SystemResetRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SystemResetRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SystemResetRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(SystemResetRequest other) { + if (other == null) { + return; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetResponse.cs b/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetResponse.cs new file mode 100644 index 000000000..cf300a5d8 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Hardware/SystemResetResponse.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SystemResetResponse.proto +#pragma warning disable 1591, 0612, 3021 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Tango.PMR.Hardware { + + /// <summary>Holder for reflection information generated from SystemResetResponse.proto</summary> + public static partial class SystemResetResponseReflection { + + #region Descriptor + /// <summary>File descriptor for SystemResetResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SystemResetResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlTeXN0ZW1SZXNldFJlc3BvbnNlLnByb3RvEhJUYW5nby5QTVIuSGFyZHdh", + "cmUiFQoTU3lzdGVtUmVzZXRSZXNwb25zZUIeChxjb20udHdpbmUudGFuZ28u", + "cG1yLmhhcmR3YXJlYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Hardware.SystemResetResponse), global::Tango.PMR.Hardware.SystemResetResponse.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SystemResetResponse : pb::IMessage<SystemResetResponse> { + private static readonly pb::MessageParser<SystemResetResponse> _parser = new pb::MessageParser<SystemResetResponse>(() => new SystemResetResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<SystemResetResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Hardware.SystemResetResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetResponse(SystemResetResponse other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SystemResetResponse Clone() { + return new SystemResetResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SystemResetResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SystemResetResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(SystemResetResponse other) { + if (other == null) { + return; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs index 6525e691f..afe846303 100644 --- a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs +++ b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs @@ -23,16 +23,17 @@ namespace Tango.PMR.Printing { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg5Kb2JTcG9vbC5wcm90bxISVGFuZ28uUE1SLlByaW50aW5nGhJKb2JTcG9v", - "bFR5cGUucHJvdG8iwQEKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo", + "bFR5cGUucHJvdG8i+QEKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo", "DjIgLlRhbmdvLlBNUi5QcmludGluZy5Kb2JTcG9vbFR5cGUSDgoGTGVuZ3Ro", "GAIgASgBEg4KBldlaWdodBgDIAEoARIQCghEaWFtZXRlchgEIAEoARIZChFT", "dGFydE9mZnNldFB1bHNlcxgFIAEoBRITCgtCYWNraW5nUmF0ZRgGIAEoBRIb", - "ChNTZWdtZW50T2Zmc2V0UHVsc2VzGAcgASgFQh4KHGNvbS50d2luZS50YW5n", - "by5wbXIucHJpbnRpbmdiBnByb3RvMw==")); + "ChNTZWdtZW50T2Zmc2V0UHVsc2VzGAcgASgFEhkKEUJvdHRvbUJhY2tpbmdS", + "YXRlGAggASgFEhsKE1JvdGF0aW9uc1BlclBhc3NhZ2UYCSABKAFCHgocY29t", + "LnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSpoolTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobSpool), global::Tango.PMR.Printing.JobSpool.Parser, new[]{ "JobSpoolType", "Length", "Weight", "Diameter", "StartOffsetPulses", "BackingRate", "SegmentOffsetPulses" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobSpool), global::Tango.PMR.Printing.JobSpool.Parser, new[]{ "JobSpoolType", "Length", "Weight", "Diameter", "StartOffsetPulses", "BackingRate", "SegmentOffsetPulses", "BottomBackingRate", "RotationsPerPassage" }, null, null, null) })); } #endregion @@ -70,6 +71,8 @@ namespace Tango.PMR.Printing { startOffsetPulses_ = other.startOffsetPulses_; backingRate_ = other.backingRate_; segmentOffsetPulses_ = other.segmentOffsetPulses_; + bottomBackingRate_ = other.bottomBackingRate_; + rotationsPerPassage_ = other.rotationsPerPassage_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -154,6 +157,28 @@ namespace Tango.PMR.Printing { } } + /// <summary>Field number for the "BottomBackingRate" field.</summary> + public const int BottomBackingRateFieldNumber = 8; + private int bottomBackingRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int BottomBackingRate { + get { return bottomBackingRate_; } + set { + bottomBackingRate_ = value; + } + } + + /// <summary>Field number for the "RotationsPerPassage" field.</summary> + public const int RotationsPerPassageFieldNumber = 9; + private double rotationsPerPassage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public double RotationsPerPassage { + get { return rotationsPerPassage_; } + set { + rotationsPerPassage_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as JobSpool); @@ -174,6 +199,8 @@ namespace Tango.PMR.Printing { if (StartOffsetPulses != other.StartOffsetPulses) return false; if (BackingRate != other.BackingRate) return false; if (SegmentOffsetPulses != other.SegmentOffsetPulses) return false; + if (BottomBackingRate != other.BottomBackingRate) return false; + if (RotationsPerPassage != other.RotationsPerPassage) return false; return true; } @@ -187,6 +214,8 @@ namespace Tango.PMR.Printing { if (StartOffsetPulses != 0) hash ^= StartOffsetPulses.GetHashCode(); if (BackingRate != 0) hash ^= BackingRate.GetHashCode(); if (SegmentOffsetPulses != 0) hash ^= SegmentOffsetPulses.GetHashCode(); + if (BottomBackingRate != 0) hash ^= BottomBackingRate.GetHashCode(); + if (RotationsPerPassage != 0D) hash ^= RotationsPerPassage.GetHashCode(); return hash; } @@ -225,6 +254,14 @@ namespace Tango.PMR.Printing { output.WriteRawTag(56); output.WriteInt32(SegmentOffsetPulses); } + if (BottomBackingRate != 0) { + output.WriteRawTag(64); + output.WriteInt32(BottomBackingRate); + } + if (RotationsPerPassage != 0D) { + output.WriteRawTag(73); + output.WriteDouble(RotationsPerPassage); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -251,6 +288,12 @@ namespace Tango.PMR.Printing { if (SegmentOffsetPulses != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SegmentOffsetPulses); } + if (BottomBackingRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BottomBackingRate); + } + if (RotationsPerPassage != 0D) { + size += 1 + 8; + } return size; } @@ -280,6 +323,12 @@ namespace Tango.PMR.Printing { if (other.SegmentOffsetPulses != 0) { SegmentOffsetPulses = other.SegmentOffsetPulses; } + if (other.BottomBackingRate != 0) { + BottomBackingRate = other.BottomBackingRate; + } + if (other.RotationsPerPassage != 0D) { + RotationsPerPassage = other.RotationsPerPassage; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -318,6 +367,14 @@ namespace Tango.PMR.Printing { SegmentOffsetPulses = input.ReadInt32(); break; } + case 64: { + BottomBackingRate = input.ReadInt32(); + break; + } + case 73: { + RotationsPerPassage = input.ReadDouble(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeatingTestPollResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHeatingTestPollResponse.cs index 33b500c98..8aef8b020 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeatingTestPollResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubHeatingTestPollResponse.cs @@ -23,16 +23,16 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiFTdHViSGVhdGluZ1Rlc3RQb2xsUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBN", - "Ui5TdHVicyK+AQobU3R1YkhlYXRpbmdUZXN0UG9sbFJlc3BvbnNlEhUKDUhl", + "Ui5TdHVicyLTAQobU3R1YkhlYXRpbmdUZXN0UG9sbFJlc3BvbnNlEhUKDUhl", "YXRlckdyb3VwSWQYASABKA0SEQoJWm9uZTFUZW1wGAIgASgNEhEKCVpvbmUy", "VGVtcBgDIAEoDRIVCg1IZWF0ZXIxQWN0aXZlGAQgASgIEhUKDUhlYXRlcjJB", "Y3RpdmUYBSABKAgSGQoRSGVhdGVyMVBlcmNlbnRhZ2UYBiABKA0SGQoRSGVh", - "dGVyMlBlcmNlbnRhZ2UYByABKA1CGwoZY29tLnR3aW5lLnRhbmdvLnBtci5z", - "dHVic2IGcHJvdG8z")); + "dGVyMlBlcmNlbnRhZ2UYByABKA0SEwoLSW5mb01lc3NhZ2UYCCABKAlCGwoZ", + "Y29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHeatingTestPollResponse), global::Tango.PMR.Stubs.StubHeatingTestPollResponse.Parser, new[]{ "HeaterGroupId", "Zone1Temp", "Zone2Temp", "Heater1Active", "Heater2Active", "Heater1Percentage", "Heater2Percentage" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHeatingTestPollResponse), global::Tango.PMR.Stubs.StubHeatingTestPollResponse.Parser, new[]{ "HeaterGroupId", "Zone1Temp", "Zone2Temp", "Heater1Active", "Heater2Active", "Heater1Percentage", "Heater2Percentage", "InfoMessage" }, null, null, null) })); } #endregion @@ -70,6 +70,7 @@ namespace Tango.PMR.Stubs { heater2Active_ = other.heater2Active_; heater1Percentage_ = other.heater1Percentage_; heater2Percentage_ = other.heater2Percentage_; + infoMessage_ = other.infoMessage_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -157,6 +158,17 @@ namespace Tango.PMR.Stubs { } } + /// <summary>Field number for the "InfoMessage" field.</summary> + public const int InfoMessageFieldNumber = 8; + private string infoMessage_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string InfoMessage { + get { return infoMessage_; } + set { + infoMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubHeatingTestPollResponse); @@ -177,6 +189,7 @@ namespace Tango.PMR.Stubs { if (Heater2Active != other.Heater2Active) return false; if (Heater1Percentage != other.Heater1Percentage) return false; if (Heater2Percentage != other.Heater2Percentage) return false; + if (InfoMessage != other.InfoMessage) return false; return true; } @@ -190,6 +203,7 @@ namespace Tango.PMR.Stubs { if (Heater2Active != false) hash ^= Heater2Active.GetHashCode(); if (Heater1Percentage != 0) hash ^= Heater1Percentage.GetHashCode(); if (Heater2Percentage != 0) hash ^= Heater2Percentage.GetHashCode(); + if (InfoMessage.Length != 0) hash ^= InfoMessage.GetHashCode(); return hash; } @@ -228,6 +242,10 @@ namespace Tango.PMR.Stubs { output.WriteRawTag(56); output.WriteUInt32(Heater2Percentage); } + if (InfoMessage.Length != 0) { + output.WriteRawTag(66); + output.WriteString(InfoMessage); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -254,6 +272,9 @@ namespace Tango.PMR.Stubs { if (Heater2Percentage != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Heater2Percentage); } + if (InfoMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InfoMessage); + } return size; } @@ -283,6 +304,9 @@ namespace Tango.PMR.Stubs { if (other.Heater2Percentage != 0) { Heater2Percentage = other.Heater2Percentage; } + if (other.InfoMessage.Length != 0) { + InfoMessage = other.InfoMessage; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -321,6 +345,10 @@ namespace Tango.PMR.Stubs { Heater2Percentage = input.ReadUInt32(); break; } + case 66: { + InfoMessage = input.ReadString(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj index d3299baa1..930fd8819 100644 --- a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj +++ b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj @@ -116,6 +116,8 @@ <Compile Include="Hardware\HardwarePidControlType.cs" /> <Compile Include="Hardware\HardwareWinder.cs" /> <Compile Include="Hardware\HardwareWinderType.cs" /> + <Compile Include="Hardware\SystemResetRequest.cs" /> + <Compile Include="Hardware\SystemResetResponse.cs" /> <Compile Include="Hardware\UploadHardwareConfigurationRequest.cs" /> <Compile Include="Hardware\UploadHardwareConfigurationResponse.cs" /> <Compile Include="Integration\DirectSynchronizationRequest.cs" /> diff --git a/Software/Visual_Studio/Tango.Settings/StubsUI.cs b/Software/Visual_Studio/Tango.Settings/StubsUI.cs index 4a5ff6266..9944ffc11 100644 --- a/Software/Visual_Studio/Tango.Settings/StubsUI.cs +++ b/Software/Visual_Studio/Tango.Settings/StubsUI.cs @@ -17,15 +17,26 @@ namespace Tango.Settings public String SelectedPort { get; set; } /// <summary> + /// Gets or sets the baud rate. + /// </summary> + public int BaudRate { get; set; } + + /// <summary> /// Gets or sets the last tabs. /// </summary> public List<String> LastTabs { get; set; } /// <summary> + /// Gets or sets a value indicating whether [automatic log response]. + /// </summary> + public bool AutoLogResponse { get; set; } + + /// <summary> /// Initializes a new instance of the <see cref="StubsUI"/> class. /// </summary> public StubsUI() { + BaudRate = 9600; LastTabs = new List<string>(); } } diff --git a/Software/Visual_Studio/Tango.SharedUI/Converters/DateTimeUTCToStringConverter.cs b/Software/Visual_Studio/Tango.SharedUI/Converters/DateTimeUTCToStringConverter.cs new file mode 100644 index 000000000..0a9c47e48 --- /dev/null +++ b/Software/Visual_Studio/Tango.SharedUI/Converters/DateTimeUTCToStringConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace Tango.SharedUI.Converters +{ + public class DateTimeUTCToStringConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value != null) + { + DateTime date = (DateTime)value; + return date.ToLocalTime().ToString(parameter.ToString()); + } + else + { + return null; + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj b/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj index 1ac652edf..ef5dae666 100644 --- a/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj +++ b/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj @@ -97,6 +97,7 @@ <Compile Include="Converters\ColorToComponentsConverter.cs" /> <Compile Include="Converters\ColorToIntegerConverter.cs" /> <Compile Include="Converters\DateTimeUTCToShortDateTimeConverter.cs" /> + <Compile Include="Converters\DateTimeUTCToStringConverter.cs" /> <Compile Include="Converters\DoubleToIntConverter.cs" /> <Compile Include="Converters\EnumToDescriptionConverter.cs" /> <Compile Include="Converters\EnumToItemsSourceConverter.cs" /> diff --git a/Software/Visual_Studio/Tango.Transport/Adapters/UsbSerialBaudRates.cs b/Software/Visual_Studio/Tango.Transport/Adapters/UsbSerialBaudRates.cs new file mode 100644 index 000000000..eade1deb6 --- /dev/null +++ b/Software/Visual_Studio/Tango.Transport/Adapters/UsbSerialBaudRates.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Transport.Adapters +{ + /// <summary> + /// Represents standard USB serial baud rates. + /// </summary> + public enum UsbSerialBaudRates + { + [Description("9600")] + BR_9600 = 9600, + [Description("19200")] + BR_19200 = 19200, + [Description("115200")] + BR_115200 = 115200, + } +} diff --git a/Software/Visual_Studio/Tango.Transport/Adapters/UsbTransportAdapter.cs b/Software/Visual_Studio/Tango.Transport/Adapters/UsbTransportAdapter.cs index 99c6a7a49..06d0d5d31 100644 --- a/Software/Visual_Studio/Tango.Transport/Adapters/UsbTransportAdapter.cs +++ b/Software/Visual_Studio/Tango.Transport/Adapters/UsbTransportAdapter.cs @@ -19,10 +19,16 @@ namespace Tango.Transport.Adapters private LogManager LogManager = LogManager.Default; /// <summary> + /// Gets or sets the baud rate. + /// </summary> + public UsbSerialBaudRates BaudRate { get; set; } + + /// <summary> /// Initializes a new instance of the <see cref="UsbTransportAdapter"/> class. /// </summary> public UsbTransportAdapter() : base() { + BaudRate = UsbSerialBaudRates.BR_9600; AdapterMode = TransportAdapterMode.PREPEND_HEADER; Address = "COM1"; } @@ -58,6 +64,7 @@ namespace Tango.Transport.Adapters } _serialPort = new SerialPort(); + _serialPort.BaudRate = BaudRate.ToInt32(); _serialPort.DataReceived += OnSerialPortDataReceived; _serialPort.PortName = Address; _serialPort.ReadBufferSize = MAX_BUFFER_SIZE; diff --git a/Software/Visual_Studio/Tango.Transport/Tango.Transport.csproj b/Software/Visual_Studio/Tango.Transport/Tango.Transport.csproj index 6db8faf4e..a1dd5e0d0 100644 --- a/Software/Visual_Studio/Tango.Transport/Tango.Transport.csproj +++ b/Software/Visual_Studio/Tango.Transport/Tango.Transport.csproj @@ -65,6 +65,7 @@ <Compile Include="..\Versioning\GlobalVersionInfo.cs"> <Link>GlobalVersionInfo.cs</Link> </Compile> + <Compile Include="Adapters\UsbSerialBaudRates.cs" /> <Compile Include="Adapters\UsbTransportAdapter.cs" /> <Compile Include="Encoders\ProtoEncoder.cs" /> <Compile Include="ITransportComponent.cs" /> diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/ViewModels/MainViewVM.cs index d9deaea57..131f432fe 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/ViewModels/MainViewVM.cs @@ -137,6 +137,16 @@ namespace Tango.Stubs.UI.ViewModels set { _appendLogAuto = value; RaisePropertyChangedAuto(); } } + private UsbSerialBaudRates _baudRate; + /// <summary> + /// Gets or sets the baud rate. + /// </summary> + public UsbSerialBaudRates BaudRate + { + get { return _baudRate; } + set { _baudRate = value; RaisePropertyChangedAuto(); } + } + #endregion #region Commands @@ -220,7 +230,6 @@ namespace Tango.Stubs.UI.ViewModels /// </summary> public MainViewVM() { - AppendLogAuto = true; Examples = new List<ExampleVM>(); CodeTabs = new ObservableCollection<CodeTabVM>(); NewCommand = new RelayCommand(CreateNewTab); @@ -261,7 +270,7 @@ namespace Tango.Stubs.UI.ViewModels foreach (var stubType in StubBase.GetAvailableRequestStubs()) { StubSnippetVM snippet = new StubSnippetVM(); - snippet.Name = stubType.Name.Replace("Stub_", ""); + snippet.Name = stubType.Name.Replace("Stub", "").Replace("Request", "").ToWords(); snippet.Code = String.Empty; @@ -310,6 +319,8 @@ namespace Tango.Stubs.UI.ViewModels }; SelectedPort = SettingsManager.Default.StubsUI.SelectedPort != null ? SettingsManager.Default.StubsUI.SelectedPort : Ports.First(); + BaudRate = (UsbSerialBaudRates)SettingsManager.Default.StubsUI.BaudRate; + AppendLogAuto = SettingsManager.Default.StubsUI.AutoLogResponse; Status = "Ready"; @@ -440,7 +451,7 @@ namespace Tango.Stubs.UI.ViewModels } else if (!prop.PropertyType.IsClass) { - code += String.Format("{0}.{1} = {2};", type.Name.ToCamelCase(), prop.Name, Activator.CreateInstance(prop.PropertyType).ToString()) + Environment.NewLine; + code += String.Format("{0}.{1} = {2};", type.Name.ToCamelCase(), prop.Name, Activator.CreateInstance(prop.PropertyType).ToString().ToLower()) + Environment.NewLine; } else if (prop.PropertyType.IsGenericType) { @@ -540,6 +551,7 @@ namespace Tango.Stubs.UI.ViewModels if (!IsConnected) { _adapter = new UsbTransportAdapter(SelectedPort); + _adapter.BaudRate = BaudRate; _adapter.Connect().Wait(); IsConnected = true; } @@ -694,7 +706,9 @@ namespace Tango.Stubs.UI.ViewModels private void Current_Exit(object sender, ExitEventArgs e) { + SettingsManager.Default.StubsUI.AutoLogResponse = AppendLogAuto; SettingsManager.Default.StubsUI.SelectedPort = SelectedPort; + SettingsManager.Default.StubsUI.BaudRate = BaudRate.ToInt32(); SettingsManager.Default.StubsUI.LastTabs = CodeTabs.Select(x => x.File).ToList(); SettingsManager.SaveDefaultSettings(); } @@ -703,6 +717,10 @@ namespace Tango.Stubs.UI.ViewModels { InvokeUI(() => { + if (_logTextBox.Text.Length > 99999) + { + _logTextBox.Clear(); + } _logTextBox.AppendText(log); }); } diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml index 69e31cac0..82c1b8e00 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml @@ -8,318 +8,337 @@ xmlns:fa="http://schemas.fontawesome.io/icons/" xmlns:local="clr-namespace:Tango.Stubs.UI.Views" xmlns:vm="clr-namespace:Tango.Stubs.UI.ViewModels" + xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI" xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI" + xmlns:transport="clr-namespace:Tango.Transport.Adapters;assembly=Tango.Transport" mc:Ignorable="d" d:DesignHeight="720" d:DesignWidth="1280"> - <UserControl.Resources> - <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"></BooleanToVisibilityConverter> - <Style BasedOn="{StaticResource MetroTabItem}" TargetType="{x:Type TabItem}"> - <Style.Triggers> - <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self},Path=IsSelected}" Value="True"> - <Setter Property="Background" Value="#007ACC"></Setter> - </DataTrigger> - </Style.Triggers> - <Setter Property="mahapps:ControlsHelper.HeaderFontSize" Value="12"></Setter> - <Setter Property="HeaderTemplate"> - <Setter.Value> - <DataTemplate> - <Border> - <StackPanel Orientation="Horizontal"> - <mahapps:ProgressRing Width="5" Height="5" Margin="0 0 5 0" Foreground="White" Visibility="{Binding IsRunning,Converter={StaticResource BooleanToVisibilityConverter}}"></mahapps:ProgressRing> - <TextBlock Text="{Binding Title}" ToolTip="{Binding File}" Foreground="Gainsboro" VerticalAlignment="Center"></TextBlock> - <Button Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CloseTabCommand}" CommandParameter="{Binding}" Margin="5 0 0 0" Cursor="Hand" Width="24" Height="24" VerticalAlignment="Center" Style="{DynamicResource MetroCircleButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0"> - <StackPanel Orientation="Horizontal"> - <fa:ImageAwesome Width="10" Height="10" Icon="Close" Foreground="Gainsboro"></fa:ImageAwesome> - </StackPanel> - </Button> - </StackPanel> - </Border> - </DataTemplate> - </Setter.Value> - </Setter> - <Setter Property="ContentTemplate"> - <Setter.Value> - <DataTemplate> - <Grid Background="#181818"> - <controls:ScriptEditorControl Text="{Binding Code,Mode=TwoWay}" InsertSnippetCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.InsertSnippetCommand,Mode=TwoWay}" SaveCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.SaveCommand}" HighlightTypes="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.HighlightTypes}" IntellisenseTypes="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.IntellisenseTypes}" RunCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.RunCommand}" StopCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.StopCommand}" /> - </Grid> - </DataTemplate> - </Setter.Value> - </Setter> - </Style> - </UserControl.Resources> - <UserControl.Style> - <Style TargetType="UserControl"> - <Style.Triggers> - <DataTrigger Binding="{Binding IsRunning}" Value="True"> - <Setter Property="Cursor" Value="AppStarting"></Setter> - </DataTrigger> - </Style.Triggers> - </Style> - </UserControl.Style> - <Grid> - <Grid.RowDefinitions> - <RowDefinition Height="Auto"/> - <RowDefinition Height="1*"/> - </Grid.RowDefinitions> + <UserControl.Resources> + + <ObjectDataProvider x:Key="baudRates" MethodName="GetValues" + ObjectType="{x:Type System:Enum}"> + <ObjectDataProvider.MethodParameters> + <x:Type TypeName="transport:UsbSerialBaudRates"/> + </ObjectDataProvider.MethodParameters> + </ObjectDataProvider> + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"></BooleanToVisibilityConverter> + <converters:EnumToDescriptionConverter x:Key="EnumToDescriptionConverter" /> + <Style BasedOn="{StaticResource MetroTabItem}" TargetType="{x:Type TabItem}"> + <Style.Triggers> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self},Path=IsSelected}" Value="True"> + <Setter Property="Background" Value="#007ACC"></Setter> + </DataTrigger> + </Style.Triggers> + <Setter Property="mahapps:ControlsHelper.HeaderFontSize" Value="12"></Setter> + <Setter Property="HeaderTemplate"> + <Setter.Value> + <DataTemplate> + <Border> + <StackPanel Orientation="Horizontal"> + <mahapps:ProgressRing Width="5" Height="5" Margin="0 0 5 0" Foreground="White" Visibility="{Binding IsRunning,Converter={StaticResource BooleanToVisibilityConverter}}"></mahapps:ProgressRing> + <TextBlock Text="{Binding Title}" ToolTip="{Binding File}" Foreground="Gainsboro" VerticalAlignment="Center"></TextBlock> + <Button Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CloseTabCommand}" CommandParameter="{Binding}" Margin="5 0 0 0" Cursor="Hand" Width="24" Height="24" VerticalAlignment="Center" Style="{DynamicResource MetroCircleButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0"> + <StackPanel Orientation="Horizontal"> + <fa:ImageAwesome Width="10" Height="10" Icon="Close" Foreground="Gainsboro"></fa:ImageAwesome> + </StackPanel> + </Button> + </StackPanel> + </Border> + </DataTemplate> + </Setter.Value> + </Setter> + <Setter Property="ContentTemplate"> + <Setter.Value> + <DataTemplate> + <Grid Background="#181818"> + <controls:ScriptEditorControl Text="{Binding Code,Mode=TwoWay}" InsertSnippetCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.InsertSnippetCommand,Mode=TwoWay}" SaveCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.SaveCommand}" HighlightTypes="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.HighlightTypes}" IntellisenseTypes="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.IntellisenseTypes}" RunCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.RunCommand}" StopCommand="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.StopCommand}" /> + </Grid> + </DataTemplate> + </Setter.Value> + </Setter> + </Style> + </UserControl.Resources> + <UserControl.Style> + <Style TargetType="UserControl"> + <Style.Triggers> + <DataTrigger Binding="{Binding IsRunning}" Value="True"> + <Setter Property="Cursor" Value="AppStarting"></Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </UserControl.Style> <Grid> - <Menu IsMainMenu="True" BorderThickness="0"> - <MenuItem Header="File"> - <MenuItem Header="New" Command="{Binding NewCommand}"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="FileOutline" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <Separator/> - <MenuItem Header="Open" MinWidth="150" Command="{Binding OpenCommand}"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="FolderOutline" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <Separator/> - <MenuItem Header="Save" Command="{Binding SaveCommand}"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Save" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <MenuItem Header="Save as" Command="{Binding SaveAsCommand}"> - <MenuItem.Icon> - <Grid> - <fa:ImageAwesome Icon="Save" Width="10" Foreground="Gainsboro" Margin="2" /> - <fa:ImageAwesome Icon="Save" Width="10" Foreground="Gainsboro" Margin="2 -5 -5 2" /> - </Grid> - </MenuItem.Icon> - </MenuItem> - <Separator/> - <MenuItem Header="Exit" Command="{Binding ExitCommand}"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="SignOut" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - </MenuItem> - <MenuItem Header="Edit"> - <MenuItem Header="Cut" MinWidth="150" Command="Cut"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Cut" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <Separator/> - <MenuItem Header="Copy" Command="Copy"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Copy" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <MenuItem Header="Paste" Command="Paste"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Paste" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <Separator/> - <MenuItem Header="Undo" Command="Undo"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Undo" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - <MenuItem Header="Redo" Command="Redo"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Repeat" Width="12" Foreground="Gainsboro" Margin="2" /> - </MenuItem.Icon> - </MenuItem> - </MenuItem> - <MenuItem Header="Wizard" ItemsSource="{Binding CreateGroups}"> - <MenuItem.ItemContainerStyle> - <Style TargetType="{x:Type MenuItem}"> - <Setter Property="Padding" Value="2"></Setter> - <Setter Property="Command" Value="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CreateItemCommand}" /> - <Setter Property="CommandParameter" Value="{Binding}"></Setter> - </Style> - </MenuItem.ItemContainerStyle> - <MenuItem.ItemTemplate> - <HierarchicalDataTemplate DataType="{x:Type vm:CreateGroupVM}" ItemsSource="{Binding Path=Items}"> - <TextBlock Text="{Binding Name}"/> - </HierarchicalDataTemplate> - </MenuItem.ItemTemplate> - </MenuItem> - <MenuItem Header="Examples" ItemsSource="{Binding Examples}"> - <MenuItem.ItemContainerStyle> - <Style TargetType="{x:Type MenuItem}"> - <Setter Property="Padding" Value="2"></Setter> - <Setter Property="Command" Value="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CreateExampleCommand}" /> - <Setter Property="CommandParameter" Value="{Binding}"></Setter> - </Style> - </MenuItem.ItemContainerStyle> - <MenuItem.ItemTemplate> - <DataTemplate> - <TextBlock Text="{Binding Name}" ToolTip="{Binding Code}"></TextBlock> - </DataTemplate> - </MenuItem.ItemTemplate> - </MenuItem> - <MenuItem Header="Build"> - <MenuItem Header="Run (F5)" MinWidth="150" Command="{Binding RunCommand}" > - <MenuItem.Icon> - <fa:ImageAwesome Icon="Play" Width="12" Margin="2"> - <fa:ImageAwesome.Style> - <Style TargetType="fa:ImageAwesome"> - <Setter Property="Foreground" Value="#8DD28A"></Setter> - <Style.Triggers> - <Trigger Property="IsEnabled" Value="False"> - <Setter Property="Foreground" Value="Gray"></Setter> - </Trigger> - </Style.Triggers> - </Style> - </fa:ImageAwesome.Style> - </fa:ImageAwesome> - </MenuItem.Icon> - </MenuItem> - <MenuItem Header="Stop" Command="{Binding StopCommand}" IsEnabled="False"> - <MenuItem.Icon> - <fa:ImageAwesome Icon="Stop" Width="12" Margin="2"> - <fa:ImageAwesome.Style> - <Style TargetType="fa:ImageAwesome"> - <Setter Property="Foreground" Value="#F38B76"></Setter> - <Style.Triggers> - <Trigger Property="IsEnabled" Value="False"> - <Setter Property="Foreground" Value="Gray"></Setter> - </Trigger> - </Style.Triggers> - </Style> - </fa:ImageAwesome.Style> - </fa:ImageAwesome> - </MenuItem.Icon> - </MenuItem> - </MenuItem> - </Menu> - </Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="1*"/> + </Grid.RowDefinitions> - <Grid Grid.Row="2"> - <Grid.ColumnDefinitions> - <ColumnDefinition Width="1019*"/> - <ColumnDefinition Width="220"/> - </Grid.ColumnDefinitions> - <Grid.RowDefinitions> - <RowDefinition Height="1*"/> - <RowDefinition Height="5"/> - <RowDefinition Height="0.5*"/> - </Grid.RowDefinitions> + <Grid> + <Menu IsMainMenu="True" BorderThickness="0"> + <MenuItem Header="File"> + <MenuItem Header="New" Command="{Binding NewCommand}"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="FileOutline" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Open" MinWidth="150" Command="{Binding OpenCommand}"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="FolderOutline" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Save" Command="{Binding SaveCommand}"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Save" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="Save as" Command="{Binding SaveAsCommand}"> + <MenuItem.Icon> + <Grid> + <fa:ImageAwesome Icon="Save" Width="10" Foreground="Gainsboro" Margin="2" /> + <fa:ImageAwesome Icon="Save" Width="10" Foreground="Gainsboro" Margin="2 -5 -5 2" /> + </Grid> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Exit" Command="{Binding ExitCommand}"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="SignOut" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + </MenuItem> + <MenuItem Header="Edit"> + <MenuItem Header="Cut" MinWidth="150" Command="Cut"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Cut" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Copy" Command="Copy"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Copy" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="Paste" Command="Paste"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Paste" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Undo" Command="Undo"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Undo" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="Redo" Command="Redo"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Repeat" Width="12" Foreground="Gainsboro" Margin="2" /> + </MenuItem.Icon> + </MenuItem> + </MenuItem> + <MenuItem Header="Wizard" ItemsSource="{Binding CreateGroups}"> + <MenuItem.ItemContainerStyle> + <Style TargetType="{x:Type MenuItem}"> + <Setter Property="Padding" Value="2"></Setter> + <Setter Property="Command" Value="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CreateItemCommand}" /> + <Setter Property="CommandParameter" Value="{Binding}"></Setter> + </Style> + </MenuItem.ItemContainerStyle> + <MenuItem.ItemTemplate> + <HierarchicalDataTemplate DataType="{x:Type vm:CreateGroupVM}" ItemsSource="{Binding Path=Items}"> + <TextBlock Text="{Binding Name}"/> + </HierarchicalDataTemplate> + </MenuItem.ItemTemplate> + </MenuItem> + <MenuItem Header="Examples" ItemsSource="{Binding Examples}"> + <MenuItem.ItemContainerStyle> + <Style TargetType="{x:Type MenuItem}"> + <Setter Property="Padding" Value="2"></Setter> + <Setter Property="Command" Value="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.CreateExampleCommand}" /> + <Setter Property="CommandParameter" Value="{Binding}"></Setter> + </Style> + </MenuItem.ItemContainerStyle> + <MenuItem.ItemTemplate> + <DataTemplate> + <TextBlock Text="{Binding Name}" ToolTip="{Binding Code}"></TextBlock> + </DataTemplate> + </MenuItem.ItemTemplate> + </MenuItem> + <MenuItem Header="Build"> + <MenuItem Header="Run (F5)" MinWidth="150" Command="{Binding RunCommand}" > + <MenuItem.Icon> + <fa:ImageAwesome Icon="Play" Width="12" Margin="2"> + <fa:ImageAwesome.Style> + <Style TargetType="fa:ImageAwesome"> + <Setter Property="Foreground" Value="#8DD28A"></Setter> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Foreground" Value="Gray"></Setter> + </Trigger> + </Style.Triggers> + </Style> + </fa:ImageAwesome.Style> + </fa:ImageAwesome> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="Stop" Command="{Binding StopCommand}" IsEnabled="False"> + <MenuItem.Icon> + <fa:ImageAwesome Icon="Stop" Width="12" Margin="2"> + <fa:ImageAwesome.Style> + <Style TargetType="fa:ImageAwesome"> + <Setter Property="Foreground" Value="#F38B76"></Setter> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Foreground" Value="Gray"></Setter> + </Trigger> + </Style.Triggers> + </Style> + </fa:ImageAwesome.Style> + </fa:ImageAwesome> + </MenuItem.Icon> + </MenuItem> + </MenuItem> + </Menu> + </Grid> - <Grid> - <TabControl x:Name="tabControl" Margin="5" ItemsSource="{Binding CodeTabs}" SelectedItem="{Binding SelectedCodeTab}"> + <Grid Grid.Row="2"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1019*"/> + <ColumnDefinition Width="220"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="1*"/> + <RowDefinition Height="5"/> + <RowDefinition Height="0.5*"/> + </Grid.RowDefinitions> - </TabControl> + <Grid> + <TabControl x:Name="tabControl" Margin="5" ItemsSource="{Binding CodeTabs}" SelectedItem="{Binding SelectedCodeTab}"> - <Grid HorizontalAlignment="Right" Margin="0 45 40 0" VerticalAlignment="Top" Visibility="{Binding IsRunning,Converter={StaticResource BooleanToVisibilityConverter}}"> - <StackPanel Orientation="Horizontal"> - <mahapps:ProgressRing Foreground="#007ACC" Width="20" Height="20"></mahapps:ProgressRing> - <TextBlock Text="Running..." FontStyle="Italic" Margin="10 0 0 0" FontSize="14" VerticalAlignment="Center"></TextBlock> - </StackPanel> - </Grid> - </Grid> + </TabControl> + + <Grid HorizontalAlignment="Right" Margin="0 45 40 0" VerticalAlignment="Top" Visibility="{Binding IsRunning,Converter={StaticResource BooleanToVisibilityConverter}}"> + <StackPanel Orientation="Horizontal"> + <mahapps:ProgressRing Foreground="#007ACC" Width="20" Height="20"></mahapps:ProgressRing> + <TextBlock Text="Running..." FontStyle="Italic" Margin="10 0 0 0" FontSize="14" VerticalAlignment="Center"></TextBlock> + </StackPanel> + </Grid> + </Grid> - <Grid Grid.Column="1" Grid.RowSpan="3"> - <Grid VerticalAlignment="Bottom" Height="25" Background="#007ACC"> + <Grid Grid.Column="1" Grid.RowSpan="3"> + <Grid VerticalAlignment="Bottom" Height="25" Background="#007ACC"> - </Grid> - <DockPanel> - <GroupBox Header="COMMUNICATION PORT" VerticalAlignment="Top" DockPanel.Dock="Top" Margin="0 2 0 0"> - <StackPanel> - <ComboBox Margin="0 10 0 0" BorderThickness="0" ItemsSource="{Binding Ports}" Height="35" SelectedItem="{Binding SelectedPort}"></ComboBox> - </StackPanel> - </GroupBox> + </Grid> + <DockPanel> + <GroupBox Header="COMMUNICATION PORT" VerticalAlignment="Top" DockPanel.Dock="Top" Margin="0 2 0 0"> + <StackPanel> + <ComboBox Margin="0 10 0 0" BorderThickness="0" ItemsSource="{Binding Ports}" Height="35" SelectedItem="{Binding SelectedPort}"></ComboBox> + <ComboBox Margin="0 10 0 0" BorderThickness="0" ItemsSource="{Binding Source={StaticResource baudRates}}" Height="35" SelectedItem="{Binding BaudRate}" SelectedIndex="0"> + <ComboBox.ItemTemplate> + <DataTemplate> + <TextBlock Text="{Binding Path=.,Converter={StaticResource EnumToDescriptionConverter}}" /> + </DataTemplate> + </ComboBox.ItemTemplate> + </ComboBox> + </StackPanel> + </GroupBox> - <GroupBox Header="CONNECTION" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" Margin="0 10 0 25"> - <StackPanel> - <Button Height="50" MinWidth="100" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding ToggleConnectionCommand}"> - <Button.Style> - <Style TargetType="Button" BasedOn="{StaticResource AccentedSquareButtonStyle}"> - <Style.Triggers> - <DataTrigger Binding="{Binding IsConnected}" Value="False"> - <Setter Property="Content"> - <Setter.Value> - <StackPanel Orientation="Horizontal"> - <fa:ImageAwesome Icon="Link" Width="16"></fa:ImageAwesome> - <TextBlock VerticalAlignment="Center" Margin="10 0 10 0">CONNECT</TextBlock> - </StackPanel> - </Setter.Value> - </Setter> - </DataTrigger> - <DataTrigger Binding="{Binding IsConnected}" Value="True"> - <Setter Property="Content"> - <Setter.Value> - <StackPanel Orientation="Horizontal"> - <fa:ImageAwesome Icon="Unlink" Width="16"></fa:ImageAwesome> - <TextBlock VerticalAlignment="Center" Margin="10 0 10 0">DISCONNECT</TextBlock> - </StackPanel> - </Setter.Value> - </Setter> - </DataTrigger> - </Style.Triggers> - </Style> - </Button.Style> - </Button> - </StackPanel> - </GroupBox> + <GroupBox Header="CONNECTION" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" Margin="0 10 0 25"> + <StackPanel> + <Button Height="50" MinWidth="100" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding ToggleConnectionCommand}"> + <Button.Style> + <Style TargetType="Button" BasedOn="{StaticResource AccentedSquareButtonStyle}"> + <Style.Triggers> + <DataTrigger Binding="{Binding IsConnected}" Value="False"> + <Setter Property="Content"> + <Setter.Value> + <StackPanel Orientation="Horizontal"> + <fa:ImageAwesome Icon="Link" Width="16"></fa:ImageAwesome> + <TextBlock VerticalAlignment="Center" Margin="10 0 10 0">CONNECT</TextBlock> + </StackPanel> + </Setter.Value> + </Setter> + </DataTrigger> + <DataTrigger Binding="{Binding IsConnected}" Value="True"> + <Setter Property="Content"> + <Setter.Value> + <StackPanel Orientation="Horizontal"> + <fa:ImageAwesome Icon="Unlink" Width="16"></fa:ImageAwesome> + <TextBlock VerticalAlignment="Center" Margin="10 0 10 0">DISCONNECT</TextBlock> + </StackPanel> + </Setter.Value> + </Setter> + </DataTrigger> + </Style.Triggers> + </Style> + </Button.Style> + </Button> + </StackPanel> + </GroupBox> - <GroupBox Header="STUB SNIPPETS" Margin="0 10 0 0"> - <Grid> - <ListBox BorderThickness="0" ItemsSource="{Binding StubSnippets}" HorizontalContentAlignment="Stretch" SelectedItem="{Binding SelectedStubSnippet}"> - <ListBox.ItemContainerStyle> - <Style TargetType="ListBoxItem" BasedOn="{StaticResource {x:Type ListBoxItem}}"> - <Setter Property="Padding" Value="0"></Setter> - <Setter Property="Margin" Value="0 2 0 2"></Setter> - <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter> - </Style> - </ListBox.ItemContainerStyle> - <ListBox.ItemTemplate> - <DataTemplate> - <Border BorderThickness="1" BorderBrush="#007ACC" Padding="8" Background="Transparent"> - <Border.InputBindings> - <MouseBinding Gesture="LeftDoubleClick" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.StubSnippetSelectedCommand}"/> - </Border.InputBindings> - <Grid> - <fa:ImageAwesome Icon="ArrowLeft" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5 0 0 0" Foreground="#007ACC" Width="16" Height="16"></fa:ImageAwesome> - <TextBlock VerticalAlignment="Center" FontSize="11" HorizontalAlignment="Center" Text="{Binding Name}"></TextBlock> - </Grid> - </Border> - </DataTemplate> - </ListBox.ItemTemplate> - </ListBox> + <GroupBox Header="STUB SNIPPETS" Margin="0 10 0 0"> + <Grid> + <ListBox BorderThickness="0" ItemsSource="{Binding StubSnippets}" HorizontalContentAlignment="Stretch" SelectedItem="{Binding SelectedStubSnippet}"> + <ListBox.ItemContainerStyle> + <Style TargetType="ListBoxItem" BasedOn="{StaticResource {x:Type ListBoxItem}}"> + <Setter Property="Padding" Value="0"></Setter> + <Setter Property="Margin" Value="0 2 0 2"></Setter> + <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter> + </Style> + </ListBox.ItemContainerStyle> + <ListBox.ItemTemplate> + <DataTemplate> + <Border BorderThickness="1" BorderBrush="#007ACC" Padding="8" Background="Transparent"> + <Border.InputBindings> + <MouseBinding Gesture="LeftDoubleClick" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.StubSnippetSelectedCommand}"/> + </Border.InputBindings> + <Grid> + <fa:ImageAwesome Icon="ArrowLeft" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5 0 0 0" Foreground="#007ACC" Width="16" Height="16"></fa:ImageAwesome> + <TextBlock VerticalAlignment="Center" FontSize="11" HorizontalAlignment="Center" Text="{Binding Name}"></TextBlock> + </Grid> + </Border> + </DataTemplate> + </ListBox.ItemTemplate> + </ListBox> + </Grid> + </GroupBox> + </DockPanel> </Grid> - </GroupBox> - </DockPanel> - </Grid> - <GridSplitter Margin="5 0 5 0" Grid.Row="1" Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Center"> - <GridSplitter.Background> - <LinearGradientBrush> - <GradientStop/> - <GradientStop Color="#007ACC" Offset="0.5"/> - <GradientStop Offset="1"/> - </LinearGradientBrush> - </GridSplitter.Background> - </GridSplitter> + <GridSplitter Margin="5 0 5 0" Grid.Row="1" Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Center"> + <GridSplitter.Background> + <LinearGradientBrush> + <GradientStop/> + <GradientStop Color="#007ACC" Offset="0.5"/> + <GradientStop Offset="1"/> + </LinearGradientBrush> + </GridSplitter.Background> + </GridSplitter> - <Grid Grid.Row="2"> - <Grid.RowDefinitions> - <RowDefinition Height="1*"/> - <RowDefinition Height="25"/> - </Grid.RowDefinitions> - <GroupBox Header="Response"> - <Grid Background="#151515"> - <TextBox x:Name="txtLog" FontFamily="Lucida Console" TextChanged="TextBox_TextChanged" Background="Transparent" BorderThickness="0" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Padding="5" IsReadOnly="True" TextWrapping="Wrap" FontSize="11" Foreground="Gainsboro"></TextBox> + <Grid Grid.Row="2"> + <Grid.RowDefinitions> + <RowDefinition Height="1*"/> + <RowDefinition Height="25"/> + </Grid.RowDefinitions> + <GroupBox Header="Response"> + <Grid Background="#151515"> + <TextBox x:Name="txtLog" PreviewMouseDown="txtLog_PreviewMouseUp" FontFamily="Lucida Console" TextChanged="TextBox_TextChanged" Background="Transparent" BorderThickness="0" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Padding="5" IsReadOnly="True" TextWrapping="Wrap" FontSize="11" Foreground="Gainsboro"></TextBox> - <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 -32 -6 0"> - <CheckBox VerticalAlignment="Center" Margin="0 0 20 0" IsChecked="{Binding AppendLogAuto}">Log response automatically</CheckBox> - <Button Width="80" Height="25" Command="{Binding ClearCommand}">CLEAR</Button> - </StackPanel> - </Grid> - </GroupBox> - <StatusBar Background="#007ACC" Grid.Row="1"> - <TextBlock Text="{Binding Status}"></TextBlock> - </StatusBar> - </Grid> + <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 -32 -6 0"> + <CheckBox VerticalAlignment="Center" Margin="0 0 20 0" IsChecked="{Binding AppendLogAuto}">Auto Logging</CheckBox> + <CheckBox x:Name="chkScroll" IsChecked="True" VerticalAlignment="Center" Margin="0 0 20 0">Scroll To End</CheckBox> + <Button Width="80" Height="25" Command="{Binding ClearCommand}">CLEAR</Button> + </StackPanel> + </Grid> + </GroupBox> + <StatusBar Background="#007ACC" Grid.Row="1"> + <TextBlock Text="{Binding Status}"></TextBlock> + </StatusBar> + </Grid> + </Grid> </Grid> - </Grid> </UserControl> diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs index 2e9878453..06cc3d76c 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs @@ -18,38 +18,38 @@ using Tango.Stubs.UI.ViewModels; namespace Tango.Stubs.UI.Views { - /// <summary> - /// Interaction logic for MainView.xaml - /// </summary> - public partial class MainView : UserControl - { - private MainViewVM _vm; - - public MainView() : base() + /// <summary> + /// Interaction logic for MainView.xaml + /// </summary> + public partial class MainView : UserControl { - InitializeComponent(); - Loaded += (_, __) => - { - _vm = DataContext as MainViewVM; - _vm.SetLogTextBox(txtLog); + private MainViewVM _vm; - - }; - } + public MainView() : base() + { + InitializeComponent(); + Loaded += (_, __) => + { + _vm = DataContext as MainViewVM; + _vm.SetLogTextBox(txtLog); - //Auto scroll to bottom of response log each time it is changed. - private void TextBox_TextChanged(object sender, TextChangedEventArgs e) - { - Task.Factory.StartNew(() => - { - Thread.Sleep(50); - this.Dispatcher.Invoke(() => + }; + } + + //Auto scroll to bottom of response log each time it is changed. + private void TextBox_TextChanged(object sender, TextChangedEventArgs e) + { + if (chkScroll.IsChecked.Value) + { + txtLog.SelectionStart = txtLog.Text.Length; + txtLog.ScrollToEnd(); + } + } + + private void txtLog_PreviewMouseUp(object sender, MouseButtonEventArgs e) { - txtLog.SelectionStart = txtLog.Text.Length; - txtLog.ScrollToEnd(); - }); - }); + chkScroll.IsChecked = false; + } } - } } |
