| | |
| | | /// <summary> |
| | | /// æµç¹åå
¸(è¿ä¸ªæ¯ä¸ªæ³µç«é½ä¸ä¸æ ·) |
| | | /// </summary> |
| | | |
| | | |
| | | private Tuple<string, long> monitoråºæ°´æ»ç®¡ä¸è°åæ± = new Tuple<string, long>("_0402010301080103002", 1049); |
| | | private Tuple<string, long> monitoråºæ°´æ»ç®¡è¥¿è°åæ± = new Tuple<string, long>("_0402010301080103001", 1050); |
| | | private Tuple<string, long> monitoråºæ°´æ»ç®¡ç¬æ¶æµé = new Tuple<string, long>("_0402010301090103004", 1051); |
| | |
| | | private Tuple<string, long> monitorè¿æ°´åæ¶²ä½4 = new Tuple<string, long>("_0402010301034403001", 1047); |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="tagname"></param> |
| | | /// <returns></returns> |
| | | public override bool Isæ¶²ä½Monitor(string tagname) |
| | | { |
| | | if (monitorè¿æ°´åæ¶²ä½1.Item1 == tagname) |
| | |
| | | return true; |
| | | if (monitorè¿æ°´åæ¶²ä½4.Item1 == tagname) |
| | | return true; |
| | | if (monitoråºæ°´æ»ç®¡ä¸è°åæ± .Item1 == tagname) |
| | | return true; |
| | | if (monitoråºæ°´æ»ç®¡è¥¿è°åæ± .Item1 == tagname) |
| | | return true; |
| | | |
| | | return false; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="tagname"></param> |
| | | /// <returns></returns> |
| | | public override string GetMonitorNameByTag(string tagname) |
| | | { |
| | | if (monitoråºæ°´æ»ç®¡ç¬æ¶æµé.Item1 == tagname) |
| | | return "åºæ°´æ»ç®¡ç¬æ¶æµé"; |
| | | if (monitorè¿æ°´åæ¶²ä½1.Item1 == tagname) |
| | | return "è¿æ°´åæ¶²ä½1"; |
| | | if (monitorè¿æ°´åæ¶²ä½2.Item1 == tagname) |
| | | return "è¿æ°´åæ¶²ä½2"; |
| | | if (monitorè¿æ°´åæ¶²ä½3.Item1 == tagname) |
| | | return "è¿æ°´åæ¶²ä½3"; |
| | | if (monitorè¿æ°´åæ¶²ä½4.Item1 == tagname) |
| | | return "è¿æ°´åæ¶²ä½4"; |
| | | if (monitoråºæ°´æ»ç®¡ä¸è°åæ± .Item1 == tagname) |
| | | return "åºæ°´æ»ç®¡ä¸è°åæ± "; |
| | | if (monitoråºæ°´æ»ç®¡è¥¿è°åæ± .Item1 == tagname) |
| | | return "åºæ°´æ»ç®¡è¥¿è°åæ± "; |
| | | return "æªç¥æµç¹"; |
| | | } |
| | | /// <summary> |
| | |
| | | complex_dispatch_request.StationID = this._stationID; |
| | | complex_dispatch_request.SchemeNumber = 1; |
| | | complex_dispatch_request.PressValueType = DispatchAna.Model.RequestParasComplex.ePressValueType.åå; |
| | | complex_dispatch_request.WaterLevelPara = new List<DispatchAna.Model.WaterLevelPara>() |
| | | complex_dispatch_request.InletPipePara = new List<DispatchAna.Model.InletPipePara>() |
| | | { |
| | | //new DispatchAna.Model.WaterLevelPara(){ Name="æ°´æ± ", Value = water_level.RecordValue} |
| | | }; |