public void SetMiscTypeData(doMiscTypeCode misc)
            {
                if (misc == null ||
                    MiscTypeObject == null ||
                    MiscTypeNameProperty == null)
                {
                    return;
                }

                foreach (PropertyInfo prop in MiscTypeNameProperty)
                {
                    if (prop.Name.EndsWith("EN"))
                    {
                        prop.SetValue(MiscTypeObject, misc.ValueDisplayEN, null);
                    }
                    else if (prop.Name.EndsWith("JP"))
                    {
                        prop.SetValue(MiscTypeObject, misc.ValueDisplayJP, null);
                    }
                    else if (prop.Name.EndsWith("LC"))
                    {
                        prop.SetValue(MiscTypeObject, misc.ValueDisplayLC, null);
                    }
                    else
                    {
                        prop.SetValue(MiscTypeObject, misc.ValueDisplay, null);
                    }
                }
            }
        public List <doMiscTypeCode> GetMiscTypeList()
        {
            try
            {
                List <doMiscTypeCode> mLst = new List <doMiscTypeCode>();
                if (MiscTypeList != null)
                {
                    foreach (MiscTypeMappingData mData in MiscTypeList)
                    {
                        doMiscTypeCode m = null;
                        foreach (doMiscTypeCode mm in mLst)
                        {
                            if (mm.FieldName == mData.MiscTypeKey &&
                                mm.ValueCode == mData.MiscTypeCode)
                            {
                                m = mm;
                            }
                        }
                        if (m == null)
                        {
                            m = new doMiscTypeCode()
                            {
                                FieldName = mData.MiscTypeKey,
                                ValueCode = mData.MiscTypeCode
                            };

                            if (CommonUtil.IsNullOrEmpty(mData.MiscTypeCode) || mData.MiscTypeCode.Trim() == string.Empty)
                            {
                                m.ValueCode = "%";
                            }
                            mLst.Add(m);
                        }
                    }
                }

                return(mLst);
            }
            catch (Exception)
            {
                throw;
            }
        }