aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/Messages/JobSelectedMessage.cs
blob: 721dce6ed560ad264737de0c4c6083ee8a99a288 (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
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.PPC.Jobs.Messages
{
    /// <summary>
    /// Notifies about a job being selected  from the job list.
    /// </summary>
    public class JobSelectedMessage
    {
        /// <summary>
        /// Gets or sets the job.
        /// </summary>
        public Job Job { get; set; }

        /// <summary>
        /// Gets or sets the db context.
        /// </summary>
        public ObservablesContext Context { get; set; }
    }
}
">{ ProtobufCMessage base; DeviceInformation *deviceinformation; protobuf_c_boolean has_isafterreset; protobuf_c_boolean isafterreset; }; #define CONNECT_RESPONSE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&connect_response__descriptor) \ , NULL, 0, 0 } /* ConnectResponse methods */ void connect_response__init (ConnectResponse *message); size_t connect_response__get_packed_size (const ConnectResponse *message); size_t connect_response__pack (const ConnectResponse *message, uint8_t *out); size_t connect_response__pack_to_buffer (const ConnectResponse *message, ProtobufCBuffer *buffer); ConnectResponse * connect_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void connect_response__free_unpacked (ConnectResponse *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*ConnectResponse_Closure) (const ConnectResponse *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor connect_response__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_ConnectResponse_2eproto__INCLUDED */