/********************************************************************************************** * discription: 构造函数 * * ***********************************************************************************************/ private ProductParameter() { apdParm = new ApdParam(); xmlDb = AwDbFactory.CreateDBEngine(); ProductParameter prdParameter = this; prdBatInfo = new ProductBatInfo(); xmlDb.GetProductParameters(ref prdParameter); xmlDb.GetProductBatInfo(ref prdBatInfo); xmlDb.GetAPDParameters(ref apdParm); }
public void UpdateApdParam(ApdParam _apdParam) { this.apdParm = _apdParam; xmlDb.UpdateAPDParameters(apdParm); }