Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the spt_monitor EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTospt_monitor(spt_monitor spt_monitor)
 {
     base.AddObject("spt_monitor", spt_monitor);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new spt_monitor object.
 /// </summary>
 /// <param name="lastrun">Initial value of the lastrun property.</param>
 /// <param name="cpu_busy">Initial value of the cpu_busy property.</param>
 /// <param name="io_busy">Initial value of the io_busy property.</param>
 /// <param name="idle">Initial value of the idle property.</param>
 /// <param name="pack_received">Initial value of the pack_received property.</param>
 /// <param name="pack_sent">Initial value of the pack_sent property.</param>
 /// <param name="connections">Initial value of the connections property.</param>
 /// <param name="pack_errors">Initial value of the pack_errors property.</param>
 /// <param name="total_read">Initial value of the total_read property.</param>
 /// <param name="total_write">Initial value of the total_write property.</param>
 /// <param name="total_errors">Initial value of the total_errors property.</param>
 public static spt_monitor Createspt_monitor(global::System.DateTime lastrun, global::System.Int32 cpu_busy, global::System.Int32 io_busy, global::System.Int32 idle, global::System.Int32 pack_received, global::System.Int32 pack_sent, global::System.Int32 connections, global::System.Int32 pack_errors, global::System.Int32 total_read, global::System.Int32 total_write, global::System.Int32 total_errors)
 {
     spt_monitor spt_monitor = new spt_monitor();
     spt_monitor.lastrun = lastrun;
     spt_monitor.cpu_busy = cpu_busy;
     spt_monitor.io_busy = io_busy;
     spt_monitor.idle = idle;
     spt_monitor.pack_received = pack_received;
     spt_monitor.pack_sent = pack_sent;
     spt_monitor.connections = connections;
     spt_monitor.pack_errors = pack_errors;
     spt_monitor.total_read = total_read;
     spt_monitor.total_write = total_write;
     spt_monitor.total_errors = total_errors;
     return spt_monitor;
 }