public void RegisterSectionBlock(BSEQSectionBlock sectionBlock) { if (sectionBlock != null) { BSEQManager.GetInstance().AddSectionBlock(SequenceID, sectionBlock); } }
public override string ToString() { BSEQSectionBlock block = BSEQManager.GetInstance().GetSectionBlockForSequenceID(SequenceID); if (block == null) { return(SequenceID.ToString()); } else { return(block.Name.ToString()); } }
public override string ToString() { BSEQSectionBlock block = BSEQManager.GetInstance().GetSectionBlockForSequenceID(OwnSequenceID.SequenceID); if (block == null || !(block is BSEQSecuenceSectionBlock)) { return(PrintBasicInfo()); } BSEQSecuenceSectionBlock seqBlock = block as BSEQSecuenceSectionBlock; BSEQSectionBlock srcBlock = (srcSubSeq == -1) ? seqBlock : BSEQManager.GetInstance().GetSectionBlockForSequenceID(seqBlock.SequenceBlock.SubSectionTable.Entries[srcSubSeq].SequenceID.SequenceID); BSEQSectionBlock dstBlock = (dstSubSeq == -1) ? seqBlock : BSEQManager.GetInstance().GetSectionBlockForSequenceID(seqBlock.SequenceBlock.SubSectionTable.Entries[dstSubSeq].SequenceID.SequenceID); String srcName = srcBlock.Name.ToString() + "::" + srcBlock.ExitCodeList.GetEntryFromID(srcID).NameOffset.ToString(); String dstName = dstBlock.Name.ToString() + "::" + dstBlock.EnterCodeList.GetEntryFromID(dstID).NameOffset.ToString(); return(srcName + " -> " + dstName); }