|
@@ -896,8 +896,8 @@ namespace OTSGBCalculate
|
|
|
double totalHeight = pointTopleft.y - pointBottomright.y;
|
|
|
|
|
|
|
|
|
- int nPossibleGBFieldRowNum = totalHeight /GB_FIELD_WIDTH+0.5;//可能有的国标field行数
|
|
|
- int nPossibleGBFieldColNum = totalWidth / GB_FIELD_WIDTH+0.5;//列数
|
|
|
+ int nPossibleGBFieldRowNum = totalHeight / GB_FIELD_WIDTH;// +0.5;//可能有的国标field行数
|
|
|
+ int nPossibleGBFieldColNum = totalWidth / GB_FIELD_WIDTH;// +0.5;//列数
|
|
|
|
|
|
|
|
|
//get possible OTSFields
|