// SelUseUnitDlg.cpp : implementation file // #include "stdafx.h" #include "SelUseUnitDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSelUseUnitDlg dialog CSelUseUnitDlg::CSelUseUnitDlg(CWnd* pParent /*=NULL*/) : CDialog(CSelUseUnitDlg::IDD, pParent) { //{{AFX_DATA_INIT(CSelUseUnitDlg) m_nFactor = 0.0; m_iNum = 0; m_nStdUse = 0.0; m_iType = 0; m_dTime = 0.0; //}}AFX_DATA_INIT m_csName = _T(""); //用水部位名称 m_csUnit = _T(""); //单位 m_nTime = 0; //用水时间 m_iMode = 0; } void CSelUseUnitDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CSelUseUnitDlg) DDX_Control(pDX, IDC_LIST_UNIT, m_listCtrl); DDX_Text(pDX, IDC_EDIT_FACTOR, m_nFactor); DDX_Text(pDX, IDC_EDIT_NUM, m_iNum); DDX_Text(pDX, IDC_EDIT_STDUSE, m_nStdUse); DDX_Radio(pDX, IDC_RADIO_TYPE1, m_iType); DDX_Text(pDX, IDC_EDIT_TIME, m_dTime); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CSelUseUnitDlg, CDialog) //{{AFX_MSG_MAP(CSelUseUnitDlg) ON_NOTIFY(NM_DBLCLK, IDC_LIST_UNIT, OnDblclkListUnit) ON_NOTIFY(LVN_ITEMCHANGED, IDC_LIST_UNIT, OnItemchangedListUnit) ON_BN_CLICKED(IDC_RADIO_TYPE1, OnRadioType1) ON_BN_CLICKED(IDC_RADIO_TYPE2, OnRadioType2) ON_BN_CLICKED(IDC_RADIO_TYPE3, OnRadioType3) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSelUseUnitDlg message handlers BOOL CSelUseUnitDlg::OnInitDialog() { CDialog::OnInitDialog(); m_listCtrl.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT); if(m_iMode == 0){ m_listCtrl.InsertColumn ( 0, _T("用水部位名称"), LVCFMT_LEFT, 210 ); m_listCtrl.InsertColumn ( 1, _T("最高用水量"), LVCFMT_LEFT, 75 ); m_listCtrl.InsertColumn ( 2, _T("单位"), LVCFMT_LEFT, 85 ); m_listCtrl.InsertColumn ( 3, _T("用水时间"), LVCFMT_LEFT, 60 ); m_listCtrl.InsertColumn ( 4, _T("变化系数"), LVCFMT_LEFT, 90 ); m_listCtrl.InsertColumn ( 5, _T("建议用水量"), LVCFMT_LEFT, 0 ); m_listCtrl.InsertColumn ( 6, _T("建议变化系数"), LVCFMT_LEFT, 0 ); } else if(m_iMode == 1){ CWnd *pWnd1 = GetDlgItem(IDC_RADIO_TYPE1); CWnd *pWnd2 = GetDlgItem(IDC_RADIO_TYPE2); CWnd *pWnd3 = GetDlgItem(IDC_STATIC_1); CWnd *pWnd4 = GetDlgItem(IDC_STATIC_2); CWnd *pWnd5 = GetDlgItem(IDC_EDIT_FACTOR); // pWnd1->SetWindowText(_T("住宅、旅馆、别墅、宾馆")); // cet 2010.7.2 del pWnd1->SetWindowText(_T("住宅、旅馆、别墅、宾馆、酒店式公寓")); // cet 2010.7.2 add // pWnd2->SetWindowText(_T("集体宿舍、招待所、培训中心淋浴器")); // cet 2010.7.2 del pWnd2->SetWindowText(_T("宿舍、招待所、培训中心")); // cet 2010.7.2 add pWnd3->SetWindowText(_T("小时水量:")); pWnd4->ShowWindow(SW_HIDE); pWnd5->ShowWindow(SW_HIDE); m_listCtrl.InsertColumn ( 0, _T("卫生器具名称"), LVCFMT_LEFT, 210 ); m_listCtrl.InsertColumn ( 1, _T("一次用水量"), LVCFMT_LEFT, 75 ); m_listCtrl.InsertColumn ( 2, _T("小时用水量"), LVCFMT_LEFT, 75 ); m_listCtrl.InsertColumn ( 3, _T("使用水温"), LVCFMT_LEFT, 85 ); m_listCtrl.InsertColumn ( 4, _T("同时白分比"), LVCFMT_LEFT, 0 ); m_listCtrl.InsertColumn ( 5, _T("建议用水量"), LVCFMT_LEFT, 0 ); } else if(m_iMode == 2){ CWnd *pWnd1 = GetDlgItem(IDC_RADIO_TYPE1); CWnd *pWnd2 = GetDlgItem(IDC_RADIO_TYPE2); CWnd *pWnd3 = GetDlgItem(IDC_STATIC_1); CWnd *pWnd4 = GetDlgItem(IDC_STATIC_2); CWnd *pWnd5 = GetDlgItem(IDC_EDIT_FACTOR); pWnd1->SetWindowText(_T("住宅、别墅、宾馆")); // pWnd2->SetWindowText(_T("集体宿舍、招待所、培训中心、普通旅馆")); // cet 2010.7.1 del pWnd2->SetWindowText(_T("招待所、培训中心、普通旅馆")); // cet 2010.7.1 add pWnd3->SetWindowText(_T("用水定额:")); pWnd4->ShowWindow(SW_HIDE); pWnd5->ShowWindow(SW_HIDE); m_listCtrl.InsertColumn ( 0, _T("建筑物名称"), LVCFMT_LEFT, 210 ); m_listCtrl.InsertColumn ( 1, _T("单位"), LVCFMT_LEFT, 75 ); m_listCtrl.InsertColumn ( 2, _T("最高日用水定额(L)"), LVCFMT_LEFT, 125 ); m_listCtrl.InsertColumn ( 3, _T("使用时间(h)"), LVCFMT_LEFT, 85 ); m_listCtrl.InsertColumn ( 4, _T("同时白分比"), LVCFMT_LEFT, 0 ); m_listCtrl.InsertColumn ( 5, _T("建议用水定额"), LVCFMT_LEFT, 0 ); } OnRadioType1(); // cet 2010.6.4 add if (m_iMode == 1) { CWnd *pWnd = NULL; pWnd = GetDlgItem(IDC_STATIC_3); if (pWnd != NULL) { pWnd->SetWindowText(_T("使用水温")); } } UpdateData(FALSE); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } void CSelUseUnitDlg::OnOK() { UpdateData(); POSITION pos = m_listCtrl.GetFirstSelectedItemPosition(); if(!pos) return; int nItem = m_listCtrl.GetNextSelectedItem(pos); m_csName = m_listCtrl.GetItemText(nItem, 0); if(m_iMode == 1 && m_iType == 0) m_csName = _T("住宅、旅馆") + m_csName; else if(m_iMode == 1 && m_iType == 1) // m_csName = _T("集体宿舍、招待所") + m_csName; // cet 2010.7.2 del m_csName = _T("宿舍、招待所") + m_csName; // cet 2010.7.2 add else if(m_iMode == 2 && m_iType == 1) // m_csName = _T("集体宿舍、招待所、培训中心、普通旅馆") + m_csName; // cet 2010.7.1 del m_csName = _T("招待所、培训中心、普通旅馆") + m_csName; // cet 2010.7.1 add if(m_iMode == 0) m_csUnit = m_listCtrl.GetItemText(nItem, 2); else if(m_iMode == 2) m_csUnit = m_listCtrl.GetItemText(nItem, 1); m_dTime = _tstof(m_listCtrl.GetItemText(nItem, 3)); m_nStdUse = _tstof(m_listCtrl.GetItemText(nItem, 5)); m_nFactor = _tstof(m_listCtrl.GetItemText(nItem, 6)); CDialog::OnOK(); } void CSelUseUnitDlg::OnDblclkListUnit(NMHDR* pNMHDR, LRESULT* pResult) { *pResult = 0; OnOK(); } void CSelUseUnitDlg::OnItemchangedListUnit(NMHDR* pNMHDR, LRESULT* pResult) { NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR; UpdateData(); POSITION pos = m_listCtrl.GetFirstSelectedItemPosition(); if(!pos) return; int nItem = m_listCtrl.GetNextSelectedItem(pos); m_nStdUse = _tstof(m_listCtrl.GetItemText(nItem, 5)); m_nFactor = _tstof(m_listCtrl.GetItemText(nItem, 6)); m_dTime = _tstof(m_listCtrl.GetItemText(nItem, 3)); UpdateData(FALSE); *pResult = 0; } void CSelUseUnitDlg::OnRadioType1() { m_listCtrl.DeleteAllItems(); if(m_iMode == 0){ m_listCtrl.InsertItem ( 0, _T("普通住宅(有大便器、洗涤盆)"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("85~150")); m_listCtrl.SetItemText ( 0, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 0, 3, _T("24")); m_listCtrl.SetItemText ( 0, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 0, 5, _T("120")); m_listCtrl.SetItemText ( 0, 6, _T("2.8")); m_listCtrl.InsertItem ( 1, _T("普通住宅(有大便器、洗脸盆、洗涤盆、洗衣机、热水器和淋浴设备)"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("130~300")); m_listCtrl.SetItemText ( 1, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 1, 3, _T("24")); m_listCtrl.SetItemText ( 1, 4, _T("2.8~2.3")); m_listCtrl.SetItemText ( 1, 5, _T("200")); m_listCtrl.SetItemText ( 1, 6, _T("2.6")); m_listCtrl.InsertItem ( 2, _T("普通住宅(有大便器、洗脸盆、洗涤盆、洗衣机、集中热水供应(或家用热水机组)和淋浴设备)"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("180~320")); m_listCtrl.SetItemText ( 2, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 2, 3, _T("24")); m_listCtrl.SetItemText ( 2, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 2, 5, _T("230")); m_listCtrl.SetItemText ( 2, 6, _T("2.2")); m_listCtrl.InsertItem ( 3, _T("别墅(有大便器、洗脸盆、洗涤盆、洗衣机、洒水拴,家用热水机组和淋浴设备)"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("200~350")); m_listCtrl.SetItemText ( 3, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 3, 3, _T("24")); m_listCtrl.SetItemText ( 3, 4, _T("2.3~1.8")); m_listCtrl.SetItemText ( 3, 5, _T("300")); m_listCtrl.SetItemText ( 3, 6, _T("2.1")); } else if(m_iMode == 1){ m_listCtrl.InsertItem ( 0, _T("带有淋浴器的浴盆"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("150")); m_listCtrl.SetItemText ( 0, 2, _T("300")); m_listCtrl.SetItemText ( 0, 3, _T("40")); m_listCtrl.SetItemText ( 0, 5, _T("300")); m_listCtrl.InsertItem ( 1, _T("无淋浴器的浴盆"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("125")); m_listCtrl.SetItemText ( 1, 2, _T("250")); m_listCtrl.SetItemText ( 1, 3, _T("40")); m_listCtrl.SetItemText ( 1, 5, _T("250")); m_listCtrl.InsertItem ( 2, _T("淋浴器"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("70~100")); m_listCtrl.SetItemText ( 2, 2, _T("140~200")); m_listCtrl.SetItemText ( 2, 3, _T("38.5")); m_listCtrl.SetItemText ( 2, 5, _T("170")); m_listCtrl.InsertItem ( 3, _T("洗脸盆、盥洗槽水嘴"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("3")); m_listCtrl.SetItemText ( 3, 2, _T("30")); m_listCtrl.SetItemText ( 3, 3, _T("30")); m_listCtrl.SetItemText ( 3, 5, _T("30")); m_listCtrl.InsertItem ( 4, _T("洗涤盆"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("—")); m_listCtrl.SetItemText ( 4, 2, _T("180")); m_listCtrl.SetItemText ( 4, 3, _T("50")); m_listCtrl.SetItemText ( 4, 5, _T("180")); } else if(m_iMode == 2){ m_listCtrl.InsertItem ( 0, _T("住宅:有自备热水供应和沐浴设备"), 0 ); // m_listCtrl.SetItemText ( 0, 1, _T("每人")); // cet 2010.7.1 del m_listCtrl.SetItemText ( 0, 1, _T("每人每日")); // cet 2010.7.1 add m_listCtrl.SetItemText ( 0, 2, _T("40~80")); m_listCtrl.SetItemText ( 0, 3, _T("24")); m_listCtrl.SetItemText ( 0, 5, _T("60")); m_listCtrl.InsertItem ( 1, _T("住宅:有集中热水供应和沐浴设备"), 0 ); // m_listCtrl.SetItemText ( 1, 1, _T("每日")); // cet 2010.7.1 del m_listCtrl.SetItemText ( 1, 1, _T("每人每日")); // cet 2010.7.1 add m_listCtrl.SetItemText ( 1, 2, _T("60~100")); m_listCtrl.SetItemText ( 1, 3, _T("24")); m_listCtrl.SetItemText ( 1, 5, _T("80")); m_listCtrl.InsertItem ( 2, _T("别墅"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("每人每日")); m_listCtrl.SetItemText ( 2, 2, _T("70~110")); m_listCtrl.SetItemText ( 2, 3, _T("24")); m_listCtrl.SetItemText ( 2, 5, _T("90")); // cet 2010.7.1 add m_listCtrl.InsertItem ( 3, _T("酒店式公寓"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("每人每日")); m_listCtrl.SetItemText ( 3, 2, _T("80~100")); m_listCtrl.SetItemText ( 3, 3, _T("24")); m_listCtrl.SetItemText ( 3, 5, _T("90")); // cet 2010.7.1 add m_listCtrl.InsertItem ( 4, _T("宿舍(Ⅰ类、Ⅱ类)"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("每人每日")); m_listCtrl.SetItemText ( 4, 2, _T("70~100")); m_listCtrl.SetItemText ( 4, 3, _T("24")); m_listCtrl.SetItemText ( 4, 5, _T("85")); m_listCtrl.InsertItem ( 5, _T("宾馆客房:旅客"), 0 ); m_listCtrl.SetItemText ( 5, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 5, 2, _T("120~160")); m_listCtrl.SetItemText ( 5, 3, _T("24")); m_listCtrl.SetItemText ( 5, 5, _T("140")); // cet 2010.7.1 del // m_listCtrl.InsertItem ( 4, _T("宾馆客房:员工"), 0 ); // m_listCtrl.SetItemText ( 4, 1, _T("每人每日")); // m_listCtrl.SetItemText ( 4, 2, _T("40~50")); // m_listCtrl.SetItemText ( 4, 3, _T("24")); // m_listCtrl.SetItemText ( 4, 5, _T("45")); } } void CSelUseUnitDlg::OnRadioType2() { m_listCtrl.DeleteAllItems(); if(m_iMode == 0){ m_listCtrl.InsertItem ( 0, _T("办公楼"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("30~50")); m_listCtrl.SetItemText ( 0, 2, _T("L/人·班")); m_listCtrl.SetItemText ( 0, 3, _T("8~10")); m_listCtrl.SetItemText ( 0, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 0, 5, _T("50")); m_listCtrl.SetItemText ( 0, 6, _T("1.2")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 1, _T("宿舍(Ⅰ类、Ⅱ类)"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("150~200")); m_listCtrl.SetItemText ( 1, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 1, 3, _T("24")); m_listCtrl.SetItemText ( 1, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 1, 5, _T("170")); m_listCtrl.SetItemText ( 1, 6, _T("2.8")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 2, _T("宿舍(Ⅲ类、Ⅳ类)"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("100~150")); m_listCtrl.SetItemText ( 2, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 2, 3, _T("24")); m_listCtrl.SetItemText ( 2, 4, _T("3.5~3.0")); m_listCtrl.SetItemText ( 2, 5, _T("120")); m_listCtrl.SetItemText ( 2, 6, _T("3.2")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 3, _T("酒店式公寓"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("200~300")); m_listCtrl.SetItemText ( 3, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 3, 3, _T("24")); m_listCtrl.SetItemText ( 3, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 3, 5, _T("250")); m_listCtrl.SetItemText ( 3, 6, _T("2.2")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 4, _T("图书馆"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("5~10")); m_listCtrl.SetItemText ( 4, 2, _T("L/人·次")); m_listCtrl.SetItemText ( 4, 3, _T("8~10")); m_listCtrl.SetItemText ( 4, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 4, 5, _T("7")); m_listCtrl.SetItemText ( 4, 6, _T("1.3")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 5, _T("书店"), 0 ); m_listCtrl.SetItemText ( 5, 1, _T("3~6")); m_listCtrl.SetItemText ( 5, 2, _T("L/平方米营业厅面积·d")); m_listCtrl.SetItemText ( 5, 3, _T("8~12")); m_listCtrl.SetItemText ( 5, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 5, 5, _T("5")); m_listCtrl.SetItemText ( 5, 6, _T("1.3")); // cet 2010.6.25 add 因新规范 m_listCtrl.InsertItem ( 6, _T("会展中心(博物馆、展览馆)"), 0 ); m_listCtrl.SetItemText ( 6, 1, _T("3~6")); m_listCtrl.SetItemText ( 6, 2, _T("L/平方米营业厅面积·d")); m_listCtrl.SetItemText ( 6, 3, _T("8~16")); m_listCtrl.SetItemText ( 6, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 6, 5, _T("5")); m_listCtrl.SetItemText ( 6, 6, _T("1.3")); m_listCtrl.InsertItem ( 7, _T("商场"), 0 ); m_listCtrl.SetItemText ( 7, 1, _T("5~8")); m_listCtrl.SetItemText ( 7, 2, _T("L/平方米营业厅面积·d")); m_listCtrl.SetItemText ( 7, 3, _T("12")); m_listCtrl.SetItemText ( 7, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 7, 5, _T("6")); m_listCtrl.SetItemText ( 7, 6, _T("1.3")); m_listCtrl.InsertItem ( 8, _T("电影院、剧院"), 0 ); m_listCtrl.SetItemText ( 8, 1, _T("3~5")); m_listCtrl.SetItemText ( 8, 2, _T("L/观众·场")); m_listCtrl.SetItemText ( 8, 3, _T("3")); m_listCtrl.SetItemText ( 8, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 8, 5, _T("5")); m_listCtrl.SetItemText ( 8, 6, _T("1.3")); m_listCtrl.InsertItem ( 9, _T("会议厅"), 0 ); m_listCtrl.SetItemText ( 9, 1, _T("6~8")); m_listCtrl.SetItemText ( 9, 2, _T("L/座位·次")); m_listCtrl.SetItemText ( 9, 3, _T("4")); m_listCtrl.SetItemText ( 9, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 9, 5, _T("8")); m_listCtrl.SetItemText ( 9, 6, _T("1.3")); m_listCtrl.InsertItem ( 10, _T("单身职工宿舍、学生宿舍、招待所、培训中心、普通旅馆(设公共盥洗室)"), 0 ); m_listCtrl.SetItemText ( 10, 1, _T("50~100")); m_listCtrl.SetItemText ( 10, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 10, 3, _T("24")); m_listCtrl.SetItemText ( 10, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 10, 5, _T("80")); m_listCtrl.SetItemText ( 10, 6, _T("2.8")); m_listCtrl.InsertItem ( 11, _T("单身职工宿舍、学生宿舍、招待所、培训中心、普通旅馆(设公共盥洗室、淋浴室)"), 0 ); m_listCtrl.SetItemText ( 11, 1, _T("80~130")); m_listCtrl.SetItemText ( 11, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 11, 3, _T("24")); m_listCtrl.SetItemText ( 11, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 11, 5, _T("100")); m_listCtrl.SetItemText ( 11, 6, _T("2.8")); m_listCtrl.InsertItem ( 12, _T("单身职工宿舍、学生宿舍、招待所、培训中心、普通旅馆(设公共盥洗室、淋浴室、洗衣室)"), 0 ); m_listCtrl.SetItemText ( 12, 1, _T("100~150")); m_listCtrl.SetItemText ( 12, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 12, 3, _T("24")); m_listCtrl.SetItemText ( 12, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 12, 5, _T("120")); m_listCtrl.SetItemText ( 12, 6, _T("2.8")); m_listCtrl.InsertItem ( 13, _T("单身职工宿舍、学生宿舍、招待所、培训中心、普通旅馆(设单独卫生间、公用洗衣室)"), 0 ); m_listCtrl.SetItemText ( 13, 1, _T("120~200")); m_listCtrl.SetItemText ( 13, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 13, 3, _T("24")); m_listCtrl.SetItemText ( 13, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 13, 5, _T("150")); m_listCtrl.SetItemText ( 13, 6, _T("2.8")); m_listCtrl.InsertItem ( 14, _T("宾馆客房(旅客)"), 0 ); m_listCtrl.SetItemText ( 14, 1, _T("250~400")); m_listCtrl.SetItemText ( 14, 2, _T("L/床·d")); m_listCtrl.SetItemText ( 14, 3, _T("24")); m_listCtrl.SetItemText ( 14, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 14, 5, _T("300")); m_listCtrl.SetItemText ( 14, 6, _T("2.2")); m_listCtrl.InsertItem ( 15, _T("宾馆客房(员工)"), 0 ); m_listCtrl.SetItemText ( 15, 1, _T("80~100")); m_listCtrl.SetItemText ( 15, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 15, 3, _T("24")); m_listCtrl.SetItemText ( 15, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 15, 5, _T("90")); m_listCtrl.SetItemText ( 15, 6, _T("2.2")); m_listCtrl.InsertItem ( 16, _T("医院住院部(设公共盥洗室)"), 0 ); m_listCtrl.SetItemText ( 16, 1, _T("100~200")); m_listCtrl.SetItemText ( 16, 2, _T("L/病床·d")); m_listCtrl.SetItemText ( 16, 3, _T("24")); m_listCtrl.SetItemText ( 16, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 16, 5, _T("150")); m_listCtrl.SetItemText ( 16, 6, _T("2.2")); m_listCtrl.InsertItem ( 17, _T("医院住院部(设公共盥洗室、淋浴室)"), 0 ); m_listCtrl.SetItemText ( 17, 1, _T("150~250")); m_listCtrl.SetItemText ( 17, 2, _T("L/病床·d")); m_listCtrl.SetItemText ( 17, 3, _T("24")); m_listCtrl.SetItemText ( 17, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 17, 5, _T("180")); m_listCtrl.SetItemText ( 17, 6, _T("2.2")); m_listCtrl.InsertItem ( 18, _T("医院住院部(设单独卫生间)"), 0 ); m_listCtrl.SetItemText ( 18, 1, _T("250~400")); m_listCtrl.SetItemText ( 18, 2, _T("L/病床·d")); m_listCtrl.SetItemText ( 18, 3, _T("24")); m_listCtrl.SetItemText ( 18, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 18, 5, _T("300")); m_listCtrl.SetItemText ( 18, 6, _T("2.2")); m_listCtrl.InsertItem ( 19, _T("医院住院部(医务人员)"), 0 ); m_listCtrl.SetItemText ( 19, 1, _T("150~250")); m_listCtrl.SetItemText ( 19, 2, _T("L/人·班")); m_listCtrl.SetItemText ( 19, 3, _T("8")); m_listCtrl.SetItemText ( 19, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 19, 5, _T("200")); m_listCtrl.SetItemText ( 19, 6, _T("1.8")); m_listCtrl.InsertItem ( 20, _T("门诊部、诊疗所"), 0 ); m_listCtrl.SetItemText ( 20, 1, _T("10~15")); m_listCtrl.SetItemText ( 20, 2, _T("L/病人·d")); m_listCtrl.SetItemText ( 20, 3, _T("8~12")); m_listCtrl.SetItemText ( 20, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 20, 5, _T("12")); m_listCtrl.SetItemText ( 20, 6, _T("1.3")); m_listCtrl.InsertItem ( 21, _T("疗养院、休养所住房部"), 0 ); m_listCtrl.SetItemText ( 21, 1, _T("200~300")); m_listCtrl.SetItemText ( 21, 2, _T("L/病床·d")); m_listCtrl.SetItemText ( 21, 3, _T("24")); m_listCtrl.SetItemText ( 21, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 21, 5, _T("250")); m_listCtrl.SetItemText ( 21, 6, _T("1.8")); m_listCtrl.InsertItem ( 22, _T("养老院、托老所(全托)"), 0 ); m_listCtrl.SetItemText ( 22, 1, _T("100~150")); m_listCtrl.SetItemText ( 22, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 22, 3, _T("24")); m_listCtrl.SetItemText ( 22, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 22, 5, _T("120")); m_listCtrl.SetItemText ( 22, 6, _T("2.2")); m_listCtrl.InsertItem ( 23, _T("养老院、托老所(日托)"), 0 ); m_listCtrl.SetItemText ( 23, 1, _T("50~80")); m_listCtrl.SetItemText ( 23, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 23, 3, _T("10")); m_listCtrl.SetItemText ( 23, 4, _T("2.0")); m_listCtrl.SetItemText ( 23, 5, _T("60")); m_listCtrl.SetItemText ( 23, 6, _T("2.0")); m_listCtrl.InsertItem ( 24, _T("幼儿园、托儿所(有住宿)"), 0 ); m_listCtrl.SetItemText ( 24, 1, _T("50~100")); m_listCtrl.SetItemText ( 24, 2, _T("L/儿童·d")); m_listCtrl.SetItemText ( 24, 3, _T("24")); m_listCtrl.SetItemText ( 24, 4, _T("3.0~2.5")); m_listCtrl.SetItemText ( 24, 5, _T("80")); m_listCtrl.SetItemText ( 24, 6, _T("2.8")); m_listCtrl.InsertItem ( 25, _T("幼儿园、托儿所(无住宿)"), 0 ); m_listCtrl.SetItemText ( 25, 1, _T("30~50")); m_listCtrl.SetItemText ( 25, 2, _T("L/人·d")); m_listCtrl.SetItemText ( 25, 3, _T("10")); m_listCtrl.SetItemText ( 25, 4, _T("2.0")); m_listCtrl.SetItemText ( 25, 5, _T("40")); m_listCtrl.SetItemText ( 25, 6, _T("2.0")); m_listCtrl.InsertItem ( 26, _T("公共浴室(淋浴)"), 0 ); m_listCtrl.SetItemText ( 26, 1, _T("100")); m_listCtrl.SetItemText ( 26, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 26, 3, _T("12")); m_listCtrl.SetItemText ( 26, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 26, 5, _T("100")); m_listCtrl.SetItemText ( 26, 6, _T("1.7")); m_listCtrl.InsertItem ( 27, _T("公共浴室(浴盆、淋浴)"), 0 ); m_listCtrl.SetItemText ( 27, 1, _T("120~150")); m_listCtrl.SetItemText ( 27, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 27, 3, _T("12")); m_listCtrl.SetItemText ( 27, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 27, 5, _T("130")); m_listCtrl.SetItemText ( 27, 6, _T("1.7")); m_listCtrl.InsertItem ( 28, _T("公共浴室(桑拿浴(淋浴、按摩池))"), 0 ); m_listCtrl.SetItemText ( 28, 1, _T("150~200")); m_listCtrl.SetItemText ( 28, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 28, 3, _T("12")); m_listCtrl.SetItemText ( 28, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 28, 5, _T("170")); m_listCtrl.SetItemText ( 28, 6, _T("1.7")); m_listCtrl.InsertItem ( 29, _T("理发室、美容院"), 0 ); m_listCtrl.SetItemText ( 29, 1, _T("40~100")); m_listCtrl.SetItemText ( 29, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 29, 3, _T("12")); m_listCtrl.SetItemText ( 29, 4, _T("2.0~1.5")); m_listCtrl.SetItemText ( 29, 5, _T("60")); m_listCtrl.SetItemText ( 29, 6, _T("1.7")); m_listCtrl.InsertItem ( 30, _T("洗衣房"), 0 ); m_listCtrl.SetItemText ( 30, 1, _T("40~80")); m_listCtrl.SetItemText ( 30, 2, _T("L/每kg·干衣")); m_listCtrl.SetItemText ( 30, 3, _T("8")); m_listCtrl.SetItemText ( 30, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 30, 5, _T("70")); m_listCtrl.SetItemText ( 30, 6, _T("1.3")); m_listCtrl.InsertItem ( 31, _T("餐饮业(中餐酒楼)"), 0 ); m_listCtrl.SetItemText ( 31, 1, _T("40~60")); m_listCtrl.SetItemText ( 31, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 31, 3, _T("10~12")); m_listCtrl.SetItemText ( 31, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 31, 5, _T("50")); m_listCtrl.SetItemText ( 31, 6, _T("1.3")); m_listCtrl.InsertItem ( 32, _T("餐饮业(快餐店、职工及学生食堂)"), 0 ); m_listCtrl.SetItemText ( 32, 1, _T("20~25")); m_listCtrl.SetItemText ( 32, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 32, 3, _T("12~16")); m_listCtrl.SetItemText ( 32, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 32, 5, _T("25")); m_listCtrl.SetItemText ( 32, 6, _T("1.3")); m_listCtrl.InsertItem ( 33, _T("餐饮业(酒吧、咖啡馆、茶座、卡拉OK房)"), 0 ); m_listCtrl.SetItemText ( 33, 1, _T("5~15")); m_listCtrl.SetItemText ( 33, 2, _T("L/顾客·次")); m_listCtrl.SetItemText ( 33, 3, _T("8~18")); m_listCtrl.SetItemText ( 33, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 33, 5, _T("10")); m_listCtrl.SetItemText ( 33, 6, _T("1.3")); m_listCtrl.InsertItem ( 34, _T("教学、实验楼(中小学校)"), 0 ); m_listCtrl.SetItemText ( 34, 1, _T("20~40")); m_listCtrl.SetItemText ( 34, 2, _T("L/学生·d")); m_listCtrl.SetItemText ( 34, 3, _T("8~9")); m_listCtrl.SetItemText ( 34, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 34, 5, _T("40")); m_listCtrl.SetItemText ( 34, 6, _T("1.3")); m_listCtrl.InsertItem ( 35, _T("教学、实验楼(高等院校)"), 0 ); m_listCtrl.SetItemText ( 35, 1, _T("40~50")); m_listCtrl.SetItemText ( 35, 2, _T("L/学生·d")); m_listCtrl.SetItemText ( 35, 3, _T("8~9")); m_listCtrl.SetItemText ( 35, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 35, 5, _T("50")); m_listCtrl.SetItemText ( 35, 6, _T("1.3")); m_listCtrl.InsertItem ( 36, _T("游泳池(游泳池补充水)"), 0 ); m_listCtrl.SetItemText ( 36, 1, _T("10%~15%")); m_listCtrl.SetItemText ( 36, 2, _T("水池(容积立方米)/d")); m_listCtrl.SetItemText ( 36, 3, _T("24")); m_listCtrl.SetItemText ( 36, 4, _T("1.0")); m_listCtrl.SetItemText ( 36, 5, _T("0.15")); m_listCtrl.SetItemText ( 36, 6, _T("1.0")); m_listCtrl.InsertItem ( 37, _T("游泳池(运动员淋浴)"), 0 ); m_listCtrl.SetItemText ( 37, 1, _T("60")); m_listCtrl.SetItemText ( 37, 2, _T("L/人·场")); m_listCtrl.SetItemText ( 37, 3, _T("6")); m_listCtrl.SetItemText ( 37, 4, _T("2.0")); m_listCtrl.SetItemText ( 37, 5, _T("60")); m_listCtrl.SetItemText ( 37, 6, _T("2.0")); m_listCtrl.InsertItem ( 38, _T("游泳池(观众)"), 0 ); m_listCtrl.SetItemText ( 38, 1, _T("3")); m_listCtrl.SetItemText ( 38, 2, _T("L/人·场")); m_listCtrl.SetItemText ( 38, 3, _T("6")); m_listCtrl.SetItemText ( 38, 4, _T("2.0")); m_listCtrl.SetItemText ( 38, 5, _T("3")); m_listCtrl.SetItemText ( 38, 6, _T("2.0")); m_listCtrl.InsertItem ( 39, _T("健身中心"), 0 ); m_listCtrl.SetItemText ( 39, 1, _T("30~50")); m_listCtrl.SetItemText ( 39, 2, _T("L/人·次")); m_listCtrl.SetItemText ( 39, 3, _T("8~12")); m_listCtrl.SetItemText ( 39, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 39, 5, _T("40")); m_listCtrl.SetItemText ( 39, 6, _T("1.3")); m_listCtrl.InsertItem ( 40, _T("体育场(馆)(运动员淋浴)"), 0 ); m_listCtrl.SetItemText ( 40, 1, _T("30~40")); m_listCtrl.SetItemText ( 40, 2, _T("L/人·次")); m_listCtrl.SetItemText ( 40, 3, _T("6")); m_listCtrl.SetItemText ( 40, 4, _T("3.0~2.0")); m_listCtrl.SetItemText ( 40, 5, _T("40")); m_listCtrl.SetItemText ( 40, 6, _T("2.5")); m_listCtrl.InsertItem ( 41, _T("体育场(观众)"), 0 ); m_listCtrl.SetItemText ( 41, 1, _T("3")); m_listCtrl.SetItemText ( 41, 2, _T("L/人·场")); m_listCtrl.SetItemText ( 41, 3, _T("4")); m_listCtrl.SetItemText ( 41, 4, _T("1.2")); m_listCtrl.SetItemText ( 41, 5, _T("3")); m_listCtrl.SetItemText ( 41, 6, _T("1.2")); m_listCtrl.InsertItem ( 42, _T("停车库地面冲洗水"), 0 ); m_listCtrl.SetItemText ( 42, 1, _T("2~3")); m_listCtrl.SetItemText ( 42, 2, _T("L/平方米·次")); m_listCtrl.SetItemText ( 42, 3, _T("6~8")); m_listCtrl.SetItemText ( 42, 4, _T("1.0")); m_listCtrl.SetItemText ( 42, 5, _T("3")); m_listCtrl.SetItemText ( 42, 6, _T("1.0")); // m_listCtrl.InsertItem ( 38, _T("客运站旅客、展览中心观众"), 0 ); // cet 2010.6.25 del 因新规范 m_listCtrl.InsertItem ( 43, _T("航站楼、客运站旅客"), 0 ); // cet 2010.6.25 add m_listCtrl.SetItemText ( 43, 1, _T("3~6")); m_listCtrl.SetItemText ( 43, 2, _T("L/人·次")); m_listCtrl.SetItemText ( 43, 3, _T("8~16")); m_listCtrl.SetItemText ( 43, 4, _T("1.5~1.2")); m_listCtrl.SetItemText ( 43, 5, _T("5")); m_listCtrl.SetItemText ( 43, 6, _T("1.3")); m_listCtrl.InsertItem ( 44, _T("菜市场地面冲洗及保鲜用水"), 0 ); m_listCtrl.SetItemText ( 44, 1, _T("10~20")); m_listCtrl.SetItemText ( 44, 2, _T("L/平方米·d")); m_listCtrl.SetItemText ( 44, 3, _T("8~10")); m_listCtrl.SetItemText ( 44, 4, _T("2.5~2.0")); m_listCtrl.SetItemText ( 44, 5, _T("15")); m_listCtrl.SetItemText ( 44, 6, _T("2.3")); } else if(m_iMode == 1){ m_listCtrl.InsertItem ( 0, _T("有淋浴小间"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("70~100")); m_listCtrl.SetItemText ( 0, 2, _T("210~300")); m_listCtrl.SetItemText ( 0, 3, _T("37~40")); m_listCtrl.SetItemText ( 0, 5, _T("250")); m_listCtrl.InsertItem ( 1, _T("无淋浴小间"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("—")); m_listCtrl.SetItemText ( 1, 2, _T("450")); m_listCtrl.SetItemText ( 1, 3, _T("37~40")); m_listCtrl.SetItemText ( 1, 5, _T("450")); m_listCtrl.InsertItem ( 2, _T("盥洗槽水嘴"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("3~5")); m_listCtrl.SetItemText ( 2, 2, _T("50~80")); m_listCtrl.SetItemText ( 2, 3, _T("30")); m_listCtrl.SetItemText ( 2, 5, _T("65")); } else if(m_iMode == 2){ m_listCtrl.InsertItem ( 0, _T("设公用盥洗室"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("每人每日")); m_listCtrl.SetItemText ( 0, 2, _T("25~40")); m_listCtrl.SetItemText ( 0, 3, _T("24")); m_listCtrl.SetItemText ( 0, 5, _T("30")); m_listCtrl.InsertItem ( 1, _T("设公用盥洗室、淋浴室"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("每人每日")); m_listCtrl.SetItemText ( 1, 2, _T("40~60")); m_listCtrl.SetItemText ( 1, 3, _T("24")); m_listCtrl.SetItemText ( 1, 5, _T("50")); m_listCtrl.InsertItem ( 2, _T("设公用盥洗室、淋浴室、洗衣室"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("每人每日")); m_listCtrl.SetItemText ( 2, 2, _T("50~80")); m_listCtrl.SetItemText ( 2, 3, _T("24")); m_listCtrl.SetItemText ( 2, 5, _T("65")); m_listCtrl.InsertItem ( 3, _T("设单独卫生间、洗衣室"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("每人每日")); m_listCtrl.SetItemText ( 3, 2, _T("60~100")); m_listCtrl.SetItemText ( 3, 3, _T("24")); m_listCtrl.SetItemText ( 3, 5, _T("80")); } } void CSelUseUnitDlg::OnRadioType3() { m_listCtrl.DeleteAllItems(); if(m_iMode == 0){ // m_listCtrl.InsertItem ( 0, _T("轿车(软管冲洗)"), 0 ); m_listCtrl.InsertItem ( 0, _T("轿车(蒸汽冲洗)"), 0 ); // m_listCtrl.SetItemText ( 0, 1, _T("200~300")); // cet 2010.6.25 del 因新规范 m_listCtrl.SetItemText ( 0, 1, _T("3~5")); // cet 2010.6.25 add m_listCtrl.SetItemText ( 0, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 0, 3, _T("8")); m_listCtrl.SetItemText ( 0, 4, _T("1.0")); // m_listCtrl.SetItemText ( 0, 5, _T("250")); // cet 2010.6.25 del 因新规范 m_listCtrl.SetItemText ( 0, 5, _T("4")); // cet 2010.6.25 add m_listCtrl.SetItemText ( 0, 6, _T("1.0")); m_listCtrl.InsertItem ( 1, _T("轿车(高压水枪冲洗)"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("40~60")); m_listCtrl.SetItemText ( 1, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 1, 3, _T("8")); m_listCtrl.SetItemText ( 1, 4, _T("1.0")); m_listCtrl.SetItemText ( 1, 5, _T("50")); m_listCtrl.SetItemText ( 1, 6, _T("1.0")); // m_listCtrl.InsertItem ( 2, _T("轿车(循环用水冲洗)"), 0 ); // cet 2010.6.25 del 因新规范 m_listCtrl.InsertItem ( 2, _T("轿车(循环用水冲洗补水)"), 0 ); // cet 2010.6.25 add m_listCtrl.SetItemText ( 2, 1, _T("20~30")); m_listCtrl.SetItemText ( 2, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 2, 3, _T("8")); m_listCtrl.SetItemText ( 2, 4, _T("1.0")); m_listCtrl.SetItemText ( 2, 5, _T("25")); m_listCtrl.SetItemText ( 2, 6, _T("1.0")); // m_listCtrl.InsertItem ( 3, _T("轿车(抹车)"), 0 ); // cet 2010.6.25 del 因新规范 m_listCtrl.InsertItem ( 3, _T("轿车(抹车、微水冲洗)"), 0 ); // cet 2010.6.25 add m_listCtrl.SetItemText ( 3, 1, _T("10~15")); m_listCtrl.SetItemText ( 3, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 3, 3, _T("8")); m_listCtrl.SetItemText ( 3, 4, _T("1.0")); m_listCtrl.SetItemText ( 3, 5, _T("15")); m_listCtrl.SetItemText ( 3, 6, _T("1.0")); // cet 2010.6.25 del 因新规范 // m_listCtrl.InsertItem ( 4, _T("公共汽车/载重汽车(软管冲洗)"), 0 ); // m_listCtrl.SetItemText ( 4, 1, _T("400~500")); // m_listCtrl.SetItemText ( 4, 2, _T("L/辆·次")); // m_listCtrl.SetItemText ( 4, 3, _T("8")); // m_listCtrl.SetItemText ( 4, 4, _T("1.0")); // m_listCtrl.SetItemText ( 4, 5, _T("450")); // m_listCtrl.SetItemText ( 4, 6, _T("1.0")); m_listCtrl.InsertItem ( 4, _T("公共汽车/载重汽车(高压水冲洗)"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("80~120")); m_listCtrl.SetItemText ( 4, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 4, 3, _T("8")); m_listCtrl.SetItemText ( 4, 4, _T("1.0")); m_listCtrl.SetItemText ( 4, 5, _T("100")); m_listCtrl.SetItemText ( 4, 6, _T("1.0")); // m_listCtrl.InsertItem ( 6, _T("公共汽车/载重汽车(循环用水冲洗)"), 0 ); // cet 2010.6.25 del 因新规范 m_listCtrl.InsertItem ( 5, _T("公共汽车/载重汽车(循环用水冲洗补水)"), 0 ); // cet 2010.6.25 add m_listCtrl.SetItemText ( 5, 1, _T("40~60")); m_listCtrl.SetItemText ( 5, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 5, 3, _T("8")); m_listCtrl.SetItemText ( 5, 4, _T("1.0")); m_listCtrl.SetItemText ( 5, 5, _T("50")); m_listCtrl.SetItemText ( 5, 6, _T("1.0")); // m_listCtrl.InsertItem ( 7, _T("公共汽车/载重汽车(抹车)"), 0 ); // cet 2010.6.25 del 因新规范 m_listCtrl.InsertItem ( 6, _T("公共汽车/载重汽车(抹车、微水冲洗)"), 0 ); // cet 2010.6.25 add m_listCtrl.SetItemText ( 6, 1, _T("15~30")); m_listCtrl.SetItemText ( 6, 2, _T("L/辆·次")); m_listCtrl.SetItemText ( 6, 3, _T("8")); m_listCtrl.SetItemText ( 6, 4, _T("1.0")); m_listCtrl.SetItemText ( 6, 5, _T("30")); m_listCtrl.SetItemText ( 6, 6, _T("1.0")); m_listCtrl.InsertItem ( 7, _T("浇洒道路和场地用水"), 0 ); m_listCtrl.SetItemText ( 7, 1, _T("1.0~1.5")); m_listCtrl.SetItemText ( 7, 2, _T("L/平方米·次")); m_listCtrl.SetItemText ( 7, 3, _T("8")); m_listCtrl.SetItemText ( 7, 4, _T("1.0")); m_listCtrl.SetItemText ( 7, 5, _T("1.5")); m_listCtrl.SetItemText ( 7, 6, _T("1.0")); m_listCtrl.InsertItem ( 8, _T("绿化用水"), 0 ); m_listCtrl.SetItemText ( 8, 1, _T("1.5~2.0")); m_listCtrl.SetItemText ( 8, 2, _T("L/平方米·次")); m_listCtrl.SetItemText ( 8, 3, _T("8")); m_listCtrl.SetItemText ( 8, 4, _T("1.0")); m_listCtrl.SetItemText ( 8, 5, _T("2.0")); m_listCtrl.SetItemText ( 8, 6, _T("1.0")); m_listCtrl.InsertItem ( 9, _T("居住小区绿化浇洒用水"), 0 ); m_listCtrl.SetItemText ( 9, 1, _T("1.0~3.0")); m_listCtrl.SetItemText ( 9, 2, _T("L/平方米·d")); m_listCtrl.SetItemText ( 9, 3, _T("24")); m_listCtrl.SetItemText ( 9, 4, _T("1.0")); m_listCtrl.SetItemText ( 9, 5, _T("2.0")); m_listCtrl.SetItemText ( 9, 6, _T("1.0")); m_listCtrl.InsertItem ( 10, _T("居住小区道路、广场浇洒用水"), 0 ); m_listCtrl.SetItemText ( 10, 1, _T("2.0~3.0")); m_listCtrl.SetItemText ( 10, 2, _T("L/平方米·d")); m_listCtrl.SetItemText ( 10, 3, _T("24")); m_listCtrl.SetItemText ( 10, 4, _T("1.0")); m_listCtrl.SetItemText ( 10, 5, _T("3.0")); m_listCtrl.SetItemText ( 10, 6, _T("1.0")); m_listCtrl.InsertItem ( 11, _T("工业企业建筑生活用水"), 0 ); m_listCtrl.SetItemText ( 11, 1, _T("30~50")); m_listCtrl.SetItemText ( 11, 2, _T("L/人·班")); m_listCtrl.SetItemText ( 11, 3, _T("8")); m_listCtrl.SetItemText ( 11, 4, _T("2.5~1.5")); m_listCtrl.SetItemText ( 11, 5, _T("40")); m_listCtrl.SetItemText ( 11, 6, _T("2.0")); m_listCtrl.InsertItem ( 12, _T("车间工人生活用水"), 0 ); m_listCtrl.SetItemText ( 12, 1, _T("30~50")); m_listCtrl.SetItemText ( 12, 2, _T("L/人·班")); m_listCtrl.SetItemText ( 12, 3, _T("8")); m_listCtrl.SetItemText ( 12, 4, _T("2.5~1.5")); m_listCtrl.SetItemText ( 12, 5, _T("40")); m_listCtrl.SetItemText ( 12, 6, _T("2.0")); m_listCtrl.InsertItem ( 13, _T("工业企业建筑淋浴用水"), 0 ); m_listCtrl.SetItemText ( 13, 1, _T("40~60")); m_listCtrl.SetItemText ( 13, 2, _T("L/人·次")); m_listCtrl.SetItemText ( 13, 3, _T("1")); m_listCtrl.SetItemText ( 13, 4, _T("1")); m_listCtrl.SetItemText ( 13, 5, _T("50")); m_listCtrl.SetItemText ( 13, 6, _T("1.0")); } else if(m_iMode == 1){ m_listCtrl.InsertItem ( 0, _T("餐饮业:洗涤盆"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("—")); m_listCtrl.SetItemText ( 0, 2, _T("250")); m_listCtrl.SetItemText ( 0, 3, _T("50")); m_listCtrl.SetItemText ( 0, 5, _T("250")); m_listCtrl.InsertItem ( 1, _T("餐饮业:洗脸盆(员工)"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("3")); m_listCtrl.SetItemText ( 1, 2, _T("60")); m_listCtrl.SetItemText ( 1, 3, _T("30")); m_listCtrl.SetItemText ( 1, 5, _T("60")); m_listCtrl.InsertItem ( 2, _T("餐饮业:洗脸盆(顾客)"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("—")); m_listCtrl.SetItemText ( 2, 2, _T("120")); m_listCtrl.SetItemText ( 2, 3, _T("30")); m_listCtrl.SetItemText ( 2, 5, _T("120")); m_listCtrl.InsertItem ( 3, _T("餐饮业:淋浴器"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("40")); m_listCtrl.SetItemText ( 3, 2, _T("400")); m_listCtrl.SetItemText ( 3, 3, _T("38")); m_listCtrl.SetItemText ( 3, 5, _T("400")); m_listCtrl.InsertItem ( 4, _T("幼儿园:浴盆"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("100")); m_listCtrl.SetItemText ( 4, 2, _T("400")); m_listCtrl.SetItemText ( 4, 3, _T("35")); m_listCtrl.SetItemText ( 4, 5, _T("400")); m_listCtrl.InsertItem ( 5, _T("托儿所:浴盆"), 0 ); m_listCtrl.SetItemText ( 5, 1, _T("30")); m_listCtrl.SetItemText ( 5, 2, _T("120")); m_listCtrl.SetItemText ( 5, 3, _T("35")); m_listCtrl.SetItemText ( 5, 5, _T("120")); m_listCtrl.InsertItem ( 6, _T("幼儿园:淋浴器"), 0 ); m_listCtrl.SetItemText ( 6, 1, _T("30")); m_listCtrl.SetItemText ( 6, 2, _T("180")); m_listCtrl.SetItemText ( 6, 3, _T("35")); m_listCtrl.SetItemText ( 6, 5, _T("180")); m_listCtrl.InsertItem ( 7, _T("托儿所:淋浴器"), 0 ); m_listCtrl.SetItemText ( 7, 1, _T("15")); m_listCtrl.SetItemText ( 7, 2, _T("90")); m_listCtrl.SetItemText ( 7, 3, _T("35")); m_listCtrl.SetItemText ( 7, 5, _T("90")); m_listCtrl.InsertItem ( 8, _T("幼儿园、托儿所:盥洗槽水嘴"), 0 ); m_listCtrl.SetItemText ( 8, 1, _T("15")); m_listCtrl.SetItemText ( 8, 2, _T("25")); m_listCtrl.SetItemText ( 8, 3, _T("30")); m_listCtrl.SetItemText ( 8, 5, _T("25")); m_listCtrl.InsertItem ( 9, _T("幼儿园、托儿所:洗涤盆"), 0 ); m_listCtrl.SetItemText ( 9, 1, _T("—")); m_listCtrl.SetItemText ( 9, 2, _T("180")); m_listCtrl.SetItemText ( 9, 3, _T("50")); m_listCtrl.SetItemText ( 9, 5, _T("180")); m_listCtrl.InsertItem ( 10, _T("医院、疗养院:洗手盆"), 0 ); m_listCtrl.SetItemText ( 10, 1, _T("—")); m_listCtrl.SetItemText ( 10, 2, _T("15~25")); m_listCtrl.SetItemText ( 10, 3, _T("35")); m_listCtrl.SetItemText ( 10, 5, _T("20")); m_listCtrl.InsertItem ( 11, _T("医院、疗养院:洗涤盆"), 0 ); m_listCtrl.SetItemText ( 11, 1, _T("—")); m_listCtrl.SetItemText ( 11, 2, _T("300")); m_listCtrl.SetItemText ( 11, 3, _T("50")); m_listCtrl.SetItemText ( 11, 5, _T("300")); // cet 2010.7.2 add m_listCtrl.InsertItem ( 12, _T("医院、疗养院:淋浴器"), 0 ); m_listCtrl.SetItemText ( 12, 1, _T("—")); m_listCtrl.SetItemText ( 12, 2, _T("200~300")); m_listCtrl.SetItemText ( 12, 3, _T("37~40")); m_listCtrl.SetItemText ( 12, 5, _T("250")); m_listCtrl.InsertItem ( 13, _T("医院、疗养院:浴盆"), 0 ); m_listCtrl.SetItemText ( 13, 1, _T("125~150")); m_listCtrl.SetItemText ( 13, 2, _T("250~300")); m_listCtrl.SetItemText ( 13, 3, _T("40")); m_listCtrl.SetItemText ( 13, 5, _T("275")); m_listCtrl.InsertItem ( 14, _T("公共浴室:浴盆"), 0 ); m_listCtrl.SetItemText ( 14, 1, _T("125")); m_listCtrl.SetItemText ( 14, 2, _T("250")); m_listCtrl.SetItemText ( 14, 3, _T("40")); m_listCtrl.SetItemText ( 14, 5, _T("250")); m_listCtrl.InsertItem ( 15, _T("公共浴室:淋浴器(有小间)"), 0 ); m_listCtrl.SetItemText ( 15, 1, _T("100~150")); m_listCtrl.SetItemText ( 15, 2, _T("200~300")); m_listCtrl.SetItemText ( 15, 3, _T("38")); m_listCtrl.SetItemText ( 15, 5, _T("250")); m_listCtrl.InsertItem ( 16, _T("公共浴室:淋浴器(无小间)"), 0 ); m_listCtrl.SetItemText ( 16, 1, _T("—")); m_listCtrl.SetItemText ( 16, 2, _T("450~540")); m_listCtrl.SetItemText ( 16, 3, _T("38")); m_listCtrl.SetItemText ( 16, 5, _T("500")); m_listCtrl.InsertItem ( 17, _T("公共浴室:洗脸盆"), 0 ); m_listCtrl.SetItemText ( 17, 1, _T("5")); m_listCtrl.SetItemText ( 17, 2, _T("50~80")); m_listCtrl.SetItemText ( 17, 3, _T("35")); m_listCtrl.SetItemText ( 17, 5, _T("70")); m_listCtrl.InsertItem ( 18, _T("办公楼:洗手盆"), 0 ); m_listCtrl.SetItemText ( 18, 1, _T("—")); m_listCtrl.SetItemText ( 18, 2, _T("50~100")); m_listCtrl.SetItemText ( 18, 3, _T("35")); m_listCtrl.SetItemText ( 18, 5, _T("75")); m_listCtrl.InsertItem ( 19, _T("理发室、美容院:洗脸盆"), 0 ); m_listCtrl.SetItemText ( 19, 1, _T("—")); m_listCtrl.SetItemText ( 19, 2, _T("35")); m_listCtrl.SetItemText ( 19, 3, _T("35")); m_listCtrl.SetItemText ( 19, 5, _T("35")); m_listCtrl.InsertItem ( 20, _T("试验室:洗脸盆"), 0 ); m_listCtrl.SetItemText ( 20, 1, _T("—")); m_listCtrl.SetItemText ( 20, 2, _T("60")); m_listCtrl.SetItemText ( 20, 3, _T("50")); m_listCtrl.SetItemText ( 20, 5, _T("60")); m_listCtrl.InsertItem ( 21, _T("试验室:洗手盆"), 0 ); m_listCtrl.SetItemText ( 21, 1, _T("—")); m_listCtrl.SetItemText ( 21, 2, _T("15~25")); m_listCtrl.SetItemText ( 21, 3, _T("35")); m_listCtrl.SetItemText ( 21, 5, _T("20")); m_listCtrl.InsertItem ( 22, _T("剧场:淋浴器"), 0 ); m_listCtrl.SetItemText ( 22, 1, _T("60")); m_listCtrl.SetItemText ( 22, 2, _T("200~400")); m_listCtrl.SetItemText ( 22, 3, _T("38")); m_listCtrl.SetItemText ( 22, 5, _T("300")); m_listCtrl.InsertItem ( 23, _T("剧场:洗脸盆"), 0 ); m_listCtrl.SetItemText ( 23, 1, _T("5")); m_listCtrl.SetItemText ( 23, 2, _T("80")); m_listCtrl.SetItemText ( 23, 3, _T("35")); m_listCtrl.SetItemText ( 23, 5, _T("80")); m_listCtrl.InsertItem ( 24, _T("体育场馆:淋浴器"), 0 ); m_listCtrl.SetItemText ( 24, 1, _T("30")); m_listCtrl.SetItemText ( 24, 2, _T("300")); m_listCtrl.SetItemText ( 24, 3, _T("35")); m_listCtrl.SetItemText ( 24, 5, _T("300")); m_listCtrl.InsertItem ( 25, _T("工业企业:淋浴器(一般车间)"), 0 ); m_listCtrl.SetItemText ( 25, 1, _T("40")); m_listCtrl.SetItemText ( 25, 2, _T("360~540")); m_listCtrl.SetItemText ( 25, 3, _T("38")); m_listCtrl.SetItemText ( 25, 5, _T("400")); m_listCtrl.InsertItem ( 26, _T("工业企业:淋浴器(脏车间)"), 0 ); m_listCtrl.SetItemText ( 26, 1, _T("60")); m_listCtrl.SetItemText ( 26, 2, _T("180~480")); m_listCtrl.SetItemText ( 26, 3, _T("38")); m_listCtrl.SetItemText ( 26, 5, _T("350")); m_listCtrl.InsertItem ( 27, _T("工业企业:洗脸盆、盥洗槽(一般车间)"), 0 ); m_listCtrl.SetItemText ( 27, 1, _T("3")); m_listCtrl.SetItemText ( 27, 2, _T("90~120")); m_listCtrl.SetItemText ( 27, 3, _T("30")); m_listCtrl.SetItemText ( 27, 5, _T("100")); m_listCtrl.InsertItem ( 28, _T("工业企业:洗脸盆、盥洗槽(脏车间)"), 0 ); m_listCtrl.SetItemText ( 28, 1, _T("5")); m_listCtrl.SetItemText ( 28, 2, _T("100~150")); m_listCtrl.SetItemText ( 28, 3, _T("35")); m_listCtrl.SetItemText ( 28, 5, _T("125")); m_listCtrl.InsertItem ( 29, _T("净身器"), 0 ); m_listCtrl.SetItemText ( 29, 1, _T("10~15")); m_listCtrl.SetItemText ( 29, 2, _T("120~180")); m_listCtrl.SetItemText ( 29, 3, _T("30")); m_listCtrl.SetItemText ( 29, 5, _T("150")); } else if(m_iMode == 2){ m_listCtrl.InsertItem ( 0, _T("医院住院部:设公用盥洗室"), 0 ); m_listCtrl.SetItemText ( 0, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 0, 2, _T("60~100")); m_listCtrl.SetItemText ( 0, 3, _T("24")); m_listCtrl.SetItemText ( 0, 5, _T("80")); m_listCtrl.InsertItem ( 1, _T("医院住院部:设公用盥洗室、淋浴室"), 0 ); m_listCtrl.SetItemText ( 1, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 1, 2, _T("70~130")); m_listCtrl.SetItemText ( 1, 3, _T("24")); m_listCtrl.SetItemText ( 1, 5, _T("100")); m_listCtrl.InsertItem ( 2, _T("医院住院部:设单独卫生间"), 0 ); m_listCtrl.SetItemText ( 2, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 2, 2, _T("110~200")); m_listCtrl.SetItemText ( 2, 3, _T("24")); m_listCtrl.SetItemText ( 2, 5, _T("150")); m_listCtrl.InsertItem ( 3, _T("医院住院部:医务人员"), 0 ); m_listCtrl.SetItemText ( 3, 1, _T("每人每班")); m_listCtrl.SetItemText ( 3, 2, _T("70~130")); m_listCtrl.SetItemText ( 3, 3, _T("8")); m_listCtrl.SetItemText ( 3, 5, _T("100")); m_listCtrl.InsertItem ( 4, _T("医院住院部:门诊部、诊疗所"), 0 ); m_listCtrl.SetItemText ( 4, 1, _T("每病人每次")); m_listCtrl.SetItemText ( 4, 2, _T("7~13")); m_listCtrl.SetItemText ( 4, 3, _T("8")); m_listCtrl.SetItemText ( 4, 5, _T("10")); m_listCtrl.InsertItem ( 5, _T("医院住院部:疗养院、修养所住房部"), 0 ); m_listCtrl.SetItemText ( 5, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 5, 2, _T("100~160")); m_listCtrl.SetItemText ( 5, 3, _T("24")); m_listCtrl.SetItemText ( 5, 5, _T("130")); m_listCtrl.InsertItem ( 6, _T("养老院"), 0 ); m_listCtrl.SetItemText ( 6, 1, _T("每床位每日")); m_listCtrl.SetItemText ( 6, 2, _T("50~70")); m_listCtrl.SetItemText ( 6, 3, _T("24")); m_listCtrl.SetItemText ( 6, 5, _T("60")); m_listCtrl.InsertItem ( 7, _T("幼儿园、托儿所:有住宿"), 0 ); m_listCtrl.SetItemText ( 7, 1, _T("每儿童每日")); m_listCtrl.SetItemText ( 7, 2, _T("20~40")); m_listCtrl.SetItemText ( 7, 3, _T("24")); m_listCtrl.SetItemText ( 7, 5, _T("30")); // cet 2010.7.1 del // m_listCtrl.InsertItem ( 8, _T("幼儿园、托儿所:无住宿"), 0 ); // m_listCtrl.SetItemText ( 8, 1, _T("每儿童每日")); // m_listCtrl.SetItemText ( 8, 2, _T("10~15")); // m_listCtrl.SetItemText ( 8, 3, _T("10")); // m_listCtrl.SetItemText ( 8, 5, _T("12")); m_listCtrl.InsertItem ( 8, _T("公共浴室:淋浴"), 0 ); m_listCtrl.SetItemText ( 8, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 8, 2, _T("40~60")); m_listCtrl.SetItemText ( 8, 3, _T("12")); m_listCtrl.SetItemText ( 8, 5, _T("50")); m_listCtrl.InsertItem ( 9, _T("公共浴室:淋浴、浴盆"), 0 ); m_listCtrl.SetItemText ( 9, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 9, 2, _T("60~80")); m_listCtrl.SetItemText ( 9, 3, _T("12")); m_listCtrl.SetItemText ( 9, 5, _T("70")); m_listCtrl.InsertItem ( 10, _T("公共浴室:桑拿浴"), 0 ); m_listCtrl.SetItemText ( 10, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 10, 2, _T("70~100")); m_listCtrl.SetItemText ( 10, 3, _T("12")); m_listCtrl.SetItemText ( 10, 5, _T("85")); m_listCtrl.InsertItem ( 11, _T("理发室、美容院"), 0 ); m_listCtrl.SetItemText ( 11, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 11, 2, _T("10~15")); m_listCtrl.SetItemText ( 11, 3, _T("12")); m_listCtrl.SetItemText ( 11, 5, _T("12")); m_listCtrl.InsertItem ( 12, _T("洗衣房"), 0 ); m_listCtrl.SetItemText ( 12, 1, _T("每千克每次")); m_listCtrl.SetItemText ( 12, 2, _T("15~30")); m_listCtrl.SetItemText ( 12, 3, _T("8")); m_listCtrl.SetItemText ( 12, 5, _T("20")); m_listCtrl.InsertItem ( 13, _T("餐饮厅:营业餐厅"), 0 ); m_listCtrl.SetItemText ( 13, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 13, 2, _T("15~20")); m_listCtrl.SetItemText ( 13, 3, _T("12")); m_listCtrl.SetItemText ( 13, 5, _T("18")); m_listCtrl.InsertItem ( 14, _T("餐饮厅:快餐店、食堂"), 0 ); m_listCtrl.SetItemText ( 14, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 14, 2, _T("7~10")); // m_listCtrl.SetItemText ( 15, 3, _T("11")); // cet 2010.7.1 del m_listCtrl.SetItemText ( 14, 3, _T("12~16")); // cet 2010.7.1 add m_listCtrl.SetItemText ( 14, 5, _T("8")); m_listCtrl.InsertItem ( 15, _T("餐饮厅:酒吧、咖啡厅、茶座、卡拉OK"), 0 ); m_listCtrl.SetItemText ( 15, 1, _T("每顾客每次")); m_listCtrl.SetItemText ( 15, 2, _T("3~8")); // m_listCtrl.SetItemText ( 16, 3, _T("18")); // cet 2010.7.1 del m_listCtrl.SetItemText ( 15, 3, _T("8~18")); // cet 2010.7.1 add m_listCtrl.SetItemText ( 15, 5, _T("5")); m_listCtrl.InsertItem ( 16, _T("办公楼"), 0 ); m_listCtrl.SetItemText ( 16, 1, _T("每人每班")); m_listCtrl.SetItemText ( 16, 2, _T("5~10")); m_listCtrl.SetItemText ( 16, 3, _T("8")); m_listCtrl.SetItemText ( 16, 5, _T("8")); m_listCtrl.InsertItem ( 17, _T("健身中心"), 0 ); m_listCtrl.SetItemText ( 17, 1, _T("每人每次")); m_listCtrl.SetItemText ( 17, 2, _T("15~25")); m_listCtrl.SetItemText ( 17, 3, _T("12")); m_listCtrl.SetItemText ( 17, 5, _T("20")); m_listCtrl.InsertItem ( 18, _T("体育场:运动员淋浴"), 0 ); m_listCtrl.SetItemText ( 18, 1, _T("每人每次")); // m_listCtrl.SetItemText ( 19, 2, _T("25~35")); // cet 2010.7.1 del m_listCtrl.SetItemText ( 18, 2, _T("17~26")); // cet 2010.7.1 add m_listCtrl.SetItemText ( 18, 3, _T("4")); // m_listCtrl.SetItemText ( 18, 5, _T("30")); m_listCtrl.SetItemText ( 18, 5, _T("22")); m_listCtrl.InsertItem ( 19, _T("会议厅"), 0 ); m_listCtrl.SetItemText ( 19, 1, _T("每座位每次")); m_listCtrl.SetItemText ( 19, 2, _T("2~3")); m_listCtrl.SetItemText ( 19, 3, _T("4")); m_listCtrl.SetItemText ( 19, 5, _T("3")); } }