Beispiel #1
0
    private void del(dynamic data)
    {
        BL_MyCar bllcar = new BL_MyCar();

        if (bllcar.Delete(Convert.ToInt32(data.o.AU), Convert.ToInt32(data.o.MAU)))
        {
            Response.Write(JsonConvert.SerializeObject(new { isOK = true }));
        }
    }
    public static Object getMyCarStyle(int CS_Code)
    {
        BL_MyCar     myCar = new BL_MyCar();
        CT_Car_Style Style = myCar.getMyStyle(CS_Code);

        if (Style != null && !Intern)
        {
            Style.CS_Style_EN = Style.CS_Style_CN;
        }
        return(Style);
    }
    public static Object getMyCarMode(int i, int CM_Code)
    {
        BL_MyCar     myCar = new BL_MyCar();
        CT_Car_Model Model = myCar.getCarModel(i, CM_Code);

        if (Model != null && !Intern)
        {
            Model.CM_Model_EN = Model.CM_Model_CN;
        }
        return(Model);
    }
    public static Object getCarMake(int i, int CM_Code)
    {
        BL_MyCar Car     = new BL_MyCar();
        CT_Make  CarMake = Car.getCarMake(i, CM_Code);

        if (CarMake != null && !Intern)
        {
            CarMake.MK_Make_EN = CarMake.MK_Make_CN;
        }
        return(CarMake);
    }
Beispiel #5
0
    /// <summary>
    /// 加载Car信息
    /// </summary>
    private void getMyCar()
    {
        BL_MyCar   myCar     = new BL_MyCar();
        MD_CarList myCarList = myCar.GetCarList(UserSession.User.AU_Code);

        if (myCarList != null)
        {
            //绑定
            this.myCarInfoList.DataSource = myCarList.Car_Inventory_List;
            this.myCarInfoList.DataBind();
        }
    }