Пример #1
0
 /// <summary>
 /// 建立新 vwR23PowerAlarm 物件。
 /// </summary>
 /// <param name="timestamp">Timestamp 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="item">Item 屬性的初始值。</param>
 /// <param name="explain">Explain 屬性的初始值。</param>
 /// <param name="planeID">PlaneID 屬性的初始值。</param>
 public static vwR23PowerAlarm CreatevwR23PowerAlarm(global::System.DateTime timestamp, global::System.String eRName, global::System.String item, global::System.String explain, global::System.String planeID)
 {
     vwR23PowerAlarm vwR23PowerAlarm = new vwR23PowerAlarm();
     vwR23PowerAlarm.Timestamp = timestamp;
     vwR23PowerAlarm.ERName = eRName;
     vwR23PowerAlarm.Item = item;
     vwR23PowerAlarm.Explain = explain;
     vwR23PowerAlarm.PlaneID = planeID;
     return vwR23PowerAlarm;
 }
Пример #2
0
 /// <summary>
 /// 將新物件加入 vwR23PowerAlarm EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwR23PowerAlarm(vwR23PowerAlarm vwR23PowerAlarm)
 {
     base.AddObject("vwR23PowerAlarm", vwR23PowerAlarm);
 }