版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haimianjie2012/article/details/81290426
#pragma once
#include <string.h>
#include <vector>
using namespace std;
class CSVItem
{
public:
CSVItem() {}
CSVItem(const CSVItem& item)
{
lock_time = item.lock_time;
container = item.container;
spreader = item.spreader;
lf0Identify1 = item.lf0Identify1;
lf1Identify2 = item.lf1Identify2;
lr0Identify3 = item.lr0Identify3;
lr1Identify4 = item.lr1Identify4;
sf0Identify5 = item.sf0Identify5;
sf1Identify6 = item.sf1Identify6;
sr0Identify7 = item.sr0Identify7;
sr1Identify8 = item.sr1Identify8;
v_end16ident = item.v_end16ident;
v_top4ident = item.v_top4ident;
}
void operator= (const CSVItem& item)
{
lock_time = item.lock_time;
container=item.container;
spreader = item.spreader;
lf0Identify1 = item.lf0Identify1;
lf1Identify2 = item.lf1Identify2;
lr0Identify3 = item.lr0Identify3;
lr1Identify4 = item.lr1Identify4;
sf0Identify5 = item.sf0Identify5;
sf1Identify6 = item.sf1Identify6;
sr0Identify7 = item.sr0Identify7;
sr1Identify8 = item.sr1Identify8;
v_end16ident = item.v_end16ident;
v_top4ident = item.v_top4ident;
}
public:
string lock_time;//作业上锁时间
string container;//作业识别结果
string spreader;//spreader_landside 及 spreader_seaside, 若只有一個 spreader 有一個箱的記錄才輸出, 不是的不用輸出
string lf0Identify1;//LF.0 圖片識別結果1
string lf1Identify2;//LF.1 圖片識別結果2
string lr0Identify3;//LR.0 圖片識別結果3
string lr1Identify4;//LR.1 圖片識別結果4
string sf0Identify5;//SF.0 圖片識別結果5
string sf1Identify6;//SF.1 圖片識別結果6
string sr0Identify7;// SR.0 圖片識別結果7
string sr1Identify8;// SR.1 圖片識別結果8
vector<string> v_end16ident;//前后图片识别结果16
vector<string> v_top4ident;//箱頂圖片識別結果4
};