📄 productresultinput.h
字号:
#pragma once
#include "infClass.h"
#include "DBBase.h"
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace FAP
{
/// <summary>
/// ProductResultInput 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class ProductResultInput : public System::Windows::Forms::Form
{
public:
ProductResultInput(void)
{
InitializeComponent();
}
ProductResultInput(infClass *infClsTmp,String *strlottmp,String *ssstrShift,String *ssstrLine,String *ssstrymd,String *ssstrproduct)
{
InitializeComponent();
infClsRstInput = infClsTmp;
iLanguage=infClsRstInput->intLang;
sa_iGroup=infClsRstInput->intGroup;
DBBRstInput = new DBBase();
DBBRstInExec = new DBBase();
sa_strlottmp =strlottmp;
sa_strShift=ssstrShift;
sa_strLine=ssstrLine;
sa_strymd=ssstrymd;
sa_strproduct=ssstrproduct;
}
static String * strGetProName(String * strDelFromNo,
int iLanguage,
DBBase * DBbTmp); //get product name according to product code
static DataTable * dtblGetProcessPro(infClass *infTmp,
DBBase * dBTMP);
bool blnChkCPart(String * ,Single intInNum,String * strInRank, String * strProCode); //check child part and update db
static String * strGetStoreNo(String * ,DBBase * ); //Get Store no
String * fblnschedule(String * strproduct_code,String *strproduct_shift,DBBase * DBbTmp);
bool blnInstProData(String *strProCode,
String * strRank,
Single intNum,String *);
/* Add by KasenHOo @ 2005/11/15 */
bool blnInstStockData(String *strProCode,
String *strRank,
Single intNum,
String *strLot);
/* End by KasenHOo @ 2005/11/15 */
//查询计划中是否有相对应的BOM计划号
// DBbTmp 连接数据库
// strlot 计划号
//
//
//查询计划中是否有相对应的BOM计划号
bool blnSerchBom(DBBase * DBbTmp,String * strlot);
//查询计划BOM是否和基础BOM消耗的物料是否相同
// DBbTmp 连接数据库
// strlot 计划号
//
//
//查询计划BOM是否和基础BOM消耗的物料是否相同
//bool blnCompositionSerchBom(DBBase * DBbTmp,String * strlot);
//查询计划bom是否有代替品
// DBbTmp 连接数据库
// strlot 计划号
//
//
//查询计划bom是否有代替品
bool blnoSerchor(DBBase * DBbTmp,String * strlot);
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Label * label1;
private: System::Windows::Forms::Label * label2;
private: System::Windows::Forms::Label * label3;
private: System::Windows::Forms::Label * label4;
private: System::Windows::Forms::Label * label5;
private: System::Windows::Forms::Label * label6;
private: System::Windows::Forms::Button * button2;
private: System::Windows::Forms::Label * label7;
private: System::Windows::Forms::Button * button1;
private: System::Windows::Forms::Label * label8;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
infClass * infClsRstInput;
DBBase * DBBRstInput; //For SQL select
DBBase * DBBRstInExec; //For SQL Execute with transation
String * sa_strlottmp;
String * sa_strShift;
String * sa_strLine;
String * sa_strymd;
String * sa_strproduct;
int sa_iGroup;
int iLanguage;
private: System::Windows::Forms::TextBox * txtProcess;
private: System::Windows::Forms::TextBox * txtLine;
private: System::Windows::Forms::TextBox * txtQuantity;
private: System::Windows::Forms::TextBox * txtProName;
private: System::Windows::Forms::TextBox * txtProDate;
private: System::Windows::Forms::Label * label9;
private: System::Windows::Forms::Label * label10;
private: System::Windows::Forms::ComboBox * txtTeam;
private: System::Windows::Forms::ComboBox * comboBox2;
private: System::Windows::Forms::TextBox * txtOrder;
private: System::Windows::Forms::TextBox * txtProCode1;
private: System::Windows::Forms::ComboBox * txtProCode;
private: System::Windows::Forms::ComboBox * txtRank;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::ProductResultInput));
this->txtProcess = new System::Windows::Forms::TextBox();
this->label1 = new System::Windows::Forms::Label();
this->label2 = new System::Windows::Forms::Label();
this->label3 = new System::Windows::Forms::Label();
this->label4 = new System::Windows::Forms::Label();
this->label5 = new System::Windows::Forms::Label();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -