중국인턴(Intern In China)/업무(Tasks)

Change Color of Z Sticks(Theater Mode)

Jae Ryun, Buster, Chung 2017. 1. 11. 19:50


selectedSticks contains sticks to change one color

AllChangedSticks is sum of selectedSticks selected between clicking Send Color button

This method is to add or remove a stick to selected list


When user click color button that he/she wants to change, All sticks change color member to new one



Then, they will be added in to AllChangeLists. When there is already added, the latest stick will replace old one



When user click send button, Json data will be written.


Then Send Json data through Http put method to server