aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs
blob: 8eee667cdb3e5edcb3f2299f23c4f7c20c1fb688 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.DTO;
using Tango.Transport.Web;

namespace Tango.PPC.Common.Web
{
    public class UploadMachineDataRequest : WebRequestMessage
    {
        public List<JobDTO> Jobs { get; set; }
        public List<JobRunDTO> JobRuns { get; set; }
        public List<MachinesEventDTO> MachineEvents { get; set; }
        public List<TangoUpdateDTO> OfflineUpdates { get; set; }
        public List<DataStoreItemDTO> DataStoreItems { get; set; }
        public String ApplicationVersion { get; set; }
        public String FirmwareVersion { get; set; }

        public UploadMachineDataRequest()
        {
            Jobs = new List<JobDTO>();
            JobRuns = new List<JobRunDTO>();
            MachineEvents = new List<MachinesEventDTO>();
            OfflineUpdates = new List<TangoUpdateDTO>();
            DataStoreItems = new List<DataStoreItemDTO>();
        }
    }
}
span>buffer); } StopDebugLogResponse * stop_debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (StopDebugLogResponse *) protobuf_c_message_unpack (&stop_debug_log_response__descriptor, allocator, len, data); } void stop_debug_log_response__free_unpacked (StopDebugLogResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &stop_debug_log_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } #define stop_debug_log_response__field_descriptors NULL #define stop_debug_log_response__field_indices_by_name NULL #define stop_debug_log_response__number_ranges NULL const ProtobufCMessageDescriptor stop_debug_log_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "StopDebugLogResponse", "StopDebugLogResponse", "StopDebugLogResponse", "", sizeof(StopDebugLogResponse), 0, stop_debug_log_response__field_descriptors, stop_debug_log_response__field_indices_by_name, 0, stop_debug_log_response__number_ranges, (ProtobufCMessageInit) stop_debug_log_response__init, NULL,NULL,NULL /* reserved[123] */ };