using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Threading; //using Agv_Control; using IO_Card_1730U; namespace AGVSystem.Cls { public class Param { public static bool Exit_Lg_Flag = false; public static bool StartFlag = false; public static string UserName=""; public static string Password=""; public static string UserName_temp = ""; public static string Password_temp = ""; public static Color backcolor; public static int Icon_Size = 32; //public static bool Traffic1 = false; //public static bool Traffic2 = false; //public static bool Traffic3 = false; //public static bool Traffic4 = false; public static bool Write_log; public static bool Display_CrossID = true; public static bool Hand1_St = false; public static bool Hand2_St = false; public static int Hand1_Agv_St = 0; public static int Hand2_Agv_St = 0; public static bool HandLoc1_Go = false; public static bool HandLoc2_Go = false; //public static bool BY_ST = false; //public static int BY_Write_Value = 0; public static bool BY1_GO = false; public static bool BY1_Leave = false; public static bool BY2_GO = false; public static bool BY2_Leave = false; public static string map1_path = ""; public static string map2_path = ""; public static string map3_path = ""; public static bool map1_status = true; public static bool map2_status = false; public static bool map3_status = false; public static bool Location_ID_Dispaly = true; public static string connectStr = ""; public static string Pro_id = ""; public static string Pro_factory = ""; public static string Pro_remark = ""; public static int Day_Count = 15; public static int Card1_Interval = 0; public static int Card2_Interval = 0; public static int Card3_Interval = 0; public static IO_Card_1730U.IO_Card card1; public static IO_Card_1730U.IO_Card card2; public static IO_Card_1730U.IO_Card card3; public static Thread[] th_GetData; /// /// 定义AGV的总数量 /// public static byte AGV_Qty = 0; public static Agv_Info.AgvInfo agvinfocls = new Agv_Info.AgvInfo(); public static Type t; /// /// 启动程序时自动开始管控 /// public static bool Auto_Control = false; public static bool Load_Path_His = false; public static byte PLC_Type = 0; //0:Omron Serial Hostlink //1:Omron Serial Fins //2:Siemens S7-200 Serial //3:Siemens S7-200 Net //4:SCM Net Protocol public static bool Agv_Location_Auto_Display = false; public static byte Map_ID = 1; public static int Thread_Count = -1; public static Boolean Frm_Ischild = false; public static string Xj_Time1 = ""; public static string Xj_Time2 = ""; public static bool Exit_Flag = false; public static int Wait_Time1 = 0; public static int Wait_Time2 = 0; } }