Whenever a member of the national guard is on state-ordered duty or while on other state duty reasonably requested by competent military authority or while traveling directly to or from said duty, he is a workman under the Workmen’s Compensation Act and the department of military affairs is his employer. The average weekly wage of a member of the national guard shall be computed as seven times the daily pay and allowances and the value of rations and quarters supplied him while on state duty.