}// Rootobject Constructor Valued public Rootobject() { DeviceIO = new DeviceIO[0]; DevLayout = new Devlayout(); Stuff = new string[0]; this.devAutoId = 0; this.devCode = ""; this.devType = ""; this.devApi = ""; this.devApiKey = ""; this.devLocation = ""; this.devIP = ""; this.devAdmin = ""; this.devPass = ""; this.devLayoutId = 0; this.devLayoutIOId = 0; }//Rootobject Constructor
public Rootobject(DeviceIO[] devIO, Devlayout devLayout, object[] stuff, int devAutoId, string devCode, string devType, string devApi, string devApiKey, string devLocation, string devIP, string devAdmin, string devPass, int devLayoutId, int devLaytIOId) { DeviceIO = devIO; DevLayout = devLayout; Stuff = stuff; this.devAutoId = devAutoId; this.devCode = devCode; this.devType = devType; this.devApi = devApi; this.devApiKey = devApiKey; this.devLocation = devLocation; this.devIP = devIP; this.devAdmin = devAdmin; this.devPass = devPass; this.devLayoutId = devLayoutId; this.devLayoutIOId = devLaytIOId; }// Rootobject Constructor Valued