} | } | ||||
public String telegram(boolean startStop, ArrayList<String> list){ | public String telegram(boolean startStop, ArrayList<String> list){ | ||||
String tel = ""; | |||||
String tel = "aa"; | |||||
tel += "1"; //Autonomous mode | tel += "1"; //Autonomous mode | ||||
if(startStop){ | if(startStop){ | ||||
tel += ";1"; | tel += ";1"; | ||||
tel += ";1"; | tel += ";1"; | ||||
} | } | ||||
} | } | ||||
tel += "zz"; | |||||
return tel; | return tel; | ||||
} | } | ||||