public string genMaSo(pr_F104_nhap_du_toan_ke_hoach_Result ip_gd) { string v_str_op = ""; if (ip_gd.STT.Trim().Equals("-1")) { //tong v_str_op = "0"; } else if (Int32.Parse(ip_gd.STT) < -999) { //loai nhiem vu v_str_op = ip_gd.REPORT_LEVEL; } else if (ip_gd.ID == -1) { //cong trinh v_str_op =ip_gd.REPORT_LEVEL+ ip_gd.STT; } else { //du an v_str_op = ip_gd.REPORT_LEVEL + ip_gd.STT+ip_gd.ID; } return v_str_op; }
public string genClassCSS(pr_F104_nhap_du_toan_ke_hoach_Result ip_gd) { string v_str_op = ""; if (ip_gd.STT == "-1") { //tong v_str_op = "tong "; } else if (Int32.Parse(ip_gd.STT) < -999) { //loai nhiem vu v_str_op = " lnv "+ip_gd.REPORT_LEVEL; } else if (ip_gd.ID==-1) { //cong trinh v_str_op = " ct " + ip_gd.STT; } else { //du an v_str_op = "da " + ip_gd.ID; } return v_str_op; }