string GetRelayStateType(RelayOperationType _state) { string ret = "吸合"; switch (_state) { case RelayOperationType.吸合: ret = "吸合"; break; case RelayOperationType.断开: ret = "断开"; break; } return(ret); }
public string GetOperationData(RelayOperationType p_type) { return(_operationDatas[(int)p_type]); }
public void SetOperationData(RelayOperationType p_type, string data) { _operationDatas[(int)p_type] = data; }