using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.FreeDB;
using WIDESEA_Entity.DomainModels;
namespace WIDESEA_WMS.Common
{
public class QueryData
{
static FreeDB freeDB = new FreeDB();
///
/// 根据图号查询车轮信息
///
///
///
public static dt_geometry_data QueryMateriel(string type)
{
var materielinfo = freeDB.Select().Where(x => x.Description == type).First();
return materielinfo;
}
///
/// 根据主键查询车轮信息
///
///
///
public static dt_geometry_data QueryMateriel(int type)
{
var materielinfo = freeDB.Select().Where(x => x.TypeId == type).First();
return materielinfo;
}
}
}