/*---------------------------------------------------------------- // Copyright (C) 2007 liu523@QQ.COM // 版权所有。 // 开发者:liu523@QQ.COM团队 // 文件名:Constant.cs // 文件功能描述: 常量类(包含各种默认值)。 //----------------------------------------------------------------*/ using System; using System.Text; namespace RemoteControlLib.Common { /// /// 常量类(包含各种默认值) /// public class Constant { /// /// 等待重试时间 /// public const int SleepTime = 1000; /// /// 最大重试次数 /// public const int MaxTimes = 100; /// /// 默认主要通讯端口 /// public const int Port_Main = 5566; /// /// 默认文件发送端口 /// public const int Port_File = 6566; /// /// 默认屏幕发送端口 /// public const int Port_Screen = 7566; ///// ///// 升级程序的端口 ///// //public const int Port_Update = 8566; /// /// 默认屏幕大小 /// public static System.Drawing.Size ScreenSize = new System.Drawing.Size(1024, 768); /// /// 上一层 /// public const string ParentPath = "上一层"; /// /// 不可能的文件扩展名 /// public const string UnknowFileType = "/"; ///// ///// 服务端的密码文件名 ///// //public static string PassWordFilename = System.IO.Directory.GetCurrentDirectory()+"\\INCUpwd.lll"; ///// ///// 客户端的配置文件名 ///// //public static string OptionFilename = System.IO.Directory.GetCurrentDirectory() + "\\INCUopt.lll"; ///// ///// 客户端的帮助文件名 ///// //public static string HelpFilename = System.IO.Directory.GetCurrentDirectory() + "\\INCU.chm"; } }