📄 ss7trandlg.cpp
字号:
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Circuit_state_indicator(strparin);
break;
case ISUP_GRA:
stroutput="message:";
strtemp="Circuit group reset acknowledgement";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to Range and status";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter Range and status";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Range_and_status(strparin);
break;
//case ISUP_CRG:
//break;
case ISUP_CFN:
stroutput="message:";
strtemp="Confusion";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to Cause indicators";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter Cause indicators";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Cause_indicators(strparin);
break;
case ISUP_CON:
stroutput="message:";
strtemp="Connect";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin+=",";
strparin=strpara[bufindex++];
pCtrl->AddString(strparin);
tranpar_Backward_call_indicators(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_COT:
stroutput="message:";
strtemp="Continuity";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
pCtrl->AddString(strparin);
tranpar_Continuity_indicators(strparin);
break;
case ISUP_FAC:
stroutput="message:";
strtemp="Forward transfer";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_FAA:
case ISUP_FAR:
stroutput="message:";
if (lmessage==ISUP_FAA)
strtemp="Facility accepted";
else
strtemp="Facility request";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
pCtrl->AddString(strparin);
tranpar_Facility_indicator(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_FRJ:
stroutput="message:";
strtemp="Facility reject";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
pCtrl->AddString(strparin);
tranpar_Facility_indicator(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_FOT:
stroutput="message:";
strtemp="Forward transfer";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_IDR:
stroutput="message:";
strtemp="Identification request";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_IRS:
stroutput="message:";
strtemp="Identification response";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_INF:
stroutput="message:";
strtemp="Information";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin+=",";
strparin+=strpara[bufindex++];
tranpar_Information_indicators(strparin);
/*
strtemp="pointer to Information indicators";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
*/
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
/*
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter Information indicators";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Information_indicators(strparin);
*/
tran_o_para(bufindex);
break;
case ISUP_INR:
stroutput="message:";
strtemp="Information request";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin+=",";
strparin+=strpara[bufindex++];
tranpar_Information_request_indicators(strparin);
tran_o_para(bufindex);
break;
case ISUP_NRM:
stroutput="message:";
strtemp="Loop back acknowledgement ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_PAM:
/*
Message type 2.1 F 1
//Message type
//Mandatory fixed part
//Mandatory variable part
//Optional part
//Any message in Tables 21 to 49 which is relevant only at the "endpoint" of a connection as defined in 3/Q.764
*/
break;
case ISUP_REL:
stroutput="message:";
strtemp="Release";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to Cause indicators";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter Cause indicators";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Cause_indicators(strparin);
tran_o_para(bufindex);
break;
case ISUP_RLC:
stroutput="message:";
strtemp="Release complete ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_SGM:
stroutput="message:";
strtemp="Segmentation ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_SAM:
stroutput="message:";
strtemp="Subsequent address ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to Subsequent number";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter Subsequent number";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_Subsequent_number(strparin);
tran_o_para(bufindex);
break;
case ISUP_RES:
case ISUP_SUS:
stroutput="message:";
if (lmessage==ISUP_RES)
strtemp="Resume ";
else
strtemp="Suspend ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
tranpar_SuspendORResume_indicators(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_UPA:
case ISUP_UPT:
stroutput="message:";
if (lmessage==ISUP_UPA)
strtemp="User Part available";
else if (lmessage==ISUP_UPT)
strtemp="User Part test ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
tran_o_para(bufindex);
break;
case ISUP_USR:
stroutput="message:";
strtemp="User-to-user information ";
stroutput+=strtemp;
pCtrl->AddString(stroutput);
stroutput="Parameter:";
pCtrl->AddString(stroutput);
strparin=strpara[bufindex++];
strtemp="pointer to User-to-user information";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="pointer to start of optional part";
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin=strpara[bufindex++];
strtemp="Length indicator of parameter User-to-user information";
length=atol(strparin);
strparin+=":";
strparin+=strtemp;
pCtrl->AddString(strparin);
strparin="";
for(i=0;i<length;i++)
{
strparin+=strpara[bufindex++];
if (i<(length-1))
strparin+=",";
}
tranpar_User_to_user_information(strparin);
tran_o_para(bufindex);
break;
case ISUP_OPR:
break;
case ISUP_CCL:
break;
case ISUP_MPM:
break;
default:
break;
}
strtemp="";
// CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -