Esempio n. 1
0
    public Shift getShiftSetting()
    {
        RikoshetWebService.RikoshetWebService t = new RikoshetWebService.RikoshetWebService();
        Shift temps = JsonConvert.DeserializeObject <Shift>(t.getShiftsettings());

        return(temps);
    }
Esempio n. 2
0
    public string getShiftSetting()
    {
        RikoshetWebService.RikoshetWebService t = new RikoshetWebService.RikoshetWebService();
        Shift      temps   = JsonConvert.DeserializeObject <Shift>(t.getShiftsettings());
        string     setting = "";
        List <int> shifts  = temps.Shifts;

        foreach (int item in shifts)
        {
            if (setting == "")
            {
                setting = Convert.ToString(item);
            }
            else
            {
                setting += "," + Convert.ToString(item);
            }
        }
        return(setting);
    }
Esempio n. 3
0
 public string getShiftSettings()
 {
     RikoshetWebService.RikoshetWebService t = new RikoshetWebService.RikoshetWebService();
     return(t.getShiftsettings());
 }