aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobDispenser.pb-c.h
blob: 2b21e265c7b7188e09e0f7dcc335d12372f210a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* 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 */
<TabItem Header="INSTALLED PACKAGES"> <Border Margin="0 10 0 0" BorderBrush="{StaticResource FSE_BorderBrush}" BorderThickness="1" CornerRadius="3" Padding="5" Background="{StaticResource FSE_PrimaryBackgroundDarkBrush}"> <DataGrid Style="{StaticResource FSE_DataGrid}" CellStyle="{StaticResource FSE_DataGrid_Cell}" ItemsSource="{Binding Packages}" SelectedItem="{Binding SelectedPackage}"> <DataGrid.Columns> <DataGridTemplateColumn Header=""> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <material:PackIcon Width="20" Height="20"> <material:PackIcon.Style> <Style TargetType="material:PackIcon"> <Setter Property="Kind" Value="Pause"></Setter> <Setter Property="Foreground" Value="{StaticResource FSE_PrimaryForegroundBrush}"></Setter> <Style.Triggers> <DataTrigger Binding="{Binding State}" Value="Failed"> <Setter Property="Kind" Value="Alert"></Setter> <Setter Property="Foreground" Value="{StaticResource FSE_ErrorBrush}"></Setter> </DataTrigger> <DataTrigger Binding="{Binding State}" Value="Installed"> <Setter Property="Kind" Value="Check"></Setter> <Setter Property="Foreground" Value="{StaticResource FSE_SuccessBrush}"></Setter> </DataTrigger> </Style.Triggers> </Style> </material:PackIcon.Style> </material:PackIcon> </DataTemplate> </DataGridTemplateColumn.CellTemplate> </DataGridTemplateColumn> <DataGridTextColumn Header="Type" Width="60" Binding="{Binding Type}" /> <DataGridTextColumn Header="Date" Width="120" Binding="{Binding InstallationDate,Converter={StaticResource DateTimeUTCToShortDateTimeConverter}}" /> <DataGridTextColumn Header="Name" Width="*" Binding="{Binding PackageName}" /> </DataGrid.Columns> </DataGrid> </Border> </TabItem> </dragablz:TabablzControl> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 20 20 0"> <material:PackIcon Kind="Search" VerticalAlignment="Center" Height="Auto" Width="25" /> <TextBox Margin="5 0 0 0" Padding="7" material:HintAssist.Hint="Filter..." VerticalContentAlignment="Center" IsEnabled="{Binding IsFree}" Style="{StaticResource FSE_Rounded_Corners_TextBox}" Width="200" Text="{Binding Filter,UpdateSourceTrigger=PropertyChanged,Delay=500}"></TextBox> <controls:IconButton Icon="Refresh" Margin="40 0 0 0" Command="{Binding RefreshCommand}" IsEnabled="{Binding IsFree}" ToolTip="Refresh updates"></controls:IconButton> </StackPanel> <Grid Margin="4 74 4 4" Background="{StaticResource FSE_SemiTransparentBrush}" Visibility="{Binding IsBusy,Converter={StaticResource BooleanToVisibilityConverter},FallbackValue=Collapsed}"> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <ProgressBar Style="{StaticResource FSE_CircularProgressBar}" Width="100" Height="100" IsIndeterminate="True"></ProgressBar> <TextBlock HorizontalAlignment="Center" Margin="0 20 0 0">Loading machine updates...</TextBlock> </StackPanel> </Grid> </Grid> </Grid> </UserControl>