コード例 #1
0
        public static void CopyA01_Info(ref Pattent_Lao_Info_Export p_appDetail, Pattent_Lao_Info p_A01_Info)
        {
            p_appDetail.App_Header_Id = p_A01_Info.App_Header_Id;
            p_appDetail.Language_Code = p_A01_Info.Language_Code;
            p_appDetail.Appno         = p_A01_Info.Appno;

            p_appDetail.Patent_Type = p_A01_Info.Patent_Type;
            p_appDetail.Title       = p_A01_Info.Title;

            p_appDetail.Request     = p_A01_Info.Request;
            p_appDetail.Claims      = p_A01_Info.Claims;
            p_appDetail.Abstract    = p_A01_Info.Abstract;
            p_appDetail.Drawing     = p_A01_Info.Drawing;
            p_appDetail.Description = p_A01_Info.Description;

            p_appDetail.Number_Industrial = p_A01_Info.Number_Industrial;
            p_appDetail.Number_Sheet      = p_A01_Info.Number_Sheet;

            p_appDetail.Multiple     = p_A01_Info.Multiple;
            p_appDetail.SetOfArticle = p_A01_Info.SetOfArticle;
            p_appDetail.Composition  = p_A01_Info.Composition;

            p_appDetail.Filling_Fee = p_A01_Info.Filling_Fee;
            p_appDetail.Basic_Fee   = p_A01_Info.Basic_Fee;
            p_appDetail.Others_Fee  = p_A01_Info.Others_Fee;

            p_appDetail.Name_Of_Print = p_A01_Info.Name_Of_Print;
            p_appDetail.Date_Signed   = p_A01_Info.Date_Signed;

            p_appDetail.Class_Content = p_A01_Info.Class_Content;
            p_appDetail.Used_Special  = p_A01_Info.Used_Special;
        }
コード例 #2
0
        public static void CopyAppHeaderInfo(ref Pattent_Lao_Info_Export p_appDetail, ApplicationHeaderInfo pAppInfo)
        {
            p_appDetail.STT = pAppInfo.STT;
            //p_appDetail.ID = pAppInfo.Id;
            p_appDetail.Appcode = pAppInfo.Appcode;

            // chủ đơn
            p_appDetail.Master_Name    = pAppInfo.Master_Name;
            p_appDetail.Master_Address = pAppInfo.Master_Address;
            p_appDetail.Master_Phone   = pAppInfo.Master_Phone;
            p_appDetail.Master_Fax     = pAppInfo.Master_Fax;
            p_appDetail.Master_Email   = pAppInfo.Master_Email;
            p_appDetail.Master_Type    = pAppInfo.Master_Type == null ? "" : pAppInfo.Master_Type;
            p_appDetail.Customer_Code  = pAppInfo.Customer_Code == null ? "239" : pAppInfo.Customer_Code;
            p_appDetail.Master_Country_Nationality_Name   = pAppInfo.Master_Country_Nationality_Name == null ? "" : pAppInfo.Master_Country_Nationality_Name;
            p_appDetail.Master_Country_Residence_Name     = pAppInfo.Master_Country_Residence_Name == null ? "" : pAppInfo.Master_Country_Residence_Name;
            p_appDetail.Master_Country_Incorporation_Name = pAppInfo.Master_Country_Incorporation_Name == null ? "" : pAppInfo.Master_Country_Incorporation_Name;

            // đại diện chủ đơn
            p_appDetail.Rep_Master_Type    = pAppInfo.Rep_Master_Type;
            p_appDetail.Rep_Master_Name    = pAppInfo.Rep_Master_Name;
            p_appDetail.Rep_Master_Address = pAppInfo.Rep_Master_Address;
            p_appDetail.Rep_Master_Phone   = pAppInfo.Rep_Master_Phone;
            p_appDetail.Rep_Master_Fax     = pAppInfo.Rep_Master_Fax;
            p_appDetail.Rep_Master_Email   = pAppInfo.Rep_Master_Email;
            p_appDetail.Rep_MT_Country_Nationality_Name   = pAppInfo.Rep_MT_Country_Nationality_Name == null ? "" : pAppInfo.Rep_MT_Country_Nationality_Name;
            p_appDetail.Rep_MT_Country_Residence_Name     = pAppInfo.Rep_MT_Country_Residence_Name == null ? "" : pAppInfo.Rep_MT_Country_Residence_Name;
            p_appDetail.Rep_MT_Country_Incorporation_Name = pAppInfo.Rep_MT_Country_Incorporation_Name == null ? "" : pAppInfo.Rep_MT_Country_Incorporation_Name;


            p_appDetail.Relationship   = pAppInfo.Relationship;
            p_appDetail.Send_Date      = pAppInfo.Send_Date;
            p_appDetail.Status         = pAppInfo.Status;
            p_appDetail.Status_Form    = pAppInfo.Status_Form;
            p_appDetail.Status_Content = pAppInfo.Status_Content;
            p_appDetail.Remark         = pAppInfo.Remark;
            p_appDetail.AppName        = pAppInfo.AppName;
            p_appDetail.Address        = pAppInfo.Address;
            p_appDetail.DateNo         = pAppInfo.DateNo;
            p_appDetail.Months         = pAppInfo.Months;
            p_appDetail.Years          = pAppInfo.Years;
        }
