public object IscAMPKitOrthologAvailable(vw_TPL_TotalGPCR assay) { string str = string.Empty; if (!string.IsNullOrEmpty(assay.cAMPKitMouseOrtholog) || !string.IsNullOrEmpty(assay.cAMPKitRatOrtholog) || !string.IsNullOrEmpty(assay.cAMPKitSimianOrtholog) || !string.IsNullOrEmpty(assay.cAMPKitCanineOrtholog)) { str += "* ("; str = AppendOrtholog(string.IsNullOrEmpty(assay.cAMPKitMouseOrtholog) ? "" : "m", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.cAMPKitRatOrtholog) ? "" : "r", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.cAMPKitSimianOrtholog) ? "" : "s", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.cAMPKitCanineOrtholog) ? "" : "c", str); str += ")"; } return(str); }
public object IsCellLineOrthologAvailable(vw_TPL_TotalGPCR assay) { string str = string.Empty; if (!string.IsNullOrEmpty(assay.ArrestinCellLineMouseOrtholog) || !string.IsNullOrEmpty(assay.ArrestinCellLineRatOrtholog) || !string.IsNullOrEmpty(assay.ArrestinCellLineSimianOrtholog) || !string.IsNullOrEmpty(assay.ArrestinCellLineCanineOrtholog)) { str += "* ("; str = AppendOrtholog(string.IsNullOrEmpty(assay.ArrestinCellLineMouseOrtholog) ? "" : "m", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.ArrestinCellLineRatOrtholog) ? "" : "r", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.ArrestinCellLineSimianOrtholog) ? "" : "s", str); str = AppendOrtholog(string.IsNullOrEmpty(assay.ArrestinCellLineCanineOrtholog) ? "" : "c", str); str += ")"; } return(str); }
private string GetProfilingServiceSymbol(vw_TPL_TotalGPCR item) { string profilingService = string.Empty; if (item.LeadHunterServiceProfiling.ParseString() != string.Empty) { profilingService = "X"; } else if (item.cAMPProfiling.ParseString() != string.Empty) { profilingService = "C"; } else if (item.CalciumProfiling.ParseString() != string.Empty) { profilingService = "F"; } return(profilingService); }
private void FillKnownGPCRDataRow(ExcelWorksheet ws, int rowIndex, vw_TPL_TotalGPCR item) { int colIndex = 1; SetCellValue(ws, rowIndex, colIndex, item.Family); SetCellValue(ws, rowIndex, ++colIndex, item.CommonName); SetCellValue(ws, rowIndex, ++colIndex, item.TARGET); SetCellValue(ws, rowIndex, ++colIndex, item.Coupling); SetCellValue(ws, rowIndex, ++colIndex, item.ArrestinCellLines); SetCellValue(ws, rowIndex, ++colIndex, GetOrthologPartNo(item.ArrestinCellLineMouseOrtholog, item.ArrestinCellLineRatOrtholog, item.ArrestinCellLineCanineOrtholog, item.ArrestinCellLineSimianOrtholog)); SetCellValue(ws, rowIndex, ++colIndex, item.ArrestinKits); SetCellValue(ws, rowIndex, ++colIndex, GetOrthologPartNo(item.ArrestinKitsMouseOrtholog, item.ArrestinKitsRatOrtholog, item.ArrestinKitsCanineOrtholog, item.ArrestinKitsSimianOrtholog)); SetCellValue(ws, rowIndex, ++colIndex, item.cAMPCellLines); SetCellValue(ws, rowIndex, ++colIndex, GetOrthologPartNo(item.cAMPCellLineMouseOrtholog, item.cAMPCellLineRatOrtholog, item.cAMPCellLineCanineOrtholog, item.cAMPCellLineSimianOrtholog)); SetCellValue(ws, rowIndex, ++colIndex, item.cAMPKits); SetCellValue(ws, rowIndex, ++colIndex, GetOrthologPartNo(item.cAMPKitMouseOrtholog, item.cAMPKitRatOrtholog, item.cAMPKitCanineOrtholog, item.cAMPKitSimianOrtholog)); SetCellValue(ws, rowIndex, ++colIndex, item.CalciumCellLine); SetCellValue(ws, rowIndex, ++colIndex, item.InternalizationCellLines); SetCellValue(ws, rowIndex, ++colIndex, item.InternalizationKits); SetCellValue(ws, rowIndex, ++colIndex, item.PathHunterKits); SetCellValue(ws, rowIndex, ++colIndex, (item.LeadHunterServiceMax == "gpcrMAX") ? "X" : ""); SetCellValue(ws, rowIndex, ++colIndex, GetProfilingServiceSymbol(item)); }