Commit 33484065 authored by smane's avatar smane

According to Bom Level explode the bom details and Rounding Required field...

According to Bom Level explode the bom details and Rounding Required field value is 'Yes' then execute calculateQuantity method , if value is 'No' then skip this method in  Run MRP Process (M15BSUN001)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98049 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 21ffa262
...@@ -217,7 +217,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -217,7 +217,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
String yield=""; String yield="";
String soItemList=""; String soItemList="";
String roundingRequired="";
int bomLevel=0;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException
{ {
System.out.println("Called process(string, string)....."); System.out.println("Called process(string, string).....");
...@@ -231,6 +232,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -231,6 +232,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
// - // -
try try
{ {
System.out.println(">>>>>xmlString:"+xmlString);
if (xmlString != null && xmlString.trim().length() != 0) if (xmlString != null && xmlString.trim().length() != 0)
{ {
// System.out.println("XML String :" + xmlString); // System.out.println("XML String :" + xmlString);
...@@ -280,7 +282,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -280,7 +282,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
public String getData(Document dom, Document dom1, String windowName, String xtraParams) throws RemoteException, ITMException public String getData(Document dom, Document dom1, String windowName, String xtraParams) throws RemoteException, ITMException
{ {
errString = ""; errString = "";
String resultString = "",windowName1="",bomCodeParent= ""; String resultString = "",windowName1="",bomCodeParent= "",bomLevelStr="";
ResultSet rs = null; ResultSet rs = null;
this.wnName=windowName; this.wnName=windowName;
long endTime = 0, totalTime = 0, totalHrs = 0, totlMts = 0, totSecs = 0; // Added long endTime = 0, totalTime = 0, totalHrs = 0, totlMts = 0, totSecs = 0; // Added
...@@ -338,6 +340,23 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -338,6 +340,23 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
soItemList = genericUtility.getColumnValue("soItemList", dom); // added by cpatil soItemList = genericUtility.getColumnValue("soItemList", dom); // added by cpatil
System.out.println("@@@@@@soItemList["+soItemList+"]"); System.out.println("@@@@@@soItemList["+soItemList+"]");
yield = genericUtility.getColumnValue("yield", dom);//added by chandrashekar on 05-Feb-2015 yield = genericUtility.getColumnValue("yield", dom);//added by chandrashekar on 05-Feb-2015
//added by sagar on 28/05/2015, Start
roundingRequired = checkNull(genericUtility.getColumnValue("rounding_required", dom));
bomLevelStr = checkNull(genericUtility.getColumnValue("bom_level", dom));//added by sagar on 28/05/2015
System.out.println(">>>>>>In getData roundingRequired:"+roundingRequired);
System.out.println(">>>>>>In getData bomLevelStr:"+bomLevelStr);
if(bomLevelStr == null || bomLevelStr.trim().length()==0)
{
bomLevelStr="0";
}
bomLevel=Integer.parseInt(bomLevelStr);
if(roundingRequired == null || roundingRequired.trim().length()==0)
{
roundingRequired="Y";
}
System.out.println(">>>>>>In getData roundingRequired:"+roundingRequired);
System.out.println(">>>>>>In getData bomLevel:"+bomLevel);
//added by sagar on 28/05/2015, End
if(yield == null || yield.trim().length() == 0) if(yield == null || yield.trim().length() == 0)
{ {
yield = "Y"; yield = "Y";
...@@ -692,7 +711,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -692,7 +711,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
//adpElement.setDemand(dateFrom,bomReplaceDemand , " ", " " ); //adpElement.setDemand(dateFrom,bomReplaceDemand , " ", " " );
//270115 //adpeList.add(adpElement); //270115 //adpeList.add(adpElement);
//cpatil-25/08/14-System.out.println("13/06/14 adpeList.size() after 1 [" + adpeList.size() + "] itemBomMap [" + itemBomMap + "]"); //cpatil-25/08/14-System.out.println("13/06/14 adpeList.size() after 1 [" + adpeList.size() + "] itemBomMap [" + itemBomMap + "]");
System.out.println(">>>>Before calling bomExplode at line 706 in getDate() bomCode1:"+bomCode1);
errString = bomExplode( siteCode1, bomCode1); errString = bomExplode( siteCode1, bomCode1);
endTime = System.currentTimeMillis(); endTime = System.currentTimeMillis();
totalTime = endTime - startTime; totalTime = endTime - startTime;
...@@ -970,7 +989,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -970,7 +989,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
totSecs = (int) (totSecs - ((totalHrs * 3600) + (totlMts * 60))); totSecs = (int) (totSecs - ((totalHrs * 3600) + (totlMts * 60)));
//cpatil-25/08/14-System.out.println("Total Time Spend Write2XSL [" + totalHrs + "] Hours [" + totlMts + "] Minutes [" + totSecs + "] seconds"); //cpatil-25/08/14-System.out.println("Total Time Spend Write2XSL [" + totalHrs + "] Hours [" + totlMts + "] Minutes [" + totSecs + "] seconds");
} catch (SQLException se) }
catch (SQLException se)
{ {
System.out.println("SQLException :RunMRPPrcEJB :process(Document dom, Document dom2, String winName, String xtraParams):" + se.getMessage() + ":"); System.out.println("SQLException :RunMRPPrcEJB :process(Document dom, Document dom2, String winName, String xtraParams):" + se.getMessage() + ":");
this.errString = genericUtility.createErrorString(se); this.errString = genericUtility.createErrorString(se);
...@@ -1014,11 +1034,20 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1014,11 +1034,20 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
public String validateFilterParams(Document dom) throws ITMException public String validateFilterParams(Document dom) throws ITMException
{ {
String processCycleString = null; String processCycleString = null;
String bomLevelStr="";
//added by sagar on 02/06/15,start
String childNodeName = null;
int currentFormNo = 0;
int childNodeListLength;
int ctr = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
//added by sagar on 02/06/15,end
try try
{ {
genericUtility = genericUtility.getInstance(); genericUtility = genericUtility.getInstance();
// Fetching SiteCodeFrom from Entered by User in GUI // Fetching SiteCodeFrom from Entered by User in GUI
verifier = genericUtility.getColumnValue("verifier", dom); verifier = genericUtility.getColumnValue("verifier", dom);
// System.out.println("verifier ::"+verifier); // System.out.println("verifier ::"+verifier);
...@@ -1266,6 +1295,43 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1266,6 +1295,43 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
runDate = java.sql.Timestamp.valueOf(sRunDate + " 00:00:00"); runDate = java.sql.Timestamp.valueOf(sRunDate + " 00:00:00");
runDateString = simpleDateFormat.format(runDate); runDateString = simpleDateFormat.format(runDate);
// end 01-10-2007 manoharan // end 01-10-2007 manoharan
//code added by sagar on 01/06/15, Start..
System.out.println(">>>>>In validateFilterParams wnName is:"+wnName);
if("w_run_mrp".equals(wnName))
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for (ctr = 0; ctr < childNodeListLength; ctr++)
{
System.out.println(">>>>>>In validateFilterParams for loop:");
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
System.out.println("check childNodeName for bom_level:"+childNodeName);
if (childNodeName.equalsIgnoreCase("bom_level"))
{
bomLevelStr = genericUtility.getColumnValue("bom_level", dom);
System.out.println(">>>>>>>In val getData bomLevelStr:"+bomLevelStr);
if (bomLevelStr == null || bomLevelStr.trim().length() == 0)
{
errString = itmDBAccessEJB.getErrorString("", "VMBOMLVLNL", "", "", conn);
return errString;
}
else
{
bomLevel=Integer.parseInt(bomLevelStr.trim());
System.out.println(">>>>>In val bomLevel:"+bomLevel);
if(bomLevel <= 0)
{
errString = itmDBAccessEJB.getErrorString("", "VMBOMLVLVD", "", "", conn);
return errString;
}
}
}
}
}
//code added by sagar on 01/06/15, End.
} catch (Exception e) } catch (Exception e)
{ {
System.out.println("Exception :RunMRPPrcEJB :process(Document dom, Document dom2, String windowName, String xtraParams):" + e.getMessage() + ":"); System.out.println("Exception :RunMRPPrcEJB :process(Document dom, Document dom2, String windowName, String xtraParams):" + e.getMessage() + ":");
...@@ -1740,7 +1806,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1740,7 +1806,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
validBomItemCode = cyclicItem.itemCode; // 19-01-2007 validBomItemCode = cyclicItem.itemCode; // 19-01-2007
// manoharan // manoharan
cyclicCheck = new HashSet(); cyclicCheck = new HashSet();
System.out.println(">>>>Before calling bomExplode at line 1755 in populateAllItem() bomCode:"+bomCode);
errString = bomExplode((String) siteMapEntry.getKey(), bomCode); errString = bomExplode((String) siteMapEntry.getKey(), bomCode);
System.out.println(">>>>>>errString from bomExplode at line 1755 in populateAllItem():"+errString);
itemHashMap.clear(); itemHashMap.clear();
if (errString != null && errString.trim().length() > 0) if (errString != null && errString.trim().length() > 0)
{ {
...@@ -1791,7 +1859,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1791,7 +1859,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
String bomItem=""; String bomItem="";
try try
{ {
System.out.println(">>>>>>>>>In bomExplode bomCode:"+bomCode);
// 19-01-2007 manoharan // 19-01-2007 manoharan
// check whether the bom is valid should be confirmed and active // check whether the bom is valid should be confirmed and active
pstmtValidBom = conn.prepareStatement(sqlValidBom); pstmtValidBom = conn.prepareStatement(sqlValidBom);
...@@ -1936,8 +2004,11 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1936,8 +2004,11 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
//Ended by Manoj dtd 30/04/2014 to add Alternate items in list //Ended by Manoj dtd 30/04/2014 to add Alternate items in list
} }
System.out.println(">>>>>>>>Before increase level is:"+level);
level = level + ctr; level = level + ctr;
hmap.put(new Integer(level), levelBom); hmap.put(new Integer(level), levelBom);
System.out.println(">>>>>>>>>level:"+level);
System.out.println(">>>>>>bomLevel:"+bomLevel);
//cpatil-25/08/14-System.out.println("level--" + level); //cpatil-25/08/14-System.out.println("level--" + level);
for (int i = 1; i < level; i++) for (int i = 1; i < level; i++)
{ {
...@@ -1953,7 +2024,16 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -1953,7 +2024,16 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
rs.beforeFirst(); rs.beforeFirst();
while (rs.next()) while (rs.next())
{ {
System.out.println(">>>>>In bom Explode Main while level is:"+level);
if(bomLevel > 0)//condition added by sagar on 29/05/15
{
if(level > bomLevel )
{
System.out.println(">>>>>>>>level is greater than bomLevel:"+level);
break;
}
}
// System.out.println("Item Code : "+rs.getString(1)); // System.out.println("Item Code : "+rs.getString(1));
// 14/06/14 manoharan in case of changing bom_code itemCodeMap is not populated so populate the same // 14/06/14 manoharan in case of changing bom_code itemCodeMap is not populated so populate the same
//if( isBomReplace ) //if( isBomReplace )
...@@ -2044,6 +2124,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2044,6 +2124,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
//cpatil-25/08/14-System.out.println("levelBom.contains(rs.getString(1))--" + levelBom.contains(rs.getString(1))); //cpatil-25/08/14-System.out.println("levelBom.contains(rs.getString(1))--" + levelBom.contains(rs.getString(1)));
// Added by Jiten 07/11/06// // Added by Jiten 07/11/06//
System.out.println(">>>>>verifier is:"+verifier);
if (verifier != null && verifier.equalsIgnoreCase("Y")) if (verifier != null && verifier.equalsIgnoreCase("Y"))
{ {
this.fw.write(cyclicItem.siteCode + " " + cyclicItem.bomCode + " " + cyclicItem.itemCode + " " + rs.getString(1) + "\r\n"); this.fw.write(cyclicItem.siteCode + " " + cyclicItem.bomCode + " " + cyclicItem.itemCode + " " + rs.getString(1) + "\r\n");
...@@ -2114,7 +2195,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2114,7 +2195,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
} }
} }
} else }
else
{ {
//cpatil-25/08/14-System.out.println("manohar 14/01/12 checking item existance in itemCodeMap material -------" + rs.getString(1)); //cpatil-25/08/14-System.out.println("manohar 14/01/12 checking item existance in itemCodeMap material -------" + rs.getString(1));
if (!itemCodeMap.containsKey(rs.getString(1))) if (!itemCodeMap.containsKey(rs.getString(1)))
...@@ -2179,7 +2261,11 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2179,7 +2261,11 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
// + siteCode + " Item : " + rs.getString(1) + " BOM : " // + siteCode + " Item : " + rs.getString(1) + " BOM : "
// + innerBomCode); // + innerBomCode);
validBomItemCode = rs.getString(1); validBomItemCode = rs.getString(1);
System.out.println(">>>>Before calling bomExplode at line 2197 in bomExplode() innerBomCode:"+innerBomCode);
System.out.println(">>>>Before calling bomExplode at line 2197 in level is:"+level);
errString = bomExplode(siteCode, innerBomCode); errString = bomExplode(siteCode, innerBomCode);
System.out.println(">>>>>>errString from bomExplode at line 2197 in bomExplode():"+errString);
System.out.println(">>>>After calling bomExplode at line 2197 in level is:"+level);
if (errString != null && errString.trim().length() > 0) if (errString != null && errString.trim().length() > 0)
{ {
...@@ -2190,7 +2276,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2190,7 +2276,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
} }
} }
} else }
else
{ {
rsCount.close(); rsCount.close();
sqlInner2 = "SELECT COUNT(1) FROM BOM WHERE BOM_CODE = ?"; sqlInner2 = "SELECT COUNT(1) FROM BOM WHERE BOM_CODE = ?";
...@@ -2205,7 +2292,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2205,7 +2292,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
rsCount.close(); rsCount.close();
pstmtInner2.close(); pstmtInner2.close();
validBomItemCode = "BOMDET:" + rs.getString(1); validBomItemCode = "BOMDET:" + rs.getString(1);
System.out.println(">>>>Before calling bomExplode at line 2225 in bomExplode():");
errString = bomExplode(siteCode, rs.getString(1)); errString = bomExplode(siteCode, rs.getString(1));
System.out.println(">>>>>>errString from bomExplode at line 2225 in bomExplode():"+errString);
if (errString != null && errString.trim().length() > 0) if (errString != null && errString.trim().length() > 0)
{ {
System.out.println("Error While Calling method bomExplode(String, String):..." + errString); System.out.println("Error While Calling method bomExplode(String, String):..." + errString);
...@@ -2218,7 +2307,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -2218,7 +2307,9 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
} }
} }
System.out.println(">>>>>>Before decrease level--:"+level);
level--; level--;
System.out.println(">>>>>>After decrease level--:"+level);
rs.close(); rs.close();
rs = null;// Added by Jiten 09/11/06 -Sun rs = null;// Added by Jiten 09/11/06 -Sun
} catch (SQLException se) } catch (SQLException se)
...@@ -5640,9 +5731,13 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -5640,9 +5731,13 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
} }
// 10-04-2006 manoharan // 10-04-2006 manoharan
System.out.println("5404----quantity----["+quantity+"]"); System.out.println("5654----quantity----["+quantity+"]");
quantity = calculateQuantity(adpElement, dueDate, quantity); //quantity = calculateQuantity(adpElement, dueDate, quantity);//comment added by sagar on 28/05/15
System.out.println("5406----quantity----["+quantity+"]"); if("Y".equals(roundingRequired))//condition added by sagar on 28/05/15
{
quantity = calculateQuantity(adpElement, dueDate, quantity);
}
System.out.println("5660----quantity----["+quantity+"]");
/* ArrayList<String> orderList=adpElement.getOrderList(); /* ArrayList<String> orderList=adpElement.getOrderList();
if(orderList.size()>0) if(orderList.size()>0)
{ {
...@@ -5939,9 +6034,13 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -5939,9 +6034,13 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
quantity = Double.parseDouble(getRequiredDecimal((((quantity) * 100) / yieldPerc),3)==null?"0":getRequiredDecimal((((quantity) * 100) / yieldPerc),3)); quantity = Double.parseDouble(getRequiredDecimal((((quantity) * 100) / yieldPerc),3)==null?"0":getRequiredDecimal((((quantity) * 100) / yieldPerc),3));
} }
// 10-04-2006 manoharan // 10-04-2006 manoharan
System.out.println("5702----quantity----["+quantity+"]"); System.out.println("5957----quantity----["+quantity+"]");
quantity = calculateQuantity(adpElement, dueDate, quantity); //quantity = calculateQuantity(adpElement, dueDate, quantity);//comment added by sagar on 28/05/15
System.out.println("5704----quantity----["+quantity+"]"); if("Y".equals(roundingRequired))//condition added by sagar on 28/05/15
{
quantity = calculateQuantity(adpElement, dueDate, quantity);
}
System.out.println("5963----quantity----["+quantity+"]");
} }
/* /*
...@@ -10039,6 +10138,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -10039,6 +10138,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
//cpatil-25/08/14-System.out.println("@@@@@@@@itemCDDetailMap["+itemCDDetailMap+"]"); //cpatil-25/08/14-System.out.println("@@@@@@@@itemCDDetailMap["+itemCDDetailMap+"]");
//cpatil-25/08/14-System.out.println("@@@@@@@@itemCodeParent["+itemCodeParent+"]originalOrAltitem["+originalOrAltitem+"]adpElement.getBomCodeParent()["+adpElement.getBomCodeParent()+"]"); //cpatil-25/08/14-System.out.println("@@@@@@@@itemCodeParent["+itemCodeParent+"]originalOrAltitem["+originalOrAltitem+"]adpElement.getBomCodeParent()["+adpElement.getBomCodeParent()+"]");
ArrayList timeMRParr = adpElement.getTimeMrpList(); ArrayList timeMRParr = adpElement.getTimeMrpList();
System.out.println("timeMRParr>>>>>"+timeMRParr);
System.out.println("Printing timeMRParr.size()---" + timeMRParr.size()); System.out.println("Printing timeMRParr.size()---" + timeMRParr.size());
//detailMap=adpElement.getDetMap();//Added by Manoj dtd 02/11/2013 //detailMap=adpElement.getDetMap();//Added by Manoj dtd 02/11/2013
...@@ -10068,13 +10168,22 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -10068,13 +10168,22 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
double runningSupplySum = 0,planSupplySumSum = 0; double runningSupplySum = 0,planSupplySumSum = 0;
int timeCtrLength=0; int timeCtrLength=0;
//for (int timeCtr = 0; timeCtr < timeMRParr.size(); timeCtr++) //for (int timeCtr = 0; timeCtr < timeMRParr.size(); timeCtr++)
if(isDetailReq) /*if(isDetailReq) //comment added by chandrashekar on 01/06/15
{ {
timeCtrLength=1; timeCtrLength=1;
} }
else else
{ {
timeCtrLength= timeMRParr.size(); timeCtrLength= timeMRParr.size();
}*/
if(isRequirement)
{
timeCtrLength= timeMRParr.size();
}
else
{
timeCtrLength=1;
} }
for (int timeCtr = 0; timeCtr < timeCtrLength ; timeCtr++) for (int timeCtr = 0; timeCtr < timeCtrLength ; timeCtr++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment