private void DistributeQmt_Week(DateTime oDate, string deviceID, double oVal) { //DayOfWeek day = CultureInfo.InvariantCulture.Calendar.GetDayOfWeek(oDate); //int result = (int)day; //string QmtIndex = "Week_" + result.ToString("00"); string QmtIndex = TankFactory.Get_QmtIdx_TmuDi(oDate, "Week", deviceID); AddDateAndValueToQmt(oDate, oVal, QmtIndex); //// Special Area //if (isTrafficArea(deviceID)) //{ // AddDateAndValueToQmt(oDate, oVal, QmtIndex + "_TrafficArea"); //} //if (isIndustrialArea(deviceID)) //{ // AddDateAndValueToQmt(oDate, oVal, QmtIndex + "_IndustrialArea"); //} //if (isResidentialArea(deviceID)) //{ // AddDateAndValueToQmt(oDate, oVal, QmtIndex + "_ResidentialArea"); //} }