Files

96 lines
2.0 KiB
C++

// DispatchView.cpp: implementation of the CDispatchView class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//#include "sp.h"
#include "DispatchView.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CDispatchView::CDispatchView()
{
IsModified=false;
}
CDispatchView::~CDispatchView()
{
}
bool CDispatchView::operator==(CDispatchView other)
{
if(other.city!=city)
return false;
if(other.client!= client)
return false;
if(other.virtualreport!= virtualreport)
return false;
if(other.zone!= zone)
return false;
if(other.postal!= postal)
return false;
if(other.workorder!= workorder)
return false;
if(other.closed!= closed)
return false;
if(other.closeddate!= closeddate)
return false;
if(other.onsite!= onsite)
return false;
if(other.schedstart!= schedstart)
return false;
if(other.scheddatestart!= scheddatestart)
return false;
if(other.scheddateend!= scheddateend)
return false;
if(other.schedenddate!= schedenddate)
return false;
if(other.schedtech!= schedtech)
return false;
if(other.wocreateddate!= wocreateddate)
return false;
if(other.lastactivity!= lastactivity)
return false;
if(other.preview != preview)
return false;
if(other.woentrydate != woentrydate)
return false;
if(other.woentrydatetype != woentrydatetype)
return false;
if(other.invoice != invoice)
return false;
if(other.date != date)
return false;
if(other.ourrefnumber != ourrefnumber)
return false;
if(other.status != status)
return false;
if(other.custrefnumber != custrefnumber)
return false;
if(other.category != category)
return false;
if(other.project != project)
return false;
if(other.lCreatedDays != lCreatedDays)
return false;
return true;
}