frmSettingFiles.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Text;
  7. using System.Windows.Forms;
  8. namespace FPER {
  9. public partial class frmSettingFiles : Form {
  10. public frmSettingFiles() {
  11. InitializeComponent();
  12. }
  13. private void btnWinClose_Click(object sender, EventArgs e) {
  14. }
  15. private void btnWinClose_Click_1(object sender, EventArgs e) {
  16. Close();
  17. }
  18. public void frmSettingFiles_Load(object sender, EventArgs e) {
  19. // 가운데 위치로
  20. //1078, 824
  21. int Left = (1078 - this.Width) / 2;
  22. int Top = (824 - this.Height) / 2;
  23. Point loc = new Point(Left, Top);
  24. this.Location = loc;
  25. }
  26. }
  27. public class SettingData_IN_Group {
  28. }
  29. public class SettingData_OUT_Group {
  30. }
  31. public class Data_Group {
  32. String GroupID;
  33. String GroupName;
  34. String DeviceCode;
  35. }
  36. public class SettingData_MAP {
  37. }
  38. public class Data_MAP {
  39. String MAPID;
  40. String MAPName;
  41. String InCode;
  42. String OutCode;
  43. bool InType;
  44. bool OutType;
  45. int TBoardNo;
  46. int LoopNo;
  47. int RepeaterNo;
  48. public bool CheckInType(String incode) {
  49. return false;
  50. }
  51. public bool CheckOutType(String outcode) {
  52. return false;
  53. }
  54. public int GetTboardNo(String code) {
  55. return 0;
  56. }
  57. public int GetLoopNo(String code) {
  58. return 0;
  59. }
  60. public int GetRepeaterNo(String code) {
  61. return 0;
  62. }
  63. }
  64. public class SettingData_Line {
  65. int TBoardNo;
  66. int LoopNo;
  67. private SettingData_Repeater[] Repeater = new SettingData_Repeater[127];
  68. }
  69. public class SettingData_Repeater {
  70. int RepeaterNo;
  71. private SettingData_Device[] InDevice = new SettingData_Device[4];
  72. private SettingData_Device[] OutDevice = new SettingData_Device[4];
  73. }
  74. public class SettingData_Device {
  75. }
  76. }