📄 enterprises2.java
字号:
} else if (displayable == call_msg2) {
if (command == itemCommand60) {//GEN-END:MVDCACase257
// Insert pre-action code here
for(int wi = 0 ; wi < telphone_num ; wi ++)g_select[wi]=0;
getDisplay().setCurrent(get_phonebook3());//GEN-LINE:MVDCAAction248
// Insert post-action code here
if(call_msg2.getTitle().startsWith("ECALL短信"))
{
String temp_call_1 = call_msg2.getTitle();
if(temp_call_1.length() > 8)
phonebook3.setTitle("选择短信号码"+temp_call_1.substring(7,temp_call_1.length()));
else
phonebook3.setTitle("选择短信号码");
}
if(call_msg2.getTitle().startsWith("ECALL会议"))
{//phonebook3.setTitle("选择会议号码");
String temp_call_1 = call_msg2.getTitle();
if(temp_call_1.length() > 8)
phonebook3.setTitle("选择会议号码"+temp_call_1.substring(7,temp_call_1.length()));
else
phonebook3.setTitle("选择会议号码");
}
} else if (command == cancelCommand3) {//GEN-LINE:MVDCACase248
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction250
// Insert post-action code here
}//GEN-BEGIN:MVDCACase250
} else if (displayable == phonebook3) {
if (command == backCommand28) {//GEN-END:MVDCACase250
// Insert pre-action code here
getDisplay().setCurrent(get_call_msg2());//GEN-LINE:MVDCAAction255
// Insert post-action code here
} else if (command == okCommand15) {//GEN-LINE:MVDCACase255
// Insert pre-action code here
getDisplay().setCurrent(get_call_msg3());//GEN-LINE:MVDCAAction253
// Insert post-action code here
g_xiazai = 0;
if(phonebook3.getTitle().startsWith("选择会议号码"))
{
String phone = "";
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
String temp_call_m = phonebook3.getTitle();
if(temp_call_m.length() > 6)
phones.append(temp_call_m.substring(8,temp_call_m.length()));
if(phones.length() > 0)
phone = phones.toString();
else
{
call_msg3.setTitle("会议预约失败");
return;
}
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread8 = new Enetcallthread2(phone);
//enetcallthread8.msg = call_msg2.getString();
enetcallthread8.type = 3;
enetcallthread8.start();
/* try
{
enetcallthread8.join();
}catch(Exception tx){} */
return;
}
if(phonebook3.getTitle().startsWith("选择短信号码"))
{
String phone = "";
String temp_call_m = phonebook3.getTitle();
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
if(phones.length() == 0)
{
int i = phonebook3.getSelectedIndex();
phones.append(g_phonebooktel[g_sort[i]]);
}
if(temp_call_m.length() > 6)
phones.append(temp_call_m.substring(8,temp_call_m.length()));
if(phones.length() > 0)
phone = phones.toString();
else
{
call_msg3.setTitle("短信发送失败");
return;
}
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread8 = new Enetcallthread2(phone);
enetcallthread8.msg = call_msg2.getString();
enetcallthread8.type = 0;
enetcallthread8.start();
/* try
{
enetcallthread8.join();
}catch(Exception tx){} */
return;
}
}//GEN-BEGIN:MVDCACase253
} else if (displayable == call_Member1) {
if (command == okCommand18) {//GEN-END:MVDCACase253
// Insert pre-action code here
if(g_xiazai ==0)
return;
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction261
// Insert post-action code here
}//GEN-BEGIN:MVDCACase261
} else if (displayable == phonebook4) {
if (command == okCommand21) {//GEN-END:MVDCACase261
// Insert pre-action code here
getDisplay().setCurrent(get_call_song5());//GEN-LINE:MVDCAAction273
// Insert post-action code here
call_song5.setTitle("点歌正在发送...");
call_song5.deleteAll();
call_song5.append(g_ii[2]);
String temp_cal_m9 = phonebook4.getTitle();
int k = phonebook4.getSelectedIndex();
String phone = "";
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
if(temp_cal_m9.startsWith("请选择用户"))
phones.append(temp_cal_m9.substring(5,temp_cal_m9.length()));
if(phones.length() > 0)
phone = phones.toString();
else
phone = g_phonebooktel[g_sort[k]];
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread2 = new Enetcallthread2(phone);
enetcallthread2.msg = g_song_num[g_song_sort[g_now_song_num]];
enetcallthread2.type = 13;
enetcallthread2.start();
try
{
enetcallthread2.join();
}catch(Exception tx){}
//enetcallthread2.retstr
call_song5.setTitle("点歌发送完毕");
call_song5.deleteAll();
call_song5.append(g_ii[2]);
} else if (command == backCommand30) {//GEN-LINE:MVDCACase273
// Insert pre-action code here
getDisplay().setCurrent(get_call_song1());//GEN-LINE:MVDCAAction280
// Insert post-action code here
}//GEN-BEGIN:MVDCACase280
} else if (displayable == call_song1) {
if (command == itemCommand61) {//GEN-END:MVDCACase280
// Insert pre-action code here
getDisplay().setCurrent(get_call_song2());//GEN-LINE:MVDCAAction266
// Insert post-action code here
g_xiazai = 0;
call_song2.setTitle("请选择歌曲");
// call_song2.removeCommand(get_okCommand23());
//call_song2.msg = "请选择歌曲";
//call_song2.repaint();
// System.out.println(temp09);
if(g_song_is_download == 0)
{
String song = getfile("song.txt");
if(song != null)
{
System.out.println("read local song text");
displaysong(song);
return;
}
System.out.println("download song");
g_song_is_download = 1;
// Enetcallthread2 enetcallthread2 = new Enetcallthread2("138");
// enetcallthread2.type = 12;
// enetcallthread2.start();
// try
// {
// enetcallthread2.join();
// }catch(Exception tx){}
// System.out.println(enetcallthread2.retstr);
Enetcallthread2 enetcallthread3 = new Enetcallthread2("138");
enetcallthread3.type = 12;
enetcallthread3.start();
// try
// {
// enetcallthread3.join();
// }catch(Exception tx){}
}
} else if (command == okCommand20) {//GEN-LINE:MVDCACase266
// Insert pre-action code here
for(int wi = 0 ; wi < telphone_num ; wi ++)g_select[wi]=0;
getDisplay().setCurrent(get_phonebook4());//GEN-LINE:MVDCAAction270
// Insert post-action code here
//phonebook4.setTitle("请选择接受点歌用户");
String temp_call_1 = call_song1.getTitle();
if(temp_call_1.startsWith("点歌给:"))
phonebook4.setTitle("请选择用户"+temp_call_1.substring(4,temp_call_1.length()));
else
phonebook4.setTitle("请选择接受点歌用户");
} else if (command == backCommand29) {//GEN-LINE:MVDCACase270
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction278
// Insert post-action code here
}//GEN-BEGIN:MVDCACase278
} else if (displayable == call_song5) {
if (command == okCommand22) {//GEN-END:MVDCACase278
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction276
// Insert post-action code here
}//GEN-BEGIN:MVDCACase276
} else if (displayable == call_song2) {
if (command == okCommand23) {//GEN-END:MVDCACase276
// Insert pre-action code here
if(g_xiazai == 0)
return;
getDisplay().setCurrent(get_call_song1());//GEN-LINE:MVDCAAction283
// Insert post-action code here
g_now_song_num = call_song2.getSelectedIndex();
call_song1.setString(g_song_num[g_song_sort[g_now_song_num]] );
} else if (command == itemCommand66) {//GEN-LINE:MVDCACase283
// Insert pre-action code here
getDisplay().setCurrent(get_call_song2());//GEN-LINE:MVDCAAction308
// Insert post-action code here
g_xiazai = 0;
g_song_list_num = 0;
call_song2.inited = 0;
call_song2.repaint();
Enetcallthread2 enetcallthread3 = new Enetcallthread2("138");
enetcallthread3.type = 12;
enetcallthread3.start();
}//GEN-BEGIN:MVDCACase308
} else if (displayable == news1) {
if (command == okCommand24) {//GEN-END:MVDCACase308
// Insert pre-action code here
getDisplay().setCurrent(get_news2());//GEN-LINE:MVDCAAction289
// Insert post-action code here
int idx = news1.getSelectedIndex();
news2.setTitle("新闻");
news2.deleteAll();
news2.append(g_news.substring(g_news_idx[idx*3]+2,g_news_idx[idx*3+1]));
} else if (command == backCommand31) {//GEN-LINE:MVDCACase289
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -