Exemplo n.º 1
0
        public JsonResult getAllAlarmsTCP(string Equipment)
        {
            var result = EquipmentModels.getAllAlarmsTCP(Equipment);

            var jsonSerialiser = new JavaScriptSerializer();
            var json           = jsonSerialiser.Serialize(result);

            return(Json(json, JsonRequestBehavior.AllowGet));
        }