示例#1
0
        public RfcParameterMetadata_ForUI Convert_To_RfcParameterMetadata_ForUI(RfcParameterMetadata metadata)
        {
            RfcParameterMetadata_ForUI item = new RfcParameterMetadata_ForUI();
            item.Direction = metadata.Direction;
            item.DataType = metadata.DataType;
            item.Decimals = metadata.Decimals;
            item.DefaultValue = metadata.DefaultValue;
            item.Documentation = metadata.Documentation;
            item.Name = metadata.Name;
            item.NucLength = metadata.NucLength;
            item.Optional = metadata.Optional;
            item.UcLength = metadata.UcLength;

            return item;
        }
示例#2
0
        public RfcParameterMetadata_ForUI Convert_To_RfcParameterMetadata_ForUI(RfcParameterMetadata metadata)
        {
            RfcParameterMetadata_ForUI item = new RfcParameterMetadata_ForUI();

            item.Direction     = metadata.Direction;
            item.DataType      = metadata.DataType;
            item.Decimals      = metadata.Decimals;
            item.DefaultValue  = metadata.DefaultValue;
            item.Documentation = metadata.Documentation;
            item.Name          = metadata.Name;
            item.NucLength     = metadata.NucLength;
            item.Optional      = metadata.Optional;
            item.UcLength      = metadata.UcLength;

            return(item);
        }