EachFormVo.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace FPER
  5. {
  6. //코드창에서 검색되어질거나 되어진 값을 넘기는 클래스
  7. public class SearchCodeVo
  8. {
  9. string code = null;
  10. string codeName = null;
  11. string codeType = null;
  12. object selectObject = null;
  13. bool searchOK = false;
  14. public SearchCodeVo(string codeType)
  15. {
  16. this.codeType = codeType;
  17. }
  18. public string Code { get { return this.code; } set { this.code = value; } }
  19. public string CodeName { get { return this.codeName; } set { this.codeName = value; } }
  20. public string CodeType { get { return this.codeType; } set { this.codeType = value; } }
  21. public object SelectObject { get { return this.selectObject; } set { this.selectObject = value; } }
  22. public bool SearchOK { get { return this.searchOK; } set { this.searchOK = value; } }
  23. }
  24. //ID입력값을 넘겨주는 VO:기본값이 0이상인경우만 입력값을 받도록 한다..
  25. public class InputIDVo
  26. {
  27. int receiverID = -1; //수신기ID
  28. int commID = -1; //COMM_ID 1-front,2-back,3-io,4-keypad
  29. int boardID = -1; //통신보드ID 또는 IO보드ID
  30. int loopNo = -1; //LoopNo(IO보드는 0)
  31. int repeaterID = -1; //중계기ID
  32. String inoutType = ""; //입력,출력구분
  33. int deviceID = -1; //회로ID
  34. // cyim 2015.6.8 아날로그 감지기 연동 추가
  35. // '1' = A : 2X2
  36. // '2' = B : 4X4
  37. // '4' = C : 아날로그연감지기
  38. // '5' = D : 아날로그열감지기
  39. String repeaterType = "";
  40. bool inputOK = false; //입력을 받았는지 여부
  41. bool deviceValue = false; //회로 값 0n,off
  42. InputDeviceStatus[] inputUnitData;
  43. OutputDeviceStatus[] outputUnitData;
  44. public InputIDVo()
  45. {
  46. }
  47. public InputDeviceStatus[] InputUnitData { get { return this.inputUnitData; } set { this.inputUnitData = value; } }
  48. public OutputDeviceStatus[] OutputUnitData { get { return this.outputUnitData; } set { this.outputUnitData = value; } }
  49. public String RepeaterType { get { return this.repeaterType; } set { this.repeaterType = value; } }
  50. public int ReceiverID { get { return this.receiverID; } set { this.receiverID = value; } }
  51. public int CommID { get { return this.commID; } set { this.commID = value; } }
  52. public int BoardID { get { return this.boardID; } set { this.boardID = value; } }
  53. public int LoopNo { get { return this.loopNo; } set { this.loopNo = value; } }
  54. public int RepeaterID { get { return this.repeaterID; } set { this.repeaterID = value; } }
  55. public String InoutType { get { return this.inoutType; } set { this.inoutType = value; } }
  56. public int DeviceID { get { return this.deviceID; } set { this.deviceID = value; } }
  57. public bool InputOK { get { return this.inputOK; } set { this.inputOK = value; } }
  58. public bool DeviceValue { get { return this.deviceValue; } set { this.deviceValue = value; } }
  59. }
  60. }