예제 #1
0
 /// <summary>
 /// 建立新 vwR23RTUAlarm 物件。
 /// </summary>
 /// <param name="timeStamp">TimeStamp 屬性的初始值。</param>
 /// <param name="planeName">PlaneName 屬性的初始值。</param>
 /// <param name="controlID">ControlID 屬性的初始值。</param>
 /// <param name="planeID">PlaneID 屬性的初始值。</param>
 public static vwR23RTUAlarm CreatevwR23RTUAlarm(global::System.DateTime timeStamp, global::System.String planeName, global::System.String controlID, global::System.Int32 planeID)
 {
     vwR23RTUAlarm vwR23RTUAlarm = new vwR23RTUAlarm();
     vwR23RTUAlarm.TimeStamp = timeStamp;
     vwR23RTUAlarm.PlaneName = planeName;
     vwR23RTUAlarm.ControlID = controlID;
     vwR23RTUAlarm.PlaneID = planeID;
     return vwR23RTUAlarm;
 }
예제 #2
0
 /// <summary>
 /// 將新物件加入 vwR23RTUAlarm EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwR23RTUAlarm(vwR23RTUAlarm vwR23RTUAlarm)
 {
     base.AddObject("vwR23RTUAlarm", vwR23RTUAlarm);
 }