Пример #1
0
        public RfcFieldMetadata_ForUI Convert_To_RfcFieldMetadata_ForUI(RfcFieldMetadata metadata)
        {
            RfcFieldMetadata_ForUI item = new RfcFieldMetadata_ForUI();
            item.DataType = metadata.DataType;
            item.Decimals = metadata.Decimals;
            item.Documentation = metadata.Documentation;
            item.Name = metadata.Name;
            item.NucLength = metadata.NucLength;
            item.UcLength = metadata.UcLength;

            return item;
        }
Пример #2
0
        public RfcFieldMetadata_ForUI Convert_To_RfcFieldMetadata_ForUI(RfcFieldMetadata metadata)
        {
            RfcFieldMetadata_ForUI item = new RfcFieldMetadata_ForUI();

            item.DataType      = metadata.DataType;
            item.Decimals      = metadata.Decimals;
            item.Documentation = metadata.Documentation;
            item.Name          = metadata.Name;
            item.NucLength     = metadata.NucLength;
            item.UcLength      = metadata.UcLength;

            return(item);
        }