Пример #1
0
 /// <summary>
 /// 建立新 vwSingalIO 物件。
 /// </summary>
 /// <param name="controlID">ControlID 屬性的初始值。</param>
 /// <param name="singalName">SingalName 屬性的初始值。</param>
 /// <param name="controllerConfig_ControlID">ControllerConfig_ControlID 屬性的初始值。</param>
 /// <param name="controlType">ControlType 屬性的初始值。</param>
 /// <param name="iP">IP 屬性的初始值。</param>
 /// <param name="port">Port 屬性的初始值。</param>
 /// <param name="entranceCode">EntranceCode 屬性的初始值。</param>
 /// <param name="eRID">ERID 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="lineID">LineID 屬性的初始值。</param>
 /// <param name="direction">Direction 屬性的初始值。</param>
 /// <param name="gPSX">GPSX 屬性的初始值。</param>
 /// <param name="gPSY">GPSY 屬性的初始值。</param>
 public static vwSingalIO CreatevwSingalIO(global::System.String controlID, global::System.String singalName, global::System.String controllerConfig_ControlID, global::System.Int16 controlType, global::System.String iP, global::System.Int32 port, global::System.String entranceCode, global::System.Int32 eRID, global::System.String eRName, global::System.String lineID, global::System.String direction, global::System.Double gPSX, global::System.Double gPSY)
 {
     vwSingalIO vwSingalIO = new vwSingalIO();
     vwSingalIO.ControlID = controlID;
     vwSingalIO.SingalName = singalName;
     vwSingalIO.ControllerConfig_ControlID = controllerConfig_ControlID;
     vwSingalIO.ControlType = controlType;
     vwSingalIO.IP = iP;
     vwSingalIO.Port = port;
     vwSingalIO.EntranceCode = entranceCode;
     vwSingalIO.ERID = eRID;
     vwSingalIO.ERName = eRName;
     vwSingalIO.LineID = lineID;
     vwSingalIO.Direction = direction;
     vwSingalIO.GPSX = gPSX;
     vwSingalIO.GPSY = gPSY;
     return vwSingalIO;
 }
Пример #2
0
 /// <summary>
 /// 將新物件加入 vwSingalIO EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwSingalIO(vwSingalIO vwSingalIO)
 {
     base.AddObject("vwSingalIO", vwSingalIO);
 }