| | |
| | | if (mathCurrentRow <= maxDepth) |
| | | { |
| | | locationInfos = locationInfos.Where(x => x.Row - Convert.ToInt32(Math.Ceiling(x.Row / maxDepth / 2.0)) * maxDepth * 2 <= maxDepth).ToList(); |
| | | if (beRelocation.Row> maxDepth) |
| | | { |
| | | locationInfos = locationInfos.Where(x=>x.Row>maxDepth).ToList(); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | locationInfos = locationInfos.Where(x => x.Row - Convert.ToInt32(Math.Ceiling(x.Row / maxDepth / 2.0)) * maxDepth * 2 > maxDepth).ToList(); |
| | | if (beRelocation.Row <= maxDepth) |
| | | { |
| | | locationInfos = locationInfos.Where(x => x.Row <= maxDepth).ToList(); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | //鍒ゆ柇濡傛灉宸插畾涔夎揣浣嶇被鍨嬬殑璐т綅鍜屾湭瀹氫箟绫诲瀷鐨勭┖璐т綅閮戒负绌洪噴鏀炬弧瓒虫潯浠剁殑璐т綅 |
| | | if (!definedTypeEmptyLocations.Any() && !undefinedTypeEmptyLocations.Any()) |
| | | { |
| | | ////鍒ゆ柇濡傛灉宸插畾涔夎揣浣嶇被鍨嬬殑璐т綅鍜屾湭瀹氫箟绫诲瀷鐨勭┖璐т綅閮戒负绌洪噴鏀炬弧瓒虫潯浠剁殑璐т綅 |
| | | //if (!definedTypeEmptyLocations.Any() && !undefinedTypeEmptyLocations.Any()) |
| | | //{ |
| | | |
| | | } |
| | | //} |
| | | return null; |
| | | } |
| | | } |