关于数据解析及数据模型转化
一个数组数据每个数组里面是字典数据,通过一个 "NowClientId" 来做到不同类型的区分(不同的车队),其实就相当于淘宝中的商品,如:(鞋子) (白色,红色,黑色)-> (38 码白色,38码黑色,)
接口数据
(
{
AboutClientId = 0;
AboutClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad9";
CarExpireTime = 0;
CarIconId = 1;
CarId = 28885;
CarName = 6;
CarStatus = 0;
CarType = 0;
Carbrand = 0;
ClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad9";
FilterImproper = 0;
FilterRefuel = 0;
InDate = 0;
IsEnable = 0;
IsFinish = 0;
LBType = 1;
MaxConcreteCapacity = 0;
MobileType = 608;
NowClientId = 437;
NowClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad9";
TerminalKey = 6083521741;
TerminalType = 0;
TimeDifference = 0;
Tonnage = 0;
isLock = 0;
},
{
AboutClientId = 0;
AboutClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
CarExpireTime = 0;
CarIconId = 1;
CarId = 28816;
CarName = 76;
CarStatus = 0;
CarType = 0;
Carbrand = 0;
ClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
FilterImproper = 0;
FilterRefuel = 0;
InDate = 0;
IsEnable = 0;
IsFinish = 0;
LBType = 1;
MaxConcreteCapacity = 0;
MobileType = 608;
NowClientId = 441;
NowClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
TerminalKey = 6080972451;
TerminalType = 0;
TimeDifference = 0;
Tonnage = 0;
isLock = 0;
},
{
AboutClientId = 0;
AboutClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
CarExpireTime = 0;
CarIconId = 1;
CarId = 31968;
CarName = 75;
CarStatus = 0;
CarType = 0;
Carbrand = 0;
ClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
FilterImproper = 0;
FilterRefuel = 0;
InDate = 0;
IsEnable = 0;
IsFinish = 0;
LBType = 1;
MaxConcreteCapacity = 0;
MobileType = 608;
NowClientId = 441;
NowClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
TerminalKey = 6080972444;
TerminalType = 0;
TimeDifference = 0;
Tonnage = 0;
isLock = 0;
},
{
AboutClientId = 0;
AboutClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
CarExpireTime = 0;
CarIconId = 1;
CarId = 28813;
CarName = 72;
CarStatus = 0;
CarType = 0;
Carbrand = 0;
ClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
FilterImproper = 0;
FilterRefuel = 0;
InDate = 0;
IsEnable = 0;
IsFinish = 0;
LBType = 1;
MaxConcreteCapacity = 0;
MobileType = 608;
NowClientId = 441;
NowClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
TerminalKey = 6080972465;
TerminalType = 0;
TimeDifference = 0;
Tonnage = 0;
isLock = 0;
},
{
AboutClientId = 0;
AboutClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
CarExpireTime = 0;
CarIconId = 1;
CarId = 28812;
CarName = 37;
CarStatus = 0;
CarType = 0;
Carbrand = 0;
ClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
FilterImproper = 0;
FilterRefuel = 0;
InDate = 0;
IsEnable = 0;
IsFinish = 0;
LBType = 1;
MaxConcreteCapacity = 0;
MobileType = 608;
NowClientId = 441;
NowClientName = "\U6c49\U4fe1\U6405\U62cc\U7ad91";
TerminalKey = 6080972455;
TerminalType = 0;
TimeDifference = 0;
Tonnage = 0;
isLock = 0;
},
)