using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MES.Production.Entity
{
public abstract class MongoModel
{
public ObjectId id { get; set; }
public BsonDateTime created_at { get; set; }
public BsonDateTime updated_at { get; set; }
}
public class userLatestLocation : MongoModel
{
///
/// 车IMEI号
///
public string imei
{
get; set;
}
///
///
///
public decimal? lng
{
get; set;
}
///
///
///
public decimal? lat
{
get; set;
}
///
///时间戳
///
public long timestamp
{
get; set;
}
///
/// 添加时间
///
public DateTime? add_time
{
get; set;
}
}
public class userCarGPSInfo : MongoModel
{
///
///
///
public string imei
{
get; set;
}
///
///
///
public decimal? lng
{
get; set;
}
///
///
///
public decimal? lat
{
get; set;
}
///
///
///
public long timestamp
{
get; set;
}
///
///
///
public int? mcc
{
get; set;
}
///
///
///
public int? mnc
{
get; set;
}
///
///
///
public int? lac
{
get; set;
}
///
///
///
public int? cellID
{
get; set;
}
///
///
///
public int? bsic
{
get; set;
}
///
///
///
public int? arfcn
{
get; set;
}
///
///
///
public int? rssi
{
get; set;
}
///
///
///
public int? locationtype
{
get; set;
}
public DateTime? add_time
{
get; set;
}
}
///
///
///
public class userNewCarECUInfos : MongoModel
{
///
/// 车ID
///
public string carId
{
get; set;
}
///
/// 油压
///
public string hydraulic
{
get; set;
}
///
/// 水温
///
public string temperature
{
get; set;
}
///
/// 电压
///
public string voltage
{
get; set;
}
///
/// 转速
///
public string speed
{
get; set;
}
///
/// 操作时间
///
public DateTime operatDate
{
get; set;
}
///
///
///
public long timestamp
{
get; set;
}
///
///
///
public string note
{
get; set;
}
///
/// 结果
///
public int carReslut
{
get; set;
}
}
public class UserCarParamInfos : MongoModel
{
///
/// 车ID
///
public string carId
{
get; set;
}
///
/// 油压
///
public string hydraulic
{
get; set;
}
///
/// 水温
///
public string temperature
{
get; set;
}
///
/// 电压
///
public string voltage
{
get; set;
}
///
/// 转速
///
public string speed
{
get; set;
}
///
/// 操作时间
///
public DateTime operatDate
{
get; set;
}
public long timestamp
{
get; set;
}
///
/// 结果
///
public int carReslut
{
get; set;
}
}
public class SendUserCarInfo : MongoModel
{
///
/// 车ID
///
public string carId
{
get; set;
}
///
/// 结果
///
public int carReslut
{
get; set;
}
}
}