コード例 #1
0
 //Constructor to Add New EDC Xml Information
 public frmEditEDCXml(SetEDCXmlInfo set_xml, SetSerial set_serial, GateWayManager gwm, int index)
 {
     InitializeComponent();
     this.isEdit            = false;
     this.gateway_mgr       = gwm;;
     this.serial_index      = index;
     this.delgSetEDCXmlInfo = set_xml;
     this.delgSetSerial     = set_serial;
 }
コード例 #2
0
 //Constructor to Edit EDC Xml Information
 public frmEditEDCXml(SetEDCXmlInfo set_xml, GateWayManager gwm, cls_EDC_Info edc_info, string gateway, string device, bool copy_flag)
 {
     InitializeComponent();
     this.isEdit            = true;
     this.isCopy            = copy_flag;
     this.gateway_mgr       = gwm;;
     this.edc_data          = edc_info;
     this.gateway_id        = gateway;
     this.device_id         = device;
     this.delgSetEDCXmlInfo = set_xml;
 }