Esempio n. 1
0
        string GetRelayStateType(RelayOperationType _state)
        {
            string ret = "吸合";

            switch (_state)
            {
            case RelayOperationType.吸合:
                ret = "吸合";
                break;

            case RelayOperationType.断开:
                ret = "断开";
                break;
            }
            return(ret);
        }
Esempio n. 2
0
 public string GetOperationData(RelayOperationType p_type)
 {
     return(_operationDatas[(int)p_type]);
 }
Esempio n. 3
0
 public void SetOperationData(RelayOperationType p_type, string data)
 {
     _operationDatas[(int)p_type] = data;
 }