StableVersion4.3/HL_FristAidPlatform_MultiSy.../CarEntity.cs

133 lines
2.6 KiB
C#
Raw Permalink Normal View History

2024-03-11 09:47:34 +08:00
using System;
namespace HL_FristAidPlatform_MultiSystemPublic
{
public class CarEntity
{
// Fields
private string _id;
private string _lpDeviceID;
private double _lpDirection;
private string _lpRes;
private DateTime? _lpSampleTime;
private double _lpSpeed;
private double _lpX;
private double _lpY;
// Methods
public CarEntity()
{
}
public CarEntity(string id, string lpDeviceID, double lpDirection, string lpRes, DateTime lpSampleTime, double lpSpeed, double lpX, double lpY)
{
this._id = id;
this._lpDeviceID = lpDeviceID;
this._lpDirection = lpDirection;
this._lpRes = lpRes;
this._lpSampleTime = new DateTime?(lpSampleTime);
this._lpSpeed = lpSpeed;
this._lpX = lpX;
this._lpY = lpY;
}
// Properties
public string Id
{
get
{
return this._id;
}
set
{
this._id = value;
}
}
public string LpDeviceID
{
get
{
return this._lpDeviceID;
}
set
{
this._lpDeviceID = value;
}
}
public double LpDirection
{
get
{
return this._lpDirection;
}
set
{
this._lpDirection = value;
}
}
public string LpRes
{
get
{
return this._lpRes;
}
set
{
this._lpRes = value;
}
}
public DateTime? LpSampleTime
{
get
{
return this._lpSampleTime;
}
set
{
this._lpSampleTime = value;
}
}
public double LpSpeed
{
get
{
return this._lpSpeed;
}
set
{
this._lpSpeed = value;
}
}
public double LpX
{
get
{
return this._lpX;
}
set
{
this._lpX = value;
}
}
public double LpY
{
get
{
return this._lpY;
}
set
{
this._lpY = value;
}
}
}
}