aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/TechItemAttribute.cs
blob: fafd00954a95b51acb2093563f6322284abec789 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.MachineStudio.Technician.TechItems
{
    /// <summary>
    /// Represents a tech item attribute
    /// </summary>
    /// <seealso cref="System.Attribute" />
    public class TechItemAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the item index.
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TechItemAttribute"/> class.
        /// </summary>
        /// <param name="index">The index.</param>
        public TechItemAttribute(int index)
        {
            Index = index;
        }
    }
}
w"> file_download_response__init (FileDownloadResponse *message); size_t file_download_response__get_packed_size (const FileDownloadResponse *message); size_t file_download_response__pack (const FileDownloadResponse *message, uint8_t *out); size_t file_download_response__pack_to_buffer (const FileDownloadResponse *message, ProtobufCBuffer *buffer); FileDownloadResponse * file_download_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void file_download_response__free_unpacked (FileDownloadResponse *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*FileDownloadResponse_Closure) (const FileDownloadResponse *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor file_download_response__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_FileDownloadResponse_2eproto__INCLUDED */