Java Reference
In-Depth Information
else
{
if (tcp_sgservice!=null)
tcp_sgservice.SendCmd(“W1,H0”);
}
}
counterch2 = 0;
if (ch2on) counter=0;
if (sgbuttonaction[5]) postId(SGON);
break;
case 2204:
//waveform
sgsquare=!sgsquare;
if (sgsquare)
{
if (tcp_sgservice!=null)
tcp_sgservice.SendCmd(“W3,H0”);
}
else
{
if (tcp_sgservice!=null)
tcp_sgservice.SendCmd(“W1,H0”);
}
counterch2 = 0;
if (ch2on) counter=0;
if (sgbuttonaction[5]) postId(SGON);
break;
case 2205:
//amp
if (tcp_sgservice!=null)
tcp_sgservice.SendCmd(“AMP “+String.valueOf(sgvalue/1000.0f)+” V”);
counterch2 = 0;
if (ch2on) counter=0;
if (sgbuttonaction[5]) postId(SGON);
break;
case 2206:
//freq
if (tcp_sgservice!=null)
tcp_sgservice.SendCmd(“FRQ “+String.valueOf(sgvalue)+” HZ abc0”);
counterch2 = 0;
if (ch2on) counter=0;
if (sgbuttonaction[5]) postId(SGON);
break;
case 2401:
sg_connangle[0] = RotationPosition(sg_connangle[0], sgconn1_circleposi.length,
sgconn1_circleposi);
setRotationZ(sgconnTrans[0], sg_connangle[0]);
if (sg_connangle[0]==sgconn1_circleposi[1])
{
sgconn[0] = true;
if (sgbuttonaction[5]&&sgconn[1]&&osciconn[2])
SgSupplement();
}
else
Search WWH ::




Custom Search