예제 #1
0
        ProjectorInformation_SelectPrefix GetProjectorInformation_SelectPrefix(ProjectorInformation_EncodingRules projeEncoding)
        {
            ProjectorInformation_SelectPrefix projeSelect = new ProjectorInformation_SelectPrefix();

            projeSelect.TypeName                   = projeEncoding.TypeName;
            projeSelect.Prefix_BodyCode            = projeEncoding.Prefix_BodyCode;
            projeSelect.Prefix_OpticalCode         = projeEncoding.Prefix_OpticalCode;
            projeSelect.Prefix_MotherboardEncoding = projeEncoding.Prefix_MotherboardEncoding;
            projeSelect.ZhiDan = this.ZhiDan;

            return(projeSelect);
        }
예제 #2
0
 void SetTxtBox(ProjectorInformation_EncodingRules proje, bool bl)
 {
     if (bl)
     {
         txt_TypeName.Text                   = proje.TypeName;
         txt_Prefix_BodyCode.Text            = proje.Prefix_BodyCode == null ? "" : proje.Prefix_BodyCode;
         txt_Prefix_OpticalCode.Text         = proje.Prefix_OpticalCode == null ? "" : proje.Prefix_OpticalCode;
         txt_Prefix_MotherboardEncoding.Text = proje.Prefix_MotherboardEncoding == null ? "" : proje.Prefix_MotherboardEncoding;
     }
     else
     {
         txt_TypeName.Text                   = "";
         txt_Prefix_BodyCode.Text            = "";
         txt_Prefix_OpticalCode.Text         = "";
         txt_Prefix_MotherboardEncoding.Text = "";
     }
 }