using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing; using System.Data.SqlClient; using System.IO; using System.Data; using System.Media; using System.Timers; namespace IControls_ExcelVerify { // 전역 변수 및 함수는 여기 클래스에서 전담한다 public static class _Data { // Program public static string Program_Version; // Project public static string Project_Name; public static string Project_Path; public static string Project_ExcelOpenCheck; // 1 : 체크함, 0 : 체크안함 // HashTable // 수신기 정보 해쉬테이블 public static Hashtable HASH_RECEIVER = new Hashtable(); // 수신기 정보 해쉬테이블 키 리스트 public static ArrayList LIST_RECEIVER_ID = new ArrayList(); // 맵디자이너중 리스트뷰의 아이템 패널(기기타입)에 아이콘을 추가하기 위해서 사용되는 해쉬테이블 public static Hashtable HASH_XMLDEVTYPE = new Hashtable(); // 맵디자이너중 리스트뷰의 아이템 패널(기기타입)에 아이콘을 추가하기 위해서 사용되는 해쉬테이블 키 리스트 public static ArrayList LIST_XMLDEVTYPE_ID = new ArrayList(); // _Receiver.xml 제거 : cyim 2012.8.29 -> 복구 2013.5.27 //// Read Receiver Xml 전용 해쉬테이블 //public static Hashtable HASH_XMLRECEIVER = new Hashtable(); //// Read Receiver Xml 전용 해쉬테이블 키 리스트 public static ArrayList LIST_XMLRECEIVER_ID = new ArrayList(); // 엑셀에서 포인트 정보를 읽은 결과를 저장하는 리스트 public static ArrayList List_ExcelPoint = new ArrayList(); // 엑셀에서 연동 그룹 정보를 읽은 결과를 저장하는 리스트 public static ArrayList List_ExcelGroup = new ArrayList(); // 엑셀에서 연동 맵 정보를 읽은 결과를 저장하는 리스트 public static ArrayList List_ExcelMap = new ArrayList(); // 엑셀에서 읽은 정보를 토대로 재생성되는 위치 정보, 디바이스 타입, IO 보드, 이벤트 타입 클래스 public static Hashtable HASH_CodePosition = new Hashtable(); public static ArrayList LIST_CodePosition_NAME = new ArrayList(); public static ArrayList LIST_CodeDeviceType = new ArrayList(); public static ArrayList LIST_CodeIOBoard = new ArrayList(); public static ArrayList LIST_CodeEventType = new ArrayList(); public static ArrayList LIST_CodeAnalogLevel = new ArrayList(); public static ArrayList LIST_CodeFireDayTime = new ArrayList(); // XML 데이타를 저장하였는지 최종 확인 (저장직전 해당 수신기 아이디가 리스트 형태로 저장됨) public static ArrayList LIST_XmlDBNotSave_Receiver = new ArrayList(); // 프로젝트 저장하였는지 최종 확인 public static bool ProJect_Save_Complete = true; //// 진행바 팝업창 마지막 문구 //public static string Result_Text = _Text.CompleteInform; // 메뉴를 클릭하여 활성화된 폼 public static Form MenuActivedForm = null; // 특별히 엑티브 레포트 뷰어는 메뉴 혹은 다른 형태로 생성될 가능성이 많으므로 여러개를 띄우지 않도록 처리 public static bool ActiveReportViewer_Enable = false; // 디바이스 입출력 포인트 출력용 해쉬테이블 (입력 및 출력 포인트 모두 저장 : 키는 수신기 아이디) public static Hashtable Hash_ImportPoint = new Hashtable(); // 1회성 데이타 (이전 데이타 저장용) public static string Temp_DeviceName = null; public static string Temp_Position = null; public static string Temp_GroupName = null; } }