Ejemplo n.º 1
0
        public IMssMsgRange Clone()
        {
            MssMsgRange msgRangeClone = new MssMsgRange();
            msgRangeClone.InitPublicMembers(this.MsgType,
                                            this.Data1RangeBottom, this.Data1RangeTop,
                                            this.Data2RangeBottom, this.Data2RangeTop);

            return msgRangeClone;
        }
Ejemplo n.º 2
0
        public IMssMsgRange Clone()
        {
            MssMsgRange msgRangeClone = new MssMsgRange();

            msgRangeClone.InitPublicMembers(this.MsgType,
                                            this.Data1RangeBottom, this.Data1RangeTop,
                                            this.Data2RangeBottom, this.Data2RangeTop);

            return(msgRangeClone);
        }
        protected IMappingEntry Factory_IMappingEntry(
            MssMsgType inMsgType, int inData1Bottom, int inData1Top, int inData2Bottom, int inData2Top,
            MssMsgType outMsgType, int outData1Bottom, int outData1Top, int outData2Bottom, int outData2Top)
        {
            MssMsgRange inMsgRange = new MssMsgRange();
            inMsgRange.InitPublicMembers(inMsgType, inData1Bottom, inData1Top, inData2Bottom, inData2Top);

            MssMsgRange outMsgRange = new MssMsgRange();
            outMsgRange.InitPublicMembers(outMsgType, outData1Bottom, outData1Top, outData2Bottom, outData2Top);

            IMappingEntry mappingEntry = new MappingEntry();
            mappingEntry.InitAllMembers(inMsgRange, outMsgRange, false, DEFAULT_CURVE_SHAPE_INFO);

            return mappingEntry;
        }