Exemplo n.º 1
0
    public static string updateNotificationText()
    {
        var    listMinor_id = ApplicationData.IBeaconData.Where(s => s.IsShowOnMap()).ToList();
        string minor        = "";
        string major        = "";
        string uuid         = "";

        foreach (IBeaconData i in listMinor_id)
        {
            minor = minor + "," + i.minor_id;
            major = major + "," + i.major_id;
            uuid  = uuid + "," + i.uuid;
        }
        string notificationText = GetLocaleText(LocaleType.DetectNotification);

        Override.SetText(notificationText);
        Override.LoadMinor_id(minor);
        Override.LoadMajor_id(major);
        Override.LoadUUID(uuid);

        return("");
    }