Téléverser les fichiers vers "/"

This commit is contained in:
2024-09-16 20:36:19 +02:00
commit f7b5f773b1
5 changed files with 216 additions and 0 deletions

41
exemple_2.c Normal file
View File

@@ -0,0 +1,41 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
char* lotid = "XL012770XA";
char* operid = "PPHHXGNA";
char* toolid = "DD99";
switch(lotid[5]){
case '4':
if(operid[1] == 'P' && operid[2] == 'H') printf("Start Lithography process for monitor lot\n");
else printf("Not a right operation ...\n");
break;
case '7':
if(toolid[0] != 'W'){
if(operid[1] == 'C'){
if(lotid[0] == 'X' && lotid[1] =='A') printf("Start Polishing process for priority lot\n");
else switch(lotid[9])
{
case 'A':
printf("Wrong lot, must not use Copper layers\n");
break;
case 'B':
printf("Warning, will not start Aluminum lot on Polishing process\n");
break;
default:
printf("Unknown lot !\n");
}
}
else printf("Wrong operation type !\n");
}
else{
if(lotid[9] == 'A') printf("Start Etch process ofor priority lot\n");
else printf("Can't start process, must be a Copper lot\n");
}
break;
default:
printf("Unknown lot type !\n");
break;
}
return 0;
}