You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.0 KiB
62 lines
2.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using System.Data;
|
|
using Stone.Entity;
|
|
using Gm_WMS.DataAccess.DataService;
|
|
using Stone.Common;
|
|
|
|
namespace Stone.WinBiz.BasicData
|
|
{
|
|
public class F_ModunoMBase : F_Base
|
|
{
|
|
public F_ModunoMBase()
|
|
{
|
|
this.type = "ModunoMBase";
|
|
this.name = "基础资料_M零件基础";
|
|
this.entity = new Entity_t_ModunoMBase();
|
|
this.entityView = new Entity_t_ModunoMBase();
|
|
}
|
|
|
|
public override void GetView(DataGridView dgv)
|
|
{
|
|
base.GetView(dgv);
|
|
|
|
|
|
}
|
|
|
|
public override void Checking(DataRow drData, bool isNew)
|
|
{
|
|
|
|
}
|
|
|
|
public override void InputData(DataSet dsData, LocalDBService db)
|
|
{
|
|
Entity_t_ModunoMBase t_Input = new Entity_t_ModunoMBase(db);
|
|
DataRow drInput = null;
|
|
|
|
foreach (DataRow drData in dsData.Tables[0].Rows)
|
|
{
|
|
|
|
drInput = t_Input.Table.NewRow();
|
|
|
|
drInput["Moduno"] = MyStrings.GetString(drData["Moduno"].ToString().Trim());
|
|
drInput["Cartype"] = MyStrings.GetString(drData["Cartype"].ToString().Trim());
|
|
drInput["FL"] = MyStrings.GetString(drData["FL"].ToString().Trim());
|
|
drInput["FR"] = MyStrings.GetString(drData["FR"].ToString().Trim());
|
|
drInput["RL"] = MyStrings.GetString(drData["RL"].ToString().Trim());
|
|
drInput["RR"] = MyStrings.GetString(drData["RR"].ToString().Trim());
|
|
drInput["Blevel"] = MyStrings.GetString(drData["Blevel"].ToString().Trim());
|
|
drInput["Description"] = MyStrings.GetString(drData["Description"].ToString().Trim());
|
|
drInput["Voided"] = drData["Voided"].ToString();
|
|
drInput["prodno"] = drData["prodno"].ToString();
|
|
|
|
t_Input.Add(drInput);
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|