Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            IXPFile file = new IXPFile();
            file.NetworkFunction = "com.projectgame.clock.alarm.registeralarm";
            file.PutInfo("name", "This is my test alarm");
            file.PutInfo("hours", "17");
            file.PutInfo("minutes", "45");
            file.PutInfo("seconds", "00");
            file.PutInfo("mon", "TRUE");
            file.PutInfo("tue", "FALSE");
            file.PutInfo("wed", "FALSE");
            file.PutInfo("thu", "FALSE");
            file.PutInfo("fri", "TRUE");
            file.PutInfo("sat", "FALSE");
            file.PutInfo("sun", "TRUE");
            file.PutInfo("enabled", "TRUE");

            IXPRequest request = new IXPRequest(_client, file, AddAlarm_Response);
        }
Exemplo n.º 2
0
 private void btnGetTimt_Click(object sender, EventArgs e)
 {
     IXPFile file = new IXPFile();
     file.NetworkFunction = "com.projectgame.clock.clock.gettime";
     IXPRequest request = new IXPRequest(_client, file, GetTime_Response);
 }