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;
        }
Пример #2
0
 public MappingEntry(MappingEntry newInstance)
 {
 }
Пример #3
0
 public MappingEntry Clone()
 {
     MappingEntry mappingEntryClone = new MappingEntry();
     DeepCloneIntoExistingInstance(mappingEntryClone);
     return mappingEntryClone;
 }
Пример #4
0
 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;
 }
Пример #5
0
 public MappingEntry(MappingEntry newInstance)
 {
 }