自动化立体仓库 - WCS系统
zc
5 天以前 a3cd273234d56c5a36bd0a793a67e533a2141d6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.zy.core.enums;
 
public enum SlaveType {
 
    Shuttle,
    Devp,
    Lift,
    ForkLift,
    ForkLiftMaster,
    Led
    ;
 
    public static SlaveType findInstance(String s){
        for (SlaveType type : SlaveType.values()) {
            if (type.toString().equals(s)) {
                return type;
            }
        }
        return null;
    }
}