Beispiel #1
0
        public string GetBindingVarInfo()
        {
            if (AlarmCategory.ToUpper().Contains("TRAP"))
            {
                string stSQL;
                stSQL = string.Format("select BindingVarInfo('{0}', {1}, {2}, {3}) from dual",
                                      AlarmInfo, (int)EquipId, (int)AlarmIANA, AlarmNumObj);

                CResultAErreur result = CExecuteurRequeteSpv.ExecuteScalar(0, stSQL);
                return(result.Data.ToString());
            }

            return("");
        }
Beispiel #2
0
        public string GetBindingVarInfo()
        {
            if (EvenementDebut.AlarmCategory.ToUpper().Contains("TRAP"))
            {
                string stSQL;
                stSQL = string.Format("select BindingVarInfo('{0}', {1}, {2}, {3}) from dual",
                                      EvenementDebut.AlarmInfo, (int)EquipId, (int)NumeroIANA, EvenementDebut.AlarmNumObj);

                CResultAErreur result = CExecuteurRequeteSpv.ExecuteScalar(0, stSQL);
                if (result.Data != null)
                {
                    return(result.Data.ToString());
                }
                else
                {
                    return("");
                }
            }

            return("");
        }