//处理行号
DocLineNoRule rule = new DocLineNoRule();
//取步长
int lineNoStep = (int)rule.Step;
//第几行
int lineNo = 1;
//计算行号
bomcomDTOb.Sequence = lineNoStep * (lineNo++);