📄 mmhdl.h
字号:
AnsiString b_RoutehEdate;
AnsiString b_RoutehIdate;
int b_RoutehCancel;
AnsiString b_RoutehCancelDate;
AnsiString b_RoutehUser;
AnsiString b_RoutehProducter;
AnsiString b_RoutehDesc;
AnsiString b_RoutehSysDate;
TsdRouted *m_sdRouted;
TsdRouted *b_sdRouted;
private:
void BackupValue();
void EmptyValue(int Index);
void BatchLetValue();
void NewDetail();
void DeleteDetail();
int __fastcall GetItemCount();
int __fastcall GetCurItemNo();
char __fastcall GetCurItemStatus();
AnsiString __fastcall GetItemBookMark();
void __fastcall SetRoutehCode(AnsiString value);
void __fastcall SetRoutehName(AnsiString value);
void __fastcall SetRoutehGoods(AnsiString value);
void __fastcall SetRoutehKey(int value);
void __fastcall SetRoutehEdate(AnsiString value);
void __fastcall SetRoutehIdate(AnsiString value);
void __fastcall SetRoutehUser(AnsiString value);
void __fastcall SetRoutehProducter(AnsiString value);
void __fastcall SetRoutehCancel(int value);
void __fastcall SetRoutehCancelDate(AnsiString value);
void __fastcall SetRoutehDesc(AnsiString value);
__property AnsiString RoutehCode = { read = m_RoutehCode, write = SetRoutehCode };
__property AnsiString RoutehName = { read = m_RoutehName, write = SetRoutehName };
__property AnsiString RoutehGoods = { read = m_RoutehGoods, write = SetRoutehGoods };
__property int RoutehKey = { read = m_RoutehKey, write = SetRoutehKey };
__property AnsiString RoutehEdate = { read = m_RoutehEdate, write = SetRoutehEdate };
__property AnsiString RoutehIdate = { read = m_RoutehIdate, write = SetRoutehIdate };
__property AnsiString RoutehUser = { read = m_RoutehUser, write = SetRoutehUser };
__property AnsiString RoutehProducter = { read = m_RoutehProducter, write = SetRoutehProducter };
__property AnsiString RoutehDesc = { read = m_RoutehDesc, write = SetRoutehDesc };
__property int RoutehCancel = { read = m_RoutehCancel, write = SetRoutehCancel };
__property AnsiString RoutehCancelDate = { read = m_RoutehCancelDate ,write = SetRoutehCancelDate };
__property AnsiString RoutehSysDate = { read = m_RoutehSysDate };
public:
TsdRouteh(TDataComm *DC);
TsdRouteh();
~TsdRouteh();
void Update();
void Delete();
void AddItem();
void InsertItem();
void EditItem();
void DeleteItem();
void RemoveItem();
void ClearItem();
void CancelItem();
void AddToObject();
bool LocateItemByIndex(int Index);
bool LocateItemByKey(AnsiString Key);
void RestoreItem();
void AssignValue();
void Assign(TsdRouteh *p);
void RestoreValue();
int Query();
bool Find(AnsiString WhereStr);
AnsiString GetFieldValue(euRouteh sdFieldName);
void SetFieldValue(euRouteh sdFieldName, AnsiString Value);
AnsiString GetItemValue(euRouted FieldName);
void SetItemValue(euRouted FieldName, AnsiString Value);
__property int ItemCount = { read = GetItemCount };
__property int CurItemNo = { read = GetCurItemNo };
__property AnsiString ItemBookMark = { read = GetItemBookMark };
};
//************************************
// Class:TsdLabd //
// Description:工时登记的行 //
// Created on 2000/10/12 //
//************************************
class _EXPORT_TYPE TsdLabd: public TsdDetail
{
private:
AnsiString m_LabdCode;
AnsiString m_LabdEmployee;
int m_LabdLine;
AnsiString m_LabdWo;
AnsiString m_LabdProcess;
double m_LabdTime;
double m_LabdPrice;
int m_LabdDType;
AnsiString m_LabdDesc;
AnsiString b_LabdCode;
AnsiString b_LabdEmployee;
int b_LabdLine;
AnsiString b_LabdWo;
AnsiString b_LabdProcess;
double b_LabdTime;
double b_LabdPrice;
int b_LabdDType;
AnsiString b_LabdDesc;
void __fastcall SetLabdCode(AnsiString value);
void __fastcall SetLabdLine(int value);
void __fastcall SetLabdEmployee(AnsiString value);
void __fastcall SetLabdWo(AnsiString value);
void __fastcall SetLabdProcess(AnsiString value);
void __fastcall SetLabdTime(double value);
void __fastcall SetLabdPrice(double value);
void __fastcall SetLabdDType(int value);
void __fastcall SetLabdDesc(AnsiString value);
__property AnsiString LabdCode={read=m_LabdCode,write=SetLabdCode};
__property int LabdLine={read=m_LabdLine,write=SetLabdLine};
__property AnsiString LabdEmployee={read=m_LabdEmployee,write=SetLabdEmployee};
__property AnsiString LabdWo={read=m_LabdWo,write=SetLabdWo};
__property AnsiString LabdProcess={read=m_LabdProcess,write=SetLabdProcess};
__property double LabdTime={read=m_LabdTime,write=SetLabdTime};
__property double LabdPrice={read=m_LabdPrice,write=SetLabdPrice};
__property int LabdDType={read=m_LabdDType,write=SetLabdDType};
__property AnsiString LabdDesc={read=m_LabdDesc,write=SetLabdDesc};
public:
TsdLabd(TDataComm *DC);
TsdLabd();
~TsdLabd();
TsdLabh *sdParent;
void BackupValue();
void RestoreValue();
void EmptyValue(int Index);
void BatchLetValue();
void AssignValue();
void Update();
void Delete();
void Assign(TsdLabd *p);
int Query();
bool Find(AnsiString WhereStr);
AnsiString GetFieldValue(euLabd sdFieldName);
AnsiString GetOldFieldValue(euLabd sdFieldName);
void SetFieldValue(euLabd sdFieldName, AnsiString value);
};
//************************************
// Class:TsdLabh //
// Description:工时登记的头 //
// Created on 2000/10/12 //
//************************************
class _EXPORT_TYPE TsdLabh: public TsdHead
{
private:
TsdLabd *m_sdLabd;
TsdLabd *b_sdLabd;
AnsiString m_LabhCode;
AnsiString m_LabhDate;
AnsiString m_LabhFmonth;
AnsiString m_LabhShop;
AnsiString m_LabhTeam;
int m_LabhState;
AnsiString m_LabhDesc;
AnsiString m_LabhUser;
int m_LabhCheck;
AnsiString m_LabhChecker;
AnsiString m_LabhCheckDate;
AnsiString m_LabhSysDate;
AnsiString b_LabhCode;
AnsiString b_LabhDate;
AnsiString b_LabhFmonth;
AnsiString b_LabhShop;
AnsiString b_LabhTeam;
int b_LabhState;
AnsiString b_LabhDesc;
AnsiString b_LabhUser;
int b_LabhCheck;
AnsiString b_LabhChecker;
AnsiString b_LabhCheckDate;
AnsiString b_LabhSysDate;
void __fastcall SetLabhCode(AnsiString value);
void __fastcall SetLabhDate(AnsiString value);
void __fastcall SetLabhFmonth(AnsiString value);
void __fastcall SetLabhShop(AnsiString value);
void __fastcall SetLabhTeam(AnsiString value);
void __fastcall SetLabhState(int value);
void __fastcall SetLabhDesc(AnsiString value);
void __fastcall SetLabhUser(AnsiString value);
void __fastcall SetLabhCheck(int value);
void __fastcall SetLabhChecker(AnsiString value);
void __fastcall SetLabhCheckDate(AnsiString value);
__property AnsiString LabhCode={read=m_LabhCode,write=SetLabhCode};
__property AnsiString LabhDate={read=m_LabhDate,write=SetLabhDate};
__property AnsiString LabhFmonth={read=m_LabhFmonth,write=SetLabhFmonth};
__property AnsiString LabhShop={read=m_LabhShop,write=SetLabhShop};
__property AnsiString LabhTeam={read=m_LabhTeam,write=SetLabhTeam};
__property int LabhState={read=m_LabhState,write=SetLabhState};
__property AnsiString LabhDesc={read=m_LabhDesc,write=SetLabhDesc};
__property AnsiString LabhUser={read=m_LabhUser,write=SetLabhUser};
__property int LabhCheck={read=m_LabhCheck,write=SetLabhCheck};
__property AnsiString LabhChecker={read=m_LabhChecker,write=SetLabhChecker};
__property AnsiString LabhCheckDate={read=m_LabhCheckDate,write=SetLabhCheckDate};
__property AnsiString LabhSysDate={read=m_LabhSysDate };
private:
void BackupValue();
void EmptyValue(int Index);
void BatchLetValue();
int __fastcall GetItemCount();
int __fastcall GetCurItemNo();
AnsiString __fastcall GetItemBookMark();
char __fastcall GetCurItemStatus();
public:
TsdLabh(TDataComm *DC);
TsdLabh();
~TsdLabh();
void Update();
void Delete();
void Check(int IsCheck);
void AddItem();
void InsertItem();
void EditItem();
void NewDetail();
void DeleteDetail();
void DeleteItem();
void RemoveItem();
void ClearItem();
void CancelItem();
void AddToObject();
bool LocateItemByIndex(int Index);
bool LocateItemByKey(AnsiString Key);
void AssignValue();
void Assign(TsdLabh *p);
void RestoreValue();
void RestoreItem();
int Query();
bool Find(AnsiString WhereStr);
AnsiString GetFieldValue(euLabh sdFieldName);
AnsiString GetOldFieldValue(euLabh sdFieldName);
void SetFieldValue(euLabh sdFieldName, AnsiString value);
AnsiString GetItemValue(euLabd FieldName);
void SetItemValue(euLabd FieldName, AnsiString value);
__property int ItemCount = { read = GetItemCount };
__property int CurItemNo = { read = GetCurItemNo };
__property AnsiString ItemBookMark = { read = GetItemBookMark };
};
//************************************
// Class:TsdPieced //
// Description:计件登记的行 //
// Created on 2000/10/12 //
//************************************
class _EXPORT_TYPE TsdPieced: public TsdDetail
{
private:
AnsiString m_PiecedCode;
AnsiString m_PiecedEmployee;
int m_PiecedLine;
AnsiString m_PiecedWo;
AnsiString m_PiecedProcess;
double m_PiecedQty;
double m_PiecedPrice;
double m_PiecedQty1;
double m_PiecedPrice1;
double m_PiecedQty2;
double m_PiecedPrice2;
double m_PiecedQty3;
double m_PiecedPrice3;
double m_PiecedQty4;
double m_PiecedPrice4;
double m_PiecedQty5;
double m_PiecedPrice5;
double m_PiecedQty6;
double m_PiecedPrice6;
double m_PiecedQty7;
double m_PiecedPrice7;
double m_PiecedQty8;
double m_PiecedPrice8;
double m_PiecedQty9;
double m_PiecedPrice9;
double m_PiecedQty10;
double m_PiecedPrice10;
int m_PiecedDType;
AnsiString m_PiecedDesc;
//backup
AnsiString b_PiecedCode;
AnsiString b_PiecedEmployee;
int b_PiecedLine;
AnsiString b_PiecedWo;
AnsiString b_PiecedProcess;
double b_PiecedQty;
double b_PiecedPrice;
double b_PiecedQty1;
double b_PiecedPrice1;
double b_PiecedQty2;
double b_PiecedPrice2;
double b_PiecedQty3;
double b_PiecedPrice3;
double b_PiecedQty4;
double b_PiecedPrice4;
double b_PiecedQty5;
double b_PiecedPrice5;
double b_PiecedQty6;
double b_PiecedPrice6;
double b_PiecedQty7;
double b_PiecedPrice7;
double b_PiecedQty8;
double b_PiecedPrice8;
double b_PiecedQty9;
double b_PiecedPrice9;
double b_PiecedQty10;
double b_PiecedPrice10;
int b_PiecedDType;
AnsiString b_PiecedDesc;
void __fastcall SetPiecedCode(AnsiString value);
void __fastcall SetPiecedEmployee(AnsiString value);
void __fastcall SetPiecedLine(int value);
void __fastcall SetPiecedWo(AnsiString value);
void __fastcall SetPiecedProcess(AnsiString value);
void __fastcall SetPiecedQty(double value);
void __fastcall SetPiecedPrice(double value);
void __fastcall SetPiecedQty1(double value);
void __fastcall SetPiecedPrice1(double value);
void __fastcall SetPiecedQty2(double value);
void __fastcall SetPiecedPrice2(double value);
void __fastcall SetPiecedQty3(double value);
void __fastcall SetPiecedPrice3(double value);
void __fastcall SetPiecedQty4(double value);
void __fastcall SetPiecedPrice4(double value);
void __fastcall SetPiecedQty5(double value);
void __fastcall SetPiecedPrice5(double value);
void __fastcall SetPiecedQty6(double value);
void __fastcall SetPiecedPrice6(double value);
void __fastcall SetPiecedQty7(double value);
void __fastcall SetPiecedPrice7(double value);
void __fastcall SetPiecedQty8(double value);
void __fastcall SetPiecedPrice8(double value);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -