/// <summary>
 /// 建立新 vwPowerMeter 物件。
 /// </summary>
 /// <param name="eRID">ERID 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="rTU_IP">RTU_IP 屬性的初始值。</param>
 /// <param name="port">Port 屬性的初始值。</param>
 /// <param name="powerAlarm_LastYearDetail">PowerAlarm_LastYearDetail 屬性的初始值。</param>
 /// <param name="powerAlarm_YesterdayDetail">PowerAlarm_YesterdayDetail 屬性的初始值。</param>
 /// <param name="powerAlarm_LastHourDetail">PowerAlarm_LastHourDetail 屬性的初始值。</param>
 /// <param name="waterAlarm_LastYearDetail">WaterAlarm_LastYearDetail 屬性的初始值。</param>
 /// <param name="powerAlarmDetail">PowerAlarmDetail 屬性的初始值。</param>
 public static vwPowerMeter CreatevwPowerMeter(global::System.Int32 eRID, global::System.String eRName, global::System.String rTU_IP, global::System.Int32 port, global::System.String powerAlarm_LastYearDetail, global::System.String powerAlarm_YesterdayDetail, global::System.String powerAlarm_LastHourDetail, global::System.String waterAlarm_LastYearDetail, global::System.String powerAlarmDetail)
 {
     vwPowerMeter vwPowerMeter = new vwPowerMeter();
     vwPowerMeter.ERID = eRID;
     vwPowerMeter.ERName = eRName;
     vwPowerMeter.RTU_IP = rTU_IP;
     vwPowerMeter.Port = port;
     vwPowerMeter.PowerAlarm_LastYearDetail = powerAlarm_LastYearDetail;
     vwPowerMeter.PowerAlarm_YesterdayDetail = powerAlarm_YesterdayDetail;
     vwPowerMeter.PowerAlarm_LastHourDetail = powerAlarm_LastHourDetail;
     vwPowerMeter.WaterAlarm_LastYearDetail = waterAlarm_LastYearDetail;
     vwPowerMeter.PowerAlarmDetail = powerAlarmDetail;
     return vwPowerMeter;
 }
 /// <summary>
 /// 將新物件加入 vwPowerMeter EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwPowerMeter(vwPowerMeter vwPowerMeter)
 {
     base.AddObject("vwPowerMeter", vwPowerMeter);
 }