57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerBase;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class TaxiLogInfo : ILogInvoker.IInfo
|
|
{
|
|
[JsonProperty]
|
|
public int TaxiMID { get; set; }
|
|
[JsonProperty]
|
|
public string TaxiType { get; set; } = string.Empty; // TaxiType
|
|
[JsonProperty]
|
|
public int Cost { get; set; }
|
|
[JsonProperty]
|
|
public int UnloadingWorldId { get; set; }
|
|
[JsonProperty]
|
|
public int UnloadingLandId { get; set; }
|
|
[JsonProperty]
|
|
public int UnloadingFloor { get; set; }
|
|
[JsonProperty]
|
|
public Pos UnloadingPos { get; set; } = new Pos();
|
|
|
|
public TaxiLogInfo()
|
|
: base()
|
|
{ }
|
|
|
|
public TaxiLogInfo(ILogInvoker parent, TaxiLogInfo logParam)
|
|
: base(parent)
|
|
{
|
|
if (null != logParam)
|
|
{
|
|
setTaxiInfo(logParam);
|
|
}
|
|
}
|
|
|
|
public void setTaxiInfo(TaxiLogInfo logInfo)
|
|
{
|
|
TaxiMID = logInfo.TaxiMID;
|
|
TaxiType = logInfo.TaxiType;
|
|
Cost = logInfo.Cost;
|
|
UnloadingWorldId = logInfo.UnloadingWorldId;
|
|
UnloadingLandId = logInfo.UnloadingLandId;
|
|
UnloadingFloor = logInfo.UnloadingFloor;
|
|
UnloadingPos = logInfo.UnloadingPos;
|
|
}
|
|
}
|