Beispiel #1
0
 public AuthorityPop_SyncSpeed(NetaDAL.la_pop_speed_ranked rankedTable)
 {
     ID          = rankedTable.id;
     Authority   = rankedTable.authority;
     PopSize     = rankedTable.pop_size;
     AverageSync = rankedTable.average_sync_speed;
 }
Beispiel #2
0
    public static AuthorityPop_SyncSpeed CreateUptakeFromTable(la_pop_speed_ranked table)
    {
        AuthorityPop_SyncSpeed ret = new AuthorityPop_SyncSpeed();
        ret.ID = table.id;
        ret.Authority = table.authority;
        ret.PopSize = table.pop_size;
        ret.AverageSync = table.average_sync_speed;

        return ret;
    }