Example #1
0
        public void ExportXmlNames(PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept /*, xmlElement*/)
        {
            var attributes = new Dictionary <string, string>();

            attributes["tag_name"] = tagItem.Name;
            attributes["category"] = tagConcept.Name;

            //xml_element.item(attributes) do |xml_item|
            //  xml_item.title tag_name.title
            //  xml_item.description tag_name.description
            //  xml_item.group(tag_name.get_groups)
            //  export_xml_concept(xml_item)
            //  export_xml_result(xml_item)
            //end
        }
Example #2
0
 public PayrollResult(uint code, uint conceptCode, PayrollConcept conceptItem)
 {
     this.TagCode     = code;
     this.ConceptCode = conceptCode;
     this.Concept     = conceptItem;
 }
Example #3
0
 public IDictionary <string, string> ExportTitleValue(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept)
 {
     return(new Dictionary <string, string>()
     {
         { "title", tagName.Title }, { "value", ExportValueResult() }
     });
 }
Example #4
0
 public void ExportXml(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept /*, xmlElement*/)
 {
     ExportXmlTagRefer(tagRefer /*, xmlElement*/);
     ExportXmlNames(tagName, tagItem, tagConcept /*, xmlElement*/);
 }