예제 #1
0
 /// <summary>
 /// Create a new alarm_info object.
 /// </summary>
 /// <param name="alarm_id">Initial value of the alarm_id property.</param>
 /// <param name="binary_file_id">Initial value of the binary_file_id property.</param>
 /// <param name="alarm_startime">Initial value of the alarm_startime property.</param>
 /// <param name="alarm_level">Initial value of the alarm_level property.</param>
 /// <param name="alarm_parcode">Initial value of the alarm_parcode property.</param>
 /// <param name="alarm_name">Initial value of the alarm_name property.</param>
 /// <param name="alarm_message">Initial value of the alarm_message property.</param>
 /// <param name="alarm_duration">Initial value of the alarm_duration property.</param>
 public static alarm_info Createalarm_info(global::System.String alarm_id, global::System.String binary_file_id, global::System.String alarm_startime, global::System.String alarm_level, global::System.String alarm_parcode, global::System.String alarm_name, global::System.String alarm_message, global::System.String alarm_duration)
 {
     alarm_info alarm_info = new alarm_info();
     alarm_info.alarm_id = alarm_id;
     alarm_info.binary_file_id = binary_file_id;
     alarm_info.alarm_startime = alarm_startime;
     alarm_info.alarm_level = alarm_level;
     alarm_info.alarm_parcode = alarm_parcode;
     alarm_info.alarm_name = alarm_name;
     alarm_info.alarm_message = alarm_message;
     alarm_info.alarm_duration = alarm_duration;
     return alarm_info;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the alarm_info EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToalarm_info(alarm_info alarm_info)
 {
     base.AddObject("alarm_info", alarm_info);
 }