Sei sulla pagina 1di 16

1.

baud rate definition. A number related to the speed of data transmission


in a system. The rate indicates the number of electrical oscillations per second
that occurs within a data transmission. The higher the baud rate, the more bits
per second that are transferred.
2. Wiegand is the trade name for a technology used in card readers and
sensors, particularly for access control applications. Wiegand devices
were originally developed by HID Corporation.

if (!
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
if (AllOpen == "ALL OPEN")
{
myshow = "All work orders but
Closed and Cancel"; TabFld = "W.ISSUEDT_E";
MessageBox.Show("All Open and
rest of all is null ");
}
else if (cmbstatus.Text == "Closed"
|| cmbstatus.Text == "CANCEL")
{
myshow = "All work orders with
Closed and Cancel"; TabFld = "W.CLSDT_E";
MessageBox.Show("All Closed or
CANCEL and rest of all is null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "All work orders but
Closed+Cancel+ALL OPEN"; TabFld = "W.ISSUEDT_E";

MessageBox.Show("All Other Than


Closed+Cancel+ALL OPEN and rest of all is null ");
}
}
else if (!
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
myshow = "BLONO-REP With All
Status"; // BLONO report with status
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With BLONO
and rest is null ");
}
else if (!
string.IsNullOrEmpty(txtBLONO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
if (AllOpen=="ALL OPEN")
{
myshow = "All work orders but
Closed and Cancel"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With BLONO +
All_Open Status and rest is null ");
}
else if(cmbstatus.Text=="Closed" ||
cmbstatus.Text == "CANCEL")
{

myshow = "Single-Status";
TabFld = "W.CLSDT_E";
MessageBox.Show(" With BLONO +
Closed or CANCEL Status and rest is null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "Single-Status";
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With BLONO +
Other than ALL OPEN,Closed,CANCEL Status and rest
is null ");
}
}
else if (!
string.IsNullOrEmpty(txtBLONO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == true)
{
if (AllOpen == "ALL OPEN")
{
myshow = "GroupBy WOTO";
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + ALL OPEN Status + Group by WOTO and rest
is null ");
}
else if (cmbstatus.Text ==
"Closed" || cmbstatus.Text == "CANCEL")
{
myshow = "Single-Status";
TabFld = "W.CLSDT_E";
MessageBox.Show(" With
BLONO + Closed or CANCEL Status + Group by WOTO and
rest is null ");

}
else if (cmbstatus.Text !=
"Closed" && cmbstatus.Text != "CANCEL" &&
cmbstatus.Text != "ALL OPEN")
{
myshow = "Single-Status";
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + Other than ALL OPEN,Closed,CANCEL Status +
Group by WOTO and rest is null ");
}
}
else if (!
string.IsNullOrEmpty(txtBLONO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rd_Charge2Me.Checked == true)
{
if (AllOpen == "ALL OPEN")
{
myshow = "GroupBy
ChargeCode"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + ALL OPEN Status + Group by ChargeCode and
rest is null ");
}
else if (cmbstatus.Text ==
"Closed" || cmbstatus.Text == "CANCEL")
{
myshow = "GroupBy
ChargeCode"; TabFld = "W.CLSDT_E";
MessageBox.Show(" With
BLONO + Closed or CANCEL Status + Group by
ChargeCode and rest is null ");
}

else if (cmbstatus.Text !=
"Closed" && cmbstatus.Text != "CANCEL" &&
cmbstatus.Text != "ALL OPEN")
{
myshow = "GroupBy
ChargeCode"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + Other than ALL OPEN,Closed,CANCEL Status +
Group by ChargeCode and rest is null ");
}
//
MessageBox.Show(" With
BLONO + Status + Group by ChargeCode and rest is
null ");
}
else if (!
string.IsNullOrEmpty(txtBLONO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGrpBLONO.Checked == true)
{
if (AllOpen == "ALL OPEN")
{
myshow = "GroupBy BLONO";
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + ALL OPEN Status + Group by BLONO and rest
is null ");
}
else if (cmbstatus.Text ==
"Closed" || cmbstatus.Text == "CANCEL")
{
myshow = "GroupBy BLONO";
TabFld = "W.CLSDT_E";
MessageBox.Show(" With
BLONO + Closed or CANCEL Status + Group by BLONO
and rest is null ");

}
else if (cmbstatus.Text !=
"Closed" && cmbstatus.Text != "CANCEL" &&
cmbstatus.Text != "ALL OPEN")
{
myshow = "GroupBy BLONO";
TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With
BLONO + Other than ALL OPEN,Closed,CANCEL Status +
Group by BLONO and rest is null ");
}
//
MessageBox.Show(" With
BLONO + Status + Group by BLONO and rest is null
");
}
// **************
here ************************

Part - II starts

else if (!
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
myshow = "Desc+Like"; TabFld =
"W.ISSUEDT_E";
MessageBox.Show(" Description with
Like command and rest is null");
}
else if (!
string.IsNullOrEmpty(txtDesc.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&

rd_Charge2Me.Checked == false && rdGrpBLONO.Checked


== false)
{
if (AllOpen == "ALL OPEN")
{
myshow = "Desc +Like with ALL
OPEN"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With Desc +
ALL OPEN Status
and rest is null ");
}
else if (cmbstatus.Text == "Closed"
|| cmbstatus.Text == "CANCEL")
{
myshow = "Desc+Like with
Closed/Cancel"; TabFld = "W.CLSDT_E";
MessageBox.Show(" With Desc +
Closed or CANCEL Status and rest is null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "Desc+Like with Other
than AO+CL+CA "; TabFld = "W.ISSUEDT_E"; // All
Open,Closed,Cancel
MessageBox.Show(" With Desc +
Other than ALL OPEN,Closed,CANCEL Status and rest
is null ");
}
// MessageBox.Show(" Description
with Like command + Status and rest is null");
}
else if (!
string.IsNullOrEmpty(txtDesc.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == true )
{

if (AllOpen == "ALL OPEN")


{
myshow = "Desc +Like with ALL
OPEN+GrpWOTO"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With Desc +
ALL OPEN Status + Group by WOTO and rest is null
");
}
else if (cmbstatus.Text == "Closed"
|| cmbstatus.Text == "CANCEL")
{
myshow = "Desc+Like with
Closed/Cancel+GrpWOTO"; TabFld = "W.CLSDT_E";
MessageBox.Show(" With Desc +
Closed or CANCEL Status + Group by WOTO and rest is
null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "Desc+Like +GrpWOTO
with Other than AO+CL+CA "; TabFld = "W.ISSUEDT_E";
// All Open,Closed,Cancel
MessageBox.Show(" With Desc +
Other than ALL OPEN,Closed,CANCEL Status + Group by
WOTO and rest is null ");
}
// MessageBox.Show(" Description
with Like command + Status + Group by WOTO and
rest is null");
}
else if (!
string.IsNullOrEmpty(txtDesc.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rd_Charge2Me.Checked == true )
{

if (AllOpen == "ALL OPEN")


{
myshow = "Desc +Like with ALL
OPEN+GrpChargeCode"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With Desc +
ALL OPEN Status + Group by ChargeCode and rest is
null ");
}
else if (cmbstatus.Text == "Closed"
|| cmbstatus.Text == "CANCEL")
{
myshow = "Desc+Like with
Closed/Cancel+GrpChargeCode"; TabFld = "W.CLSDT_E";
MessageBox.Show(" With Desc +
Closed or CANCEL Status + Group by ChargeCode and
rest is null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "Desc+Like
+GrpChargeCode with Other than AO+CL+CA "; TabFld =
"W.ISSUEDT_E"; // All Open,Closed,Cancel
MessageBox.Show(" With Desc +
Other than ALL OPEN,Closed,CANCEL Status + Group by
ChargeCode and rest is null ");
}
// MessageBox.Show(" Description
with Like command + Status + Group by ChargeCode
and rest is null");
}
else if (!
string.IsNullOrEmpty(txtDesc.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGrpBLONO.Checked == true)
{

if (AllOpen == "ALL OPEN")


{
myshow = "Desc +Like with ALL
OPEN+GrpBLONO"; TabFld = "W.ISSUEDT_E";
MessageBox.Show(" With Desc +
ALL OPEN Status + Group by BLONO and rest is null
");
}
else if (cmbstatus.Text == "Closed"
|| cmbstatus.Text == "CANCEL")
{
myshow = "Desc+Like with
Closed/Cancel+GrpBLONO"; TabFld = "W.CLSDT_E";
MessageBox.Show(" With Desc +
Closed or CANCEL Status + Group by BLONO and rest
is null ");
}
else if (cmbstatus.Text != "Closed"
&& cmbstatus.Text != "CANCEL" && cmbstatus.Text !=
"ALL OPEN")
{
myshow = "Desc+Like +GrpBLONO
with Other than AO+CL+CA "; TabFld = "W.ISSUEDT_E";
// All Open,Closed,Cancel
MessageBox.Show(" With Desc +
Other than ALL OPEN,Closed,CANCEL Status + Group by
BLONO and rest is null ");
}
MessageBox.Show(" Description with
Like command + Status + Group by BLONO and rest is
null");
}
// ************** Part - III starts
here ************************
else if (!
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&

string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" UnitModel with
Like command and rest is null");
}
else if (!
string.IsNullOrEmpty(txtUnitModel.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" UnitModel with
Like command + Status and rest is null");
}
else if (!
string.IsNullOrEmpty(txtUnitModel.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == true &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" UnitModel with
Like command + Status + Group by WOTO and rest is
null");
}
else if (!
string.IsNullOrEmpty(txtUnitModel.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&

string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == true && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" UnitModel with
Like command + Status + Group by ChargeCode and
rest is null");
}
else if (!
string.IsNullOrEmpty(txtUnitModel.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== true)
{
MessageBox.Show(" UnitModel with
Like command + Status + Group by BLONO and rest is
null");
}
here -- A

// ************** Part - IV starts


************************

else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO and rest is
null");

}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == true &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + Status +
Groupby WOTO and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == true && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + Status +
Groupby ChargeCode and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== true)
{
MessageBox.Show(" WOTO + Status +
Groupby BLONO and rest is null");
}

// ************** Part - IV starts


here -- B (With Description)
************************
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == true &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + Desc +
Groupby WOTO and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == true && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + Desc +
Groupby ChargeCode and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtDesc.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtUnitModel.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== true)
{

MessageBox.Show(" WOTO + Desc +


Groupby BLONO and rest is null");
}
// ************** Part - IV starts
here -- C (With UnitModel)
************************
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
rdGroupbyWOTO.Checked == true &&
rd_Charge2Me.Checked == false && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + UnitModel
+ Groupby WOTO and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
rdGroupbyWOTO.Checked == false &&
rd_Charge2Me.Checked == true && rdGrpBLONO.Checked
== false)
{
MessageBox.Show(" WOTO + UnitModel
+ Groupby ChargeCode and rest is null");
}
else if (!
string.IsNullOrEmpty(txtExcludeWOTO.Text) && !
string.IsNullOrEmpty(txtUnitModel.Text) &&
string.IsNullOrEmpty(cmbstatus.Text) &&
string.IsNullOrEmpty(txtBLONO.Text) &&
string.IsNullOrEmpty(txtDesc.Text) &&
rdGroupbyWOTO.Checked == false &&

rd_Charge2Me.Checked == false && rdGrpBLONO.Checked


== true)
{
MessageBox.Show(" WOTO + UnitModel
+ Groupby BLONO and rest is null");
}

Potrebbero piacerti anche