aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioModuleAttribute.cs
blob: b9212a9e3df6d01de663a32ebb7c8807d7d1fa17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.MachineStudio.Common
{
    [AttributeUsage(AttributeTargets.Class)]
    public class StudioModuleAttribute : Attribute
    {
        public int Index { get; set; }

        public StudioModuleAttribute(int index)
        {
            Index = index;
        }
    }
}
ding(BasicHttpSecurityMode.None); binding.ReceiveTimeout = TimeSpan.FromSeconds(60); binding.SendTimeout = TimeSpan.FromSeconds(60); binding.MaxBufferPoolSize = 6553600; binding.MaxBufferSize = 6553600; binding.MaxReceivedMessageSize = 6553600; binding.ReaderQuotas.MaxDepth = 6553600; binding.ReaderQuotas.MaxStringContentLength = 6553600; binding.ReaderQuotas.MaxArrayLength = 6553600; binding.ReaderQuotas.MaxBytesPerRead = 6553600; return new ChannelFactory<IMachineStudioUpdateService>(binding, SettingsManager.Default.GetOrCreate<MachineStudioSettings>().UpdateServiceAddress); } } }