12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace FPER
- {
- //코드창에서 검색되어질거나 되어진 값을 넘기는 클래스
- public class SearchCodeVo
- {
- string code = null;
- string codeName = null;
- string codeType = null;
- object selectObject = null;
- bool searchOK = false;
- public SearchCodeVo(string codeType)
- {
- this.codeType = codeType;
- }
- public string Code { get { return this.code; } set { this.code = value; } }
- public string CodeName { get { return this.codeName; } set { this.codeName = value; } }
- public string CodeType { get { return this.codeType; } set { this.codeType = value; } }
- public object SelectObject { get { return this.selectObject; } set { this.selectObject = value; } }
- public bool SearchOK { get { return this.searchOK; } set { this.searchOK = value; } }
- }
- //ID입력값을 넘겨주는 VO:기본값이 0이상인경우만 입력값을 받도록 한다..
- public class InputIDVo
- {
- int receiverID = -1; //수신기ID
- int commID = -1; //COMM_ID 1-front,2-back,3-io,4-keypad
- int boardID = -1; //통신보드ID 또는 IO보드ID
- int loopNo = -1; //LoopNo(IO보드는 0)
- int repeaterID = -1; //중계기ID
- String inoutType = ""; //입력,출력구분
- int deviceID = -1; //회로ID
- // cyim 2015.6.8 아날로그 감지기 연동 추가
- // '1' = A : 2X2
- // '2' = B : 4X4
- // '4' = C : 아날로그연감지기
- // '5' = D : 아날로그열감지기
- String repeaterType = "";
- bool inputOK = false; //입력을 받았는지 여부
- bool deviceValue = false; //회로 값 0n,off
- InputDeviceStatus[] inputUnitData;
- OutputDeviceStatus[] outputUnitData;
- public InputIDVo()
- {
- }
- public InputDeviceStatus[] InputUnitData { get { return this.inputUnitData; } set { this.inputUnitData = value; } }
- public OutputDeviceStatus[] OutputUnitData { get { return this.outputUnitData; } set { this.outputUnitData = value; } }
- public String RepeaterType { get { return this.repeaterType; } set { this.repeaterType = value; } }
- public int ReceiverID { get { return this.receiverID; } set { this.receiverID = value; } }
- public int CommID { get { return this.commID; } set { this.commID = value; } }
- public int BoardID { get { return this.boardID; } set { this.boardID = value; } }
- public int LoopNo { get { return this.loopNo; } set { this.loopNo = value; } }
- public int RepeaterID { get { return this.repeaterID; } set { this.repeaterID = value; } }
- public String InoutType { get { return this.inoutType; } set { this.inoutType = value; } }
- public int DeviceID { get { return this.deviceID; } set { this.deviceID = value; } }
- public bool InputOK { get { return this.inputOK; } set { this.inputOK = value; } }
- public bool DeviceValue { get { return this.deviceValue; } set { this.deviceValue = value; } }
- }
- }
|