自动化应用软件实训课程设计
\\\\本站点\\泵3=0; \\\\本站点\\泵4=0; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=0; \\\\本站点\\扬程4=0; \\\\本站点\\水压1=40; \\\\本站点\\水压2=40; \\\\本站点\\水压3=0; \\\\本站点\\水压4=0; }
if(A==1 &&B==0 &&C==1 &&D==0) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=0; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=1; \\\\本站点\\扬程4=0; \\\\本站点\\水压1=40; \\\\本站点\\水压2=0; \\\\本站点\\水压3=40; \\\\本站点\\水压4=0; }
if(A==1 &&B==0 &&C==0 &&D==1) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1;
15
自动化应用软件实训课程设计
\\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=1; \\\\本站点\\扬程4=1; \\\\本站点\\水压1=40; \\\\本站点\\水压2=0; \\\\本站点\\水压3=0; \\\\本站点\\水压4=40; }
if(A==0 &&B==1 &&C==1 &&D==0) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=0; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=2; \\\\本站点\\扬程4=0; \\\\本站点\\水压1=0; \\\\本站点\\水压2=40; \\\\本站点\\水压3=40; \\\\本站点\\水压4=0; }
if(A==0 &&B==1 &&C==0 &&D==1) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1;
16
自动化应用软件实训课程设计
\\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=2; \\\\本站点\\扬程4=1; \\\\本站点\\水压1=0; \\\\本站点\\水压2=40; \\\\本站点\\水压3=0; \\\\本站点\\水压4=40; }
if(A==0 &&B==0 &&C==1 &&D==1) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=2; \\\\本站点\\扬程2=2; \\\\本站点\\扬程3=2; \\\\本站点\\扬程4=2; \\\\本站点\\水压1=0; \\\\本站点\\水压2=0; \\\\本站点\\水压3=40; \\\\本站点\\水压4=40; } } if(E==3) {
if(A==1 &&B==1 &&C==1 &&D==0)
17
自动化应用软件实训课程设计
{
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=0; \\\\本站点\\扬程1=3; \\\\本站点\\扬程2=3; \\\\本站点\\扬程3=3; \\\\本站点\\扬程4=0; \\\\本站点\\水压1=40; \\\\本站点\\水压2=40; \\\\本站点\\水压3=40; \\\\本站点\\水压4=0; }
if(A==1 &&B==1 &&C==0 &&D==1) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=3; \\\\本站点\\扬程2=3; \\\\本站点\\扬程3=3; \\\\本站点\\扬程4=1; \\\\本站点\\水压1=40; \\\\本站点\\水压2=40; \\\\本站点\\水压3=00; \\\\本站点\\水压4=40; }
if(A==1 &&B==0 &&C==1 &&D==1)
18
自动化应用软件实训课程设计
{
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=3; \\\\本站点\\扬程2=3; \\\\本站点\\扬程3=3; \\\\本站点\\扬程4=2; \\\\本站点\\水压1=40; \\\\本站点\\水压2=0; \\\\本站点\\水压3=40; \\\\本站点\\水压4=40; }
if(A==0 &&B==1 &&C==1 &&D==1) {
\\\\本站点\\泵1=1; \\\\本站点\\泵2=1; \\\\本站点\\泵3=1; \\\\本站点\\泵4=1; \\\\本站点\\扬程1=3; \\\\本站点\\扬程2=3; \\\\本站点\\扬程3=3; \\\\本站点\\扬程4=3; \\\\本站点\\水压1=0; \\\\本站点\\水压2=40; \\\\本站点\\水压3=40; \\\\本站点\\水压4=40; } }
19