📄 loadcontainerlocation.cpp
字号:
caption=strtemp;
if (colcount==1)
colstr=strtemp.Left(2);
if (colcount==2)
rowstr=strtemp.Left(2);
if (colcount==3)
objectIdstr=strtemp;
if (colcount==4)
BcontainerNo=strtemp;
if (colcount==5)
BsealNo=strtemp;
if (colcount==6)
portName=strtemp;
//if (colcount==6)
//tallyListItemObjId=strtemp;
colcount++;
}
if (recvbuf[i]==27)
{
ptch=(LPSTR)(LPCTSTR)rowstr;
rowint=atoi(ptch);
ptch=(LPSTR)(LPCTSTR)colstr;
colint=atoi(ptch);
btnid=11000+colint*12+rowint;
pButton=(CLbayButton *)GetDlgItem(btnid);
pButton->ShowWindow(SW_SHOW);
pButton->SetWindowText(portName);
pButton->position=caption;
pButton->stateflag=TRUE;
pButton->objectId=objectIdstr;
pButton->containerNo=BcontainerNo;
//pButton->tallyListItemObjId=tallyListItemObjId;
//if (BcontainerNo==VT_EMPTY && BsealNo==VT_EMPTY)
if (objectIdstr==" ")
pButton->stateflag=FALSE;
else{
pButton->stateflag=TRUE;
}
j=0;
colcount=0;
rowcount++;
objectIdstr=_T("");
BcontainerNo=_T("");
BsealNo=_T("");
portName=_T("");
if (i!=totalnum-1)
{
rowstr=_T("");
colstr=_T("");
}
}
}
//displan end
UpdateData(false);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void LoadContainerLocation::On0101()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0101.position;
m_containerNo = m_0101.containerNo;
GobjectId = m_0101.objectId;
m_0101.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0102()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0102.position;
m_containerNo = m_0102.containerNo;
GobjectId = m_0102.objectId;
m_0102.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0103()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0103.position;
m_containerNo = m_0103.containerNo;
GobjectId = m_0103.objectId;
m_0103.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0104()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0104.position;
m_containerNo = m_0104.containerNo;
GobjectId = m_0104.objectId;
m_0104.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0105()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0105.position;
m_containerNo = m_0105.containerNo;
GobjectId = m_0105.objectId;
m_0105.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0106()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0106.position;
m_containerNo = m_0106.containerNo;
GobjectId = m_0106.objectId;
m_0106.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0107()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0107.position;
m_containerNo = m_0107.containerNo;
GobjectId = m_0107.objectId;
m_0107.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0108()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0108.position;
m_containerNo = m_0108.containerNo;
GobjectId = m_0108.objectId;
m_0108.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0109()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0109.position;
m_containerNo = m_0109.containerNo;
GobjectId = m_0109.objectId;
m_0109.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0110()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0110.position;
m_containerNo = m_0110.containerNo;
GobjectId = m_0110.objectId;
m_0110.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0111()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0111.position;
m_containerNo = m_0111.containerNo;
GobjectId = m_0111.objectId;
m_0111.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0112()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0112.position;
m_containerNo = m_0112.containerNo;
GobjectId = m_0112.objectId;
m_0112.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0201()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0201.position;
m_containerNo = m_0201.containerNo;
GobjectId = m_0201.objectId;
m_0201.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0202()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0202.position;
m_containerNo = m_0202.containerNo;
GobjectId = m_0202.objectId;
m_0202.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0203()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0203.position;
m_containerNo = m_0203.containerNo;
GobjectId = m_0203.objectId;
m_0203.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0204()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0204.position;
m_containerNo = m_0204.containerNo;
GobjectId = m_0204.objectId;
m_0204.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0205()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0205.position;
m_containerNo = m_0205.containerNo;
GobjectId = m_0205.objectId;
m_0205.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0206()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0206.position;
m_containerNo = m_0206.containerNo;
GobjectId = m_0206.objectId;
m_0206.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0207()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0207.position;
m_containerNo = m_0207.containerNo;
GobjectId = m_0207.objectId;
m_0207.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0208()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0208.position;
m_containerNo = m_0208.containerNo;
GobjectId = m_0208.objectId;
m_0208.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0209()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0209.position;
m_containerNo = m_0209.containerNo;
GobjectId = m_0209.objectId;
m_0209.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0210()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0210.position;
m_containerNo = m_0210.containerNo;
GobjectId = m_0210.objectId;
m_0210.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0211()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0211.position;
m_containerNo = m_0211.containerNo;
GobjectId = m_0211.objectId;
m_0211.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0212()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0212.position;
m_containerNo = m_0212.containerNo;
GobjectId = m_0212.objectId;
m_0212.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0301()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0301.position;
m_containerNo = m_0301.containerNo;
GobjectId = m_0301.objectId;
m_0301.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0302()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0302.position;
m_containerNo = m_0302.containerNo;
GobjectId = m_0302.objectId;
m_0302.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0303()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0303.position;
m_containerNo = m_0303.containerNo;
GobjectId = m_0303.objectId;
m_0303.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0304()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0304.position;
m_containerNo = m_0304.containerNo;
GobjectId = m_0304.objectId;
m_0304.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0305()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0305.position;
m_containerNo = m_0305.containerNo;
GobjectId = m_0305.objectId;
m_0305.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0306()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0306.position;
m_containerNo = m_0306.containerNo;
GobjectId = m_0306.objectId;
m_0306.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0307()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0307.position;
m_containerNo = m_0307.containerNo;
GobjectId = m_0307.objectId;
m_0307.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0308()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0308.position;
m_containerNo = m_0308.containerNo;
GobjectId = m_0308.objectId;
m_0308.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0309()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0309.position;
m_containerNo = m_0309.containerNo;
GobjectId = m_0309.objectId;
m_0309.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0310()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_containerPosition = m_0310.position;
m_containerNo = m_0310.containerNo;
GobjectId = m_0310.objectId;
m_0310.stateflag = true;
UpdateData(false);
}
void LoadContainerLocation::On0311()
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -