日期:2014-05-17 浏览次数:20826 次
if (!string.IsNullOrEmpty(msgAlarm.MateMetaData.Xmlmessage))
{
xml.LoadXml(msgAlarm.MateMetaData.Xmlmessage);
if (msgAlarm.MateMetaData.Messagetype.IndexOf("CountingEventMsg") != -1)
{
xml.SelectNodes()
if (msgAlarm.MateMetaData.Messagetype.IndexOf("CounterIn") != -1)
{
xmlNodeList = xml.GetElementsByTagName("Delta");
if (xmlNodeList != null && xmlNodeList.Count > 0)
{
cnt1 = xmlNodeList[0].InnerText.Trim();
}
}
if (msgAlarm.MateMetaData.Messagetype.IndexOf("CounterOut") != -1)
{
xmlNodeList = xml.GetElementsByTagName("Delta");
if (xmlNodeList != null && xmlNodeList.Count > 0)
{
&