Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
7.8 kB
2
Indexable
Never
int get_punch_id(const int id_) {

	switch (id_) {

	case 138: return 1;
	case 366:
	case 1464:
		return 2;
	case 472: return 3;
	case 594:
	case 10130:
	case 5424:
	case 5456:
	case 4136:
	case 10052:
		return 4;
	case 768: return 5;
	case 900:
	case 7760:
	case 9272:
	case 5002:
	case 7758:
		return 6;
	case 910:
	case 4332:
		return 7;
	case 930:
	case 1010:
	case 6382:
		return 8;
	case 1016:
	case 6058:
		return 9;
	case 1204:
	case 9534:
		return 10;
	case 1378: return 11;
	case 1440: return 12;
	case 1484:
	case 5160:
	case 9802:
		return 13;
	case 1512:
	case 1648:
		return 14;
	case 1542: return 15;
	case 1576: return 16;
	case 1676:
	case 7504:
		return 17;
	case 1748:
	case 8006:
	case 8008:
	case 8010:
	case 8012:
		return 19;
	case 1710:
	case 4644:
	case 1714:
	case 1712:
	case 6044:
	case 1570:
		return 18;
	case 1780: return 20;
	case 1782:
	case 5156:
	case 9776:
	case 9782:
	case 9810:
		return 21;
	case 1804:
	case 5194:
	case 9784:
		return 22;
	case 1868:
	case 1998:
		return 23;
	case 1874: return 24;
	case 1946:
	case 2800:
		return 25;
	case 1952:
	case 2854:
		return 26;
	case 1956: return 27;
	case 1960: return 28;
	case 2908:
	case 6312:
	case 9496:
	case 8554:
	case 3162:
	case 9536:
	case 4956:
	case 3466:
	case 4166:
	case 4506:
	case 2952:
	case 9520:
	case 9522:
	case 8440:
	case 3932:
	case 3934:
	case 8732:
	case 3108:
	case 9766:
	case 12368:
		return 29;
	case 1980: return 30;
	case 2066:
	case 4150:
	case 11082:
	case 11080:
	case 11078:
		return 31;
	case 2212:
	case 5174:
	case 5004:
	case 5006:
	case 5008:
		return 32;
	case 2218: return 33;
	case 2220: return 34;
	case 2266: return 35;
	case 2386: return 36;
	case 2388: return 37;
	case 2450:
		return 38;
	case 2476:
	case 4208:
	case 12308:
	case 10336:
	case 9804:
		return 39;
	case 4748: 
	case 4294:
		return 40;
	case 2512:
	case 9732:
	case 6338:
		return 41;
	case 2572: return 42;
	case 2592:
	case 9396:
	case 2596:
	case 9548:
	case 9812:
		return 43;
	case 2720: return 44;
	case 2752: return 45;
	case 2754: return 46;
	case 2756: return 47;
	case 2802: return 49;
	case 2866: return 50;
	case 2876: return 51;
	case 2878:
	case 2880:
		return 52;
	case 2906:
	case 4170:
	case 4278:
		return 53;
	case 2886: return 54;
	case 2890: return 55;
	case 2910: return 56;
	case 3066: return 57;
	case 3124: return 58;
	case 3168: return 59;
	case 3214:
	case 9194:
		return 60;
	case 7408:
	case 3238:
		return 61;
	case 3274: return 62;
	case 3300: return 64;
	case 3418: return 65;
	case 3476: return 66;
	case 3596: return 67;
	case 3686: return 68;
	case 3716: return 69;
	case 4290: return 71;
	case 4474: return 72;
	case 4464:
	case 9500:
		return 73;
	case 4746: return 75;
	case 4778:
	case 6026: case 7784:
		return 76;
	case 4996:
	case 3680:
	case 5176:
		return 77;
	case 4840: return 78;
	case 5206: return 79;
	case 5480:
	case 9770:
	case 9772:
		return 80;
	case 6110: return 81;
	case 6308: return 82;
	case 6310: return 83;
	case 6298: return 84;
	case 6756: return 85;
	case 7044: return 86;
	case 6892: return 87;
	case 6966: return 88;
	case 7088:
	case 11020:
		return 89;
	case 7098:
	case 9032:
		return 90;
	case 7192: return 91;
	case 7136:
	case 9738:
		return 92;
	case 3166: return 93;
	case 7216: return 94;
	case 7196:
	case 9340:
		return 95;
	case 7392:
	case 9604:
		return 96;
	case 7384: return 98;
	case 7414: return 99;
	case 7402: return 100;
	case 7424: return 101;
	case 7470: return 102;
	case 7488: return 103;
	case 7586:
	case 7646:
	case 9778:
		return 104;
	case 7650: return 105;
	case 6804:
	case 6358:
		return 106;
	case 7568:
	case 7570:
	case 7572:
	case 7574:
		return 107;
	case 7668: return 108;
	case 7660:
	case 9060:
		return 109;
	case 7584:
		return 110;
	case 7736:
	case 9116:
	case 9118:
	case 7826:
	case 7828:
	case 11440:
	case 11442:
	case 11312:
	case 7830:
	case 7832:
	case 10670:
	case 9120:
	case 9122:
	case 10680:
	case 10626:
	case 10578:
	case 10334:
	case 11380:
	case 11326:
	case 7912:
	case 11298:
	case 10498:
	case 12342:
		return 111;
	case 7836:
	case 7838:
	case 7840:
	case 7842:
		return 112;
	case 7950: return 113;
	case 8002: return 114;
	case 8022: return 116;
	case 8036: return 118;
	case 9348:
	case 8372:
		return 119;
	case 8038: return 120;
	case 8816:
	case 8818:
	case 8820:
	case 8822:
		return 128;
	case 8910: return 129;
	case 8942: return 130;
	case 8944:
	case 5276:
		return 131;
	case 8432:
	case 8434:
	case 8436:
	case 8950:
		return 132;
	case 8946: case 9576: return 133;
	case 8960: return 134;
	case 9006: return 135;
	case 9058: return 136;
	case 9082:
	case 9304:
		return 137;
	case 9066:
		return 138;
	case 9136: return 139;
	case 9138:
		return 140;
	case 9172: return 141;
	case 9254: return 143;
	case 9256: return 144;
	case 9236: return 145;
	case 9342: return 146;
	case 9542: return 147;
	case 9378: return 148;
	case 9376: return 149;
	case 9410: return 150;
	case 9462: return 151;
	case 9606:
		return 152;
	case 9716:
	case 5192:
		return 153;
	case 10048: return 167;
	case 10064: return 168;
	case 10046: return 169;
	case 10050: return 170;
	case 10128: return 171;
	case 10210:
	case 9544:
		return 172;
	case 10330: return 178;
	case 10398: return 179;
	case 10388:
	case 9524:
	case 9598:
		return 180;
	case 10442: return 184;
	case 10506: return 185;
	case 10652: return 188;
	case 10676: return 191;
	case 10694: return 193;
	case 10714: return 194;
	case 10724: return 195;
	case 10722: return 196;
	case 10754: return 197;
	case 10800: return 198;
	case 10888: return 199;
	case 10886:
	case 11308:
		return 200;
	case 10890: return 202;
	case 10922: case 9550: return 203;
	case 10990: return 205;
	case 10998: return 206;
	case 10952: return 207;
	case 11000: return 208;
	case 11006: return 209;
	case 11046: return 210;
	case 11052: return 211;
	case 10960: return 212;
	case 10956:
	case 9774:
		return 213;
	case 10958: return 214;
	case 10954: return 215;
	case 11076: return 216;
	case 11084: return 217;
	case 11118:
	case 9546:
	case 9574:
		return 218;
	case 11120: return 219;
	case 11116: return 220;
	case 11158: return 221;
	case 11162: return 222;
	case 11142: return 223;
	case 11232: return 224;
	case 11140: return 225;
	case 11248:
	case 9596:
	case 9636:
		return 226;
	case 11240: return 227;
	case 11250: return 228;
	case 11284: return 229;
	case 11292: return 231;
	case 11314: return 233;
	case 11316: return 234;
	case 11324: return 235;
	case 11354: return 236;
	case 11760:
	case 11464:
	case 11438:
	case 12230:
	case 11716:
	case 11718:
	case 11674:
	case 11630:
	case 11786:
	case 11872:
	case 11762:
	case 11994:
	case 12172:
	case 12184:
	case 11460:
	case 12014:
	case 12016:
	case 12018:
	case 12020:
	case 12022:
	case 12024:
	case 12246:
	case 12248:
	case 12176:
	case 12242:
	case 11622:
	case 12350:
	case 12300:
	case 12374:
	case 12356:
		return 237;
	case 11814:
	case 12232:
	case 12302:
		return 241;
	case 11548:
	case 11552:
		return 242;
	case 11704:
	case 11706:
		return 243;
	case 12180:
	case 12346:
	case 12344:
		return 244;
	case 11506:
	case 11508:
	case 11562:
	case 11768:
	case 11882:
	case 11720:
	case 11884:
		return 245;
	case 12432:
	case 12434:
		return 246;
	case 11818:
	case 11876:
	case 12000:
	case 12240:
	case 12642:
	case 12644:
		return 248;

	}
	return 0;
}