public Config(string path) { this.path = path; this.param = new Dictionary <string, List <double> >(); ini = new HmzIniFile(this.path); ini.Create(); }
static IDevice() { if (filename == null) { filename = @".\profile.ini"; } fileHandle = new HmzIniFile(filename); fileHandle.Create(); }
public Config(string path) { this.FixturePortName = ""; this.LCP3005PortName = ""; this.RedWeight = 0.72f; this.GreenWeight = 0.18f; this.BlueWeight = 0.1f; this.IsOnlineShopfloor = true; this.IsScanSerialNumber = false; this.IsSimulation = false; this.Station = "FATP"; this.ProductType = "Hodor"; this.TestMode = "Automatic"; this.ScriptName = @".\x2configfile.xml"; this.path = path; ini = new HmzIniFile(this.path); ini.Create(); ReadCurrentProDuctRecord(); this.ReadProfile(); }