/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: StopThreadLoadingResponse.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "StopThreadLoadingResponse.pb-c.h" void stop_thread_loading_response__init (StopThreadLoadingResponse *message) { static const StopThreadLoadingResponse init_value = STOP_THREAD_LOADING_RESPONSE__INIT; *message = init_value; } size_t stop_thread_loading_response__get_packed_size (const StopThreadLoadingResponse *message) { assert(message->base.descriptor == &stop_thread_loading_response__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t stop_thread_loading_response__pack (const StopThreadLoadingResponse *message, uint8_t *out) { assert(message->base.descriptor == &stop_thread_loading_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t stop_thread_loading_response__pack_to_buffer (const StopThreadLoadingResponse *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &stop_thread_loading_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } StopThreadLoadingResponse * stop_thread_loading_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (StopThreadLoadingResponse *) protobuf_c_message_unpack (&stop_thread_loading_response__descriptor, allocator, len, data); } void stop_thread_loading_response__free_unpacked (StopThreadLoadingResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &stop_thread_loading_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } #define stop_thread_loading_response__field_descriptors NULL #define stop_thread_loading_response__field_indices_by_name NULL #define stop_thread_loading_response__number_ranges NULL const ProtobufCMessageDescriptor stop_thread_loading_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "StopThreadLoadingResponse", "StopThreadLoadingResponse", "StopThreadLoadingResponse", "", sizeof(StopThreadLoadingResponse), 0, stop_thread_loading_response__field_descriptors, stop_thread_loading_response__field_indices_by_name, 0, stop_thread_loading_response__number_ranges, (ProtobufCMessageInit) stop_thread_loading_response__init, NULL,NULL,NULL /* reserved[123] */ };
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.Developer.ViewModels
{
public class EmbroideryDisplayViewVM : DialogViewVM
{
private Job _job;
public Job Job
{
get { return _job; }
set { _job = value; RaisePropertyChangedAuto(); }
}
public RelayCommand ExportCommand { get; set; }
public EmbroideryDisplayViewVM()
{
ExportCommand = new RelayCommand(() =>
{
Accept();
});
}
public EmbroideryDisplayViewVM(Job job) : this()
{
Job = job;
}
}
}