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;
        }
 public MappingEntry(MappingEntry newInstance)
 {
 }
 public MappingEntry Clone()
 {
     MappingEntry mappingEntryClone = new MappingEntry();
     DeepCloneIntoExistingInstance(mappingEntryClone);
     return mappingEntryClone;
 }
 protected void DeepCloneIntoExistingInstance(MappingEntry entry)
 {
     entry.Id = this.Id;
     entry.InMssMsgRange = this.InMssMsgRange.Clone();
     entry.OutMssMsgRange = this.OutMssMsgRange.Clone();
     entry.OverrideDuplicates = this.OverrideDuplicates;
     entry.CurveShapeInfo = this.CurveShapeInfo.Clone();
     entry.PrimaryInputSource = this.PrimaryInputSource;
     entry.ActiveTransformPresetName = this.ActiveTransformPresetName;
 }
Example #5
0
 public MappingEntry(MappingEntry newInstance)
 {
 }