Esempio n. 1
0
    protected void btnSave_Click(object sender, EventArgs e)
    {
        Label   lblthresHoldID                    = (Label)FormView1.Row.Cells[0].FindControl("lblThresHoldId");
        TextBox txt01ME_TEMP_EXH_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_TEMP_EXH_Min");
        TextBox txt01ME_TEMP_EXH_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_TEMP_EXH_Max");
        TextBox txt01METB_T_EXH_INLET_MIN         = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_INLET_MIN");
        TextBox txt01METB_T_EXH_INLET_MAX         = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_INLET_MAX");
        TextBox txt01METB_T_EXH_OUTLET_MIN        = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_OUTLET_MIN");
        TextBox txt01METB_T_EXH_OUTLET_Max        = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_OUTLET_Max");
        TextBox txt01METB_T_EXH_AIR_IN_MIN        = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_AIR_IN_MIN");
        TextBox txt01METB_T_EXH_AIR_OUT_MIN       = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_AIR_OUT_MIN");
        TextBox txt01METB_T_EXH_AIR_IN_Max        = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_AIR_IN_Max");
        TextBox txt01METB_T_EXH_AIR_OUT_Max       = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_EXH_AIR_OUT_Max");
        TextBox txt01METB_T_SCAVENGE_MIN          = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_SCAVENGE_MIN");
        TextBox txt01METB_T_SCAVENGE_Max          = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_SCAVENGE_Max");
        TextBox txt01METB_T_LO_B_MIN              = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_LO_B_MIN");
        TextBox txt01METB_T_LO_B_MAX              = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_LO_B_MAX");
        TextBox txt01METB_T_LO_T_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_LO_T_Min");
        TextBox txt01METB_T_LO_T_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_T_LO_T_Max");
        TextBox txt01METB_P_PD_AC_Min             = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_P_PD_AC_Min");
        TextBox txt01METB_P_PD_AC_Max             = (TextBox)FormView1.Row.Cells[0].FindControl("txtMETB_P_PD_AC_Max");
        TextBox txt01ME_MB_IN_Min                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_MB_IN_Min");
        TextBox txt01ME_MB_IN_Max                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_MB_IN_Max");
        TextBox txt01ME_MB_OUT_Min                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_MB_OUT_Min");
        TextBox txt01ME_MB_OUT_Max                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_MB_OUT_Max");
        TextBox txt01ME_JC_IN_Min                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_IN_Min");
        TextBox txt01ME_JC_IN_Max                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_IN_Max");
        TextBox txt01ME_JC_OUT_Min                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_OUT_Min");
        TextBox txt01ME_JC_OUT_Max                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_OUT_Max");
        TextBox txt01ME_PC_IN_Min                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_IN_Min");
        TextBox txt01ME_PC_IN_Max                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_IN_Max");
        TextBox txt01ME_PC_OUT_Min                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_OUT_Min");
        TextBox txt01ME_PC_OUT_Max                = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_OUT_Max");
        TextBox txt01ME_FUEL_OIL_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_FUEL_OIL_Min");
        TextBox txt01ME_FUEL_OIL_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_FUEL_OIL_Max");
        TextBox txt01ME_JC_FW_IN_min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_FW_IN_min");
        TextBox txt01ME_JC_FW_IN_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_FW_IN_Max");
        TextBox txt01ME_JC_FW_OUT_Min             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_FW_OUT_Min");
        TextBox txt01ME_JC_FW_OUT_Max             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_JC_FW_OUT_Max");
        TextBox txt01ME_LC_LO_IN_min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_LC_LO_IN_min");
        TextBox txt01ME_LC_LO_IN_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_LC_LO_IN_Max");
        TextBox txt01ME_LC_LO_OUT_Min             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_LC_LO_OUT_Min");
        TextBox txt01ME_LC_LO_OUT_Max             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_LC_LO_OUT_Max");
        TextBox txt01ME_PC_LO_IN_min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_LO_IN_min");
        TextBox txt01ME_PC_LO_IN_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_LO_IN_Max");
        TextBox txt01ME_PC_LO_OUT_min             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_LO_OUT_min");
        TextBox txt01ME_PC_LO_OUT_Max             = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_PC_LO_OUT_Max");
        TextBox txt01ME_P_JACKET_WATER_min        = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_JACKET_WATER_min");
        TextBox txt01ME_P_JACKET_WATER_Max        = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_JACKET_WATER_Max");
        TextBox txt01ME_P_BEARING_XND_LO_Min      = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_BEARING_XND_LO_Min");
        TextBox txt01ME_P_BEARING_XND_LO_Max      = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_BEARING_XND_LO_Max");
        TextBox txt01ME_P_CAMSHAFT_LO_Min         = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_CAMSHAFT_LO_Min");
        TextBox txt01ME_P_CAMSHAFT_LO_Max         = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_CAMSHAFT_LO_Max");
        TextBox txt01ME_P_FV_COOLING_Min          = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_FV_COOLING_Min");
        TextBox txt01ME_P_FV_COOLING_Max          = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_FV_COOLING_Max");
        TextBox txt01ME_P_FUEL_OIL_min            = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_FUEL_OIL_min");
        TextBox txt01ME_P_FUEL_OIL_Max            = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_FUEL_OIL_Max");
        TextBox txt01ME_P_PISTON_COOLING_Min      = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_PISTON_COOLING_Min");
        TextBox txt01ME_P_PISTON_COOLING_Max      = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_PISTON_COOLING_Max");
        TextBox txt01ME_P_CONTROL_AIR_min         = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_CONTROL_AIR_min");
        TextBox txt01ME_P_CONTROL_AIR_Max         = (TextBox)FormView1.Row.Cells[0].FindControl("txtME_P_CONTROL_AIR_Max");
        TextBox txt01REF_MEAT_TEMP_Min            = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_MEAT_TEMP_Min");
        TextBox txt01REF_MEAT_TEMP_Max            = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_MEAT_TEMP_Max");
        TextBox txt01REF_FISH_TEMP_Min            = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_FISH_TEMP_Min");
        TextBox txt01REF_FISH_TEMP_Max            = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_FISH_TEMP_Max");
        TextBox txt01REF_VEG_LOBBY_TEMP_Min       = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_VEG_LOBBY_TEMP_Min");
        TextBox txt01REF_VEG_LOBBY_TEMP_Max       = (TextBox)FormView1.Row.Cells[0].FindControl("txtREF_VEG_LOBBY_TEMP_Max");
        TextBox txt01FWGEN_VACCUM_Min             = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_VACCUM_Min");
        TextBox txt01FWGEN_VACCUM_Max             = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_VACCUM_Max");
        TextBox txt01FWGEN_SHELL_TEMP_Min         = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_SHELL_TEMP_Min");
        TextBox txt01FWGEN_SHELL_TEMP_Max         = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_SHELL_TEMP_Max");
        TextBox txt01FWGEN_SALINITY_PPM_Min       = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_SALINITY_PPM_Min");
        TextBox txt01FWGEN_SALINITY_PPM_Max       = (TextBox)FormView1.Row.Cells[0].FindControl("txtFWGEN_SALINITY_PPM_Max");
        TextBox txt01PUR_HO_TEMP_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtPUR_HO_TEMP_Min");
        TextBox txt01PUR_HO_TEMP_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtPUR_HO_TEMP_Max");
        TextBox txt01PUR_LO_TEMP_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtPUR_LO_TEMP_Min");
        TextBox txt01PUR_LO_TEMP_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtPUR_LO_TEMP_Max");
        TextBox txt01MISC_THRUST_BRG_TEMP_Min     = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_THRUST_BRG_TEMP_Min");
        TextBox txt01MISC_THRUST_BRG_TEMP_Max     = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_THRUST_BRG_TEMP_Max");
        TextBox txt01MISC_INTERM_BRG_TEMP_Min     = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_INTERM_BRG_TEMP_Min");
        TextBox txt01MISC_INTERM_BRG_TEMP_Max     = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_INTERM_BRG_TEMP_Max");
        TextBox txt01MISC_STERN_TUBE_OIL_TEMP_Min = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_STERN_TUBE_OIL_TEMP_Min");
        TextBox txt01MISC_STERN_TUBE_OIL_TEMP_Max = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_STERN_TUBE_OIL_TEMP_Max");
        TextBox txt01MISC_HO_SETT_1_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SETT_1_Min");
        TextBox txt01MISC_HO_SETT_1_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SETT_1_Max");
        TextBox txt01MISC_HO_SETT_2_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SETT_2_Min");
        TextBox txt01MISC_HO_SETT_2_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SETT_2_Max");
        TextBox txt01MISC_HO_SERV_1_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SERV_1_Min");
        TextBox txt01MISC_HO_SERV_1_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SERV_1_Max");
        TextBox txt01MISC_HO_SERV_2_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SERV_2_Min");
        TextBox txt01MISC_HO_SERV_2_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtMISC_HO_SERV_2_Max");
        TextBox txt01GE_TEMP_EXH_MAX_Min          = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_EXH_MAX_Min");
        TextBox txt01GE_TEMP_EXH_MAX_Max          = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_EXH_MAX_Max");
        TextBox txt01GE_TEMP_EXH_MIN_Min          = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_EXH_MIN_Min");
        TextBox txt01GE_TEMP_EXH_MIN_Max          = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_EXH_MIN_Max");
        TextBox txt01GE_TEMP_CW_IN_Min            = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_CW_IN_Min");
        TextBox txt01GE_TEMP_CW_IN_Max            = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_CW_IN_Max");
        TextBox txt01GE_TEMP_CW_OUT_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_CW_OUT_Min");
        TextBox txt01GE_TEMP_CW_OUT_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_CW_OUT_Max");
        TextBox txt01GE_TEMP_LO_IN_Min            = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_LO_IN_Min");
        TextBox txt01GE_TEMP_LO_IN_Max            = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_LO_IN_Max");
        TextBox txt01GE_TEMP_LO_OUT_Min           = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_LO_OUT_Min");
        TextBox txt01GE_TEMP_LO_OUT_Max           = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_TEMP_LO_OUT_Max");
        TextBox txt01GE_PRESS_LO_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_PRESS_LO_Min");
        TextBox txt01GE_PRESS_LO_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_PRESS_LO_Max");
        TextBox txt01GE_PRESS_CW_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_PRESS_CW_Min");
        TextBox txt01GE_PRESS_CW_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtGE_PRESS_CW_Max");
        TextBox txt01SG_LO_PRESS_Min              = (TextBox)FormView1.Row.Cells[0].FindControl("txtSG_LO_PRESS_Min");
        TextBox txt01SG_LO_PRESS_Max              = (TextBox)FormView1.Row.Cells[0].FindControl("txtSG_LO_PRESS_Max");
        TextBox txt01SG_LO_TEMP_Min               = (TextBox)FormView1.Row.Cells[0].FindControl("txtSG_LO_TEMP_Min");
        TextBox txt01SG_LO_TEMP_Max               = (TextBox)FormView1.Row.Cells[0].FindControl("txtSG_LO_TEMP_Max");
        TextBox txt01CREATED_BY                   = (TextBox)FormView1.Row.Cells[0].FindControl("txtCREATED_BY");
        TextBox txt01CREATED_DATE                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtCREATED_DATE");
        TextBox txt01MODIFIED_BY                  = (TextBox)FormView1.Row.Cells[0].FindControl("txtMODIFIED_BY");
        TextBox txt01MODIFIED_DATE                = (TextBox)FormView1.Row.Cells[0].FindControl("txtMODIFIED_DATE");
        TextBox txt01DELETED_BY                   = (TextBox)FormView1.Row.Cells[0].FindControl("txtDELETED_BY");
        TextBox txt01DELETED_DATE                 = (TextBox)FormView1.Row.Cells[0].FindControl("txtDELETED_DATE");
        TextBox txt01ACTIVE_STATUS                = (TextBox)FormView1.Row.Cells[0].FindControl("txtACTIVE_STATUS");

        int i = BLL_Tec_ErLog.Inser_Update_ErLogBookThresHold(UDFLib.ConvertIntegerToNull(lblthresHoldID.Text), int.Parse(ViewState["VESSELID"].ToString()), UDFLib.ConvertDecimalToNull(txt01ME_TEMP_EXH_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_TEMP_EXH_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_INLET_MIN.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_INLET_MAX.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_OUTLET_MIN.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_OUTLET_Max.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_AIR_IN_MIN.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_AIR_OUT_MIN.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_AIR_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_EXH_AIR_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_SCAVENGE_MIN.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_T_SCAVENGE_Max.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_LO_B_MIN.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_LO_B_MAX.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_T_LO_T_Min.Text), UDFLib.ConvertDecimalToNull(txt01METB_T_LO_T_Max.Text), UDFLib.ConvertDecimalToNull(txt01METB_P_PD_AC_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01METB_P_PD_AC_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_MB_IN_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_MB_IN_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_MB_OUT_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_MB_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_JC_IN_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_JC_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_JC_OUT_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_JC_OUT_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_PC_IN_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_PC_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_PC_OUT_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_PC_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_FUEL_OIL_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_FUEL_OIL_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_JC_FW_IN_min.Text), UDFLib.ConvertDecimalToNull(txt01ME_JC_FW_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_JC_FW_OUT_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_JC_FW_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_LC_LO_IN_min.Text), UDFLib.ConvertDecimalToNull(txt01ME_LC_LO_IN_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_LC_LO_OUT_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_LC_LO_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_PC_LO_IN_min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_PC_LO_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_PC_LO_OUT_min.Text), UDFLib.ConvertDecimalToNull(txt01ME_PC_LO_OUT_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_P_JACKET_WATER_min.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_JACKET_WATER_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_BEARING_XND_LO_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_P_BEARING_XND_LO_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_CAMSHAFT_LO_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_CAMSHAFT_LO_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_P_FV_COOLING_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_FV_COOLING_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_FUEL_OIL_min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_P_FUEL_OIL_Max.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_PISTON_COOLING_Min.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_PISTON_COOLING_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01ME_P_CONTROL_AIR_min.Text), UDFLib.ConvertDecimalToNull(txt01ME_P_CONTROL_AIR_Max.Text), UDFLib.ConvertDecimalToNull(txt01REF_MEAT_TEMP_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01REF_MEAT_TEMP_Max.Text), UDFLib.ConvertDecimalToNull(txt01REF_FISH_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01REF_FISH_TEMP_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01REF_VEG_LOBBY_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01REF_VEG_LOBBY_TEMP_Max.Text), UDFLib.ConvertDecimalToNull(txt01FWGEN_VACCUM_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01FWGEN_VACCUM_Max.Text), UDFLib.ConvertDecimalToNull(txt01FWGEN_SHELL_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01FWGEN_SHELL_TEMP_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01FWGEN_SALINITY_PPM_Min.Text), UDFLib.ConvertDecimalToNull(txt01FWGEN_SALINITY_PPM_Max.Text), UDFLib.ConvertDecimalToNull(txt01PUR_HO_TEMP_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01PUR_HO_TEMP_Max.Text), UDFLib.ConvertDecimalToNull(txt01PUR_LO_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01PUR_LO_TEMP_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01MISC_THRUST_BRG_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01MISC_THRUST_BRG_TEMP_Max.Text), UDFLib.ConvertDecimalToNull(txt01MISC_INTERM_BRG_TEMP_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01MISC_INTERM_BRG_TEMP_Max.Text), UDFLib.ConvertDecimalToNull(txt01MISC_STERN_TUBE_OIL_TEMP_Min.Text), UDFLib.ConvertDecimalToNull(txt01MISC_STERN_TUBE_OIL_TEMP_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01MISC_HO_SETT_1_Min.Text), UDFLib.ConvertDecimalToNull(txt01MISC_HO_SETT_1_Max.Text), UDFLib.ConvertDecimalToNull(txt01MISC_HO_SETT_2_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01MISC_HO_SETT_2_Max.Text), UDFLib.ConvertDecimalToNull(txt01MISC_HO_SERV_1_Min.Text), UDFLib.ConvertDecimalToNull(txt01MISC_HO_SERV_1_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01MISC_HO_SERV_2_Min.Text), UDFLib.ConvertDecimalToNull(txt01MISC_HO_SERV_2_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_EXH_MAX_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01GE_TEMP_EXH_MAX_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_EXH_MIN_Min.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_EXH_MIN_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01GE_TEMP_CW_IN_Min.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_CW_IN_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_CW_OUT_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01GE_TEMP_CW_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_LO_IN_Min.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_LO_IN_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01GE_TEMP_LO_OUT_Min.Text), UDFLib.ConvertDecimalToNull(txt01GE_TEMP_LO_OUT_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_PRESS_LO_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01GE_PRESS_LO_Max.Text), UDFLib.ConvertDecimalToNull(txt01GE_PRESS_CW_Min.Text), UDFLib.ConvertDecimalToNull(txt01GE_PRESS_CW_Max.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01SG_LO_PRESS_Min.Text), UDFLib.ConvertDecimalToNull(txt01SG_LO_PRESS_Max.Text), UDFLib.ConvertDecimalToNull(txt01SG_LO_TEMP_Min.Text),
                                                              UDFLib.ConvertDecimalToNull(txt01SG_LO_TEMP_Max.Text), Convert.ToInt32(Session["USERID"].ToString()));
        string js = "alertmessage(1);";

        ScriptManager.RegisterStartupScript(this, this.GetType(), "Update", js, true);
        lblLogId.Text       = null;
        lblthresHoldID.Text = null;
        BindViews(null);
    }