| | |
| | | /// <param name="orderName"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="NotImplementedException"></exception> |
| | | public virtual DataType ReadByOrder<DataType>(string orderName) |
| | | public virtual DataType ReadByOrder<DataType>(string orderName, string Method = null) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public object ReadValues(string equipNum) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | /// <summary> |
| | | /// åå
¥æ°æ®ï¼æ ¹æ®DBå°å |
| | | /// </summary> |
| | |
| | | /// <param name="value"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="NotImplementedException"></exception> |
| | | public virtual bool WriteByOrder(string orderName , object value) |
| | | public virtual bool WriteByOrder(string orderName, object value, string Method = null) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | |
| | | { |
| | | if (!operateResult.IsSuccess) |
| | | { |
| | | IsConnected = false; |
| | | throw new Exception($"ãErrorãæ°æ®è¯»å失败,æä»¤{item.name}ï¼DBå°å{item.dbAddress}\né误信æ¯:{operateResult.Message}"); |
| | | } |
| | | return operateResult.Content; |
| | |
| | | { |
| | | if (!operateResult.IsSuccess) |
| | | { |
| | | IsConnected = false; |
| | | throw new Exception($"ãErrorãæ°æ®è¯»å失败,DBå°å{dbAddress}\né误信æ¯:{operateResult.Message}"); |
| | | } |
| | | return operateResult.Content; |