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; } }


    }


}