aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationUpgradeResponse.cs
blob: 89f2b4e71e667abc02a3c8143a402b58476ddabd (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.PPC.Shared.RemoteUpgrade
{
    public class StartRemoteApplicationUpgradeResponse
    {
        public TangoProgress<double> Progress { get; set; }

        public StartRemoteApplicationUpgradeResponse()
        {
            Progress = new TangoProgress<double>()
            {
                Message = "Initializing...",
                IsIndeterminate = true,
                Maximum = 100
            };
        }
    }
}
pan class="cp"> { 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 */