コード例 #3
0
 public static void CopyOther_MasterInfo(ref Pattent_Lao_Info_Export p_appDetail, Other_MasterInfo pAppInfo, int p_position)
 {
     if (p_position == 0)
     {
         if (pAppInfo != null)
         {
             p_appDetail.Master_Name_1    = pAppInfo.Master_Name;
             p_appDetail.Master_Address_1 = pAppInfo.Master_Address;
             p_appDetail.Master_Phone_1   = pAppInfo.Master_Phone;
             p_appDetail.Master_Fax_1     = pAppInfo.Master_Fax;
             p_appDetail.Master_Email_1   = pAppInfo.Master_Email;
         }
         else
         {
             p_appDetail.Master_Name_1    = "";
             p_appDetail.Master_Address_1 = "";
             p_appDetail.Master_Phone_1   = "";
             p_appDetail.Master_Fax_1     = "";
             p_appDetail.Master_Email_1   = "";
         }
     }
     else if (p_position == 1)
     {
         if (pAppInfo != null)
         {
             p_appDetail.Master_Name_2    = pAppInfo.Master_Name;
             p_appDetail.Master_Address_2 = pAppInfo.Master_Address;
             p_appDetail.Master_Phone_2   = pAppInfo.Master_Phone;
             p_appDetail.Master_Fax_2     = pAppInfo.Master_Fax;
             p_appDetail.Master_Email_2   = pAppInfo.Master_Email;
         }
         else
         {
             p_appDetail.Master_Name_2    = "";
             p_appDetail.Master_Address_2 = "";
             p_appDetail.Master_Phone_2   = "";
             p_appDetail.Master_Fax_2     = "";
             p_appDetail.Master_Email_2   = "";
         }
     }
 }
コード例 #4
0
 public static void CopyUuTienInfo(ref Pattent_Lao_Info_Export p_appDetail, UTienInfo pAppInfo, int p_position)
 {
     if (pAppInfo != null)
     {
         if (p_position == 0)
         {
             p_appDetail.UT_SoDon           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 1)
         {
             p_appDetail.UT_SoDon_1           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_1      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_1 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 2)
         {
             p_appDetail.UT_SoDon_2           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_2      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_2 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 3)
         {
             p_appDetail.UT_SoDon_3           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_3      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_3 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 4)
         {
             p_appDetail.UT_SoDon_4           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_4      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_4 = pAppInfo.UT_QuocGia_Display;
         }
     }
 }
コード例 #5
0
 public static void Copy_Inventor_Info(ref Pattent_Lao_Info_Export p_appDetail, Inventor_Info pAppInfo, int p_position)
 {
     if (p_position == 0)
     {
         p_appDetail.Inventor_Name    = pAppInfo.Inventor_Name;
         p_appDetail.Inventor_Address = pAppInfo.Inventor_Address;
         p_appDetail.Inventor_Phone   = pAppInfo.Inventor_Phone;
         p_appDetail.Inventor_Fax     = pAppInfo.Inventor_Fax;
         p_appDetail.Inventor_Email   = pAppInfo.Inventor_Email;
         p_appDetail.Inventor_Country_Nationality_Name   = pAppInfo.Country_Nationality_Name;
         p_appDetail.Inventor_Country_Residence_Name     = pAppInfo.Country_Residence_Name;
         p_appDetail.Inventor_Country_Incorporation_Name = pAppInfo.Country_Incorporation_Name;
     }
     else if (p_position == 1)
     {
         if (pAppInfo != null)
         {
             p_appDetail.Inventor_Name_1    = pAppInfo.Inventor_Name;
             p_appDetail.Inventor_Address_1 = pAppInfo.Inventor_Address;
             p_appDetail.Inventor_Phone_1   = pAppInfo.Inventor_Phone;
             p_appDetail.Inventor_Fax_1     = pAppInfo.Inventor_Fax;
             p_appDetail.Inventor_Email_1   = pAppInfo.Inventor_Email;
             p_appDetail.Inventor_Country_Nationality_Name_1   = pAppInfo.Country_Nationality_Name;
             p_appDetail.Inventor_Country_Residence_Name_1     = pAppInfo.Country_Residence_Name;
             p_appDetail.Inventor_Country_Incorporation_Name_1 = pAppInfo.Country_Incorporation_Name;
         }
         else
         {
             p_appDetail.Inventor_Name_1    = "";
             p_appDetail.Inventor_Address_1 = "";
             p_appDetail.Inventor_Phone_1   = "";
             p_appDetail.Inventor_Fax_1     = "";
             p_appDetail.Inventor_Email_1   = "";
             p_appDetail.Inventor_Country_Nationality_Name_1   = "";
             p_appDetail.Inventor_Country_Residence_Name_1     = "";
             p_appDetail.Inventor_Country_Incorporation_Name_1 = "";
         }
     }
     else if (p_position == 2)
     {
         if (pAppInfo != null)
         {
             p_appDetail.Inventor_Name_2    = pAppInfo.Inventor_Name;
             p_appDetail.Inventor_Address_2 = pAppInfo.Inventor_Address;
             p_appDetail.Inventor_Phone_2   = pAppInfo.Inventor_Phone;
             p_appDetail.Inventor_Fax_2     = pAppInfo.Inventor_Fax;
             p_appDetail.Inventor_Email_2   = pAppInfo.Inventor_Email;
             p_appDetail.Inventor_Country_Nationality_Name_2   = pAppInfo.Country_Nationality_Name;
             p_appDetail.Inventor_Country_Residence_Name_2     = pAppInfo.Country_Residence_Name;
             p_appDetail.Inventor_Country_Incorporation_Name_2 = pAppInfo.Country_Incorporation_Name;
         }
         else
         {
             p_appDetail.Inventor_Name_2    = "";
             p_appDetail.Inventor_Address_2 = "";
             p_appDetail.Inventor_Phone_2   = "";
             p_appDetail.Inventor_Fax_2     = "";
             p_appDetail.Inventor_Email_2   = "";
             p_appDetail.Inventor_Country_Nationality_Name_2   = "";
             p_appDetail.Inventor_Country_Residence_Name_2     = "";
             p_appDetail.Inventor_Country_Incorporation_Name_2 = "";
         }
     }
 